Skip to main content
POST
/
vendors
/
google
/
v1
/
nano-banana-pro
/
edit
Image to Image Edit
curl --request POST \
  --url https://api.mulerun.com/vendors/google/v1/nano-banana-pro/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"
  ],
  "aspect_ratio": "5:4",
  "resolution": "2K"
}
'
{
  "task_info": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "status": "pending",
    "created_at": "2025-09-21T00:00:00.000Z",
    "updated_at": "2025-09-21T00:00:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://mulerun.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Beta
This model is currently in public testing. Not everyone has access, and API requests may also be unstable.

Overview

Nano Banana Pro can restyle or surgically modify a reference image while maintaining global composition. Provide one or more images plus a short instructionβ€”Pro’s upgraded diffusion backbone keeps lighting, textures, and edge fidelity intact.

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[]
required

List of images to edit. Supports both image URLs and base64-encoded images (minimum 1, maximum 14). Base64 encoded image data is like "data:image/png;base64,iVBORw0KGgoAAAA..."

Required array length: 1 - 10 elements
aspect_ratio
enum<string>
default:1:1

Aspect ratio of the edited image

Available options:
1:1,
2:3,
3:2,
3:4,
4:3,
4:5,
5:4,
9:16,
16:9,
21:9
resolution
enum<string>
default:2K

Output resolution preset (longest side in pixels)

Available options:
1K,
2K

Response

202 - application/json

Task created successfully

task_info
object