Skip to main content
POST
/
vendors
/
google
/
v1
/
nano-banana
/
edit
Image to Image Edit
curl --request POST \
  --url https://api.mulerun.com/vendors/google/v1/nano-banana/edit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "make a photo of the man driving the car down the california coastline",
  "images": [
    "https://example.com/image.png",
    "https://example.com/image2.png"
  ]
}'
{
  "task_info": {
    "task_id": "123e4567-e89b-12d3-a456-426614174000",
    "status": "pending",
    "created_at": "2025-09-21T00:00:00.000Z",
    "updated_at": "2025-09-21T00:00:00.000Z"
  }
}
Edit images based on text prompts using the Gemini Nano-Banana model.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Image to image edit request body

prompt
string
required

Text prompt for image editing

images
string<uri>[]
required

List of image URLs to edit

Response

202 - application/json

Task created successfully

task_info
object