Skip to main content
POST
/
generate
/
k
/
nano-banana-pro
Nano Banana Pro Image Generation
curl --request POST \
  --url https://api.sinancode.com/v1/generate/k/nano-banana-pro \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aspect_ratio": "1:1",
  "image_input": [
    "https://example.com/input1.jpg",
    "https://example.com/input2.jpg"
  ],
  "output_format": "png",
  "prompt": "Comic poster: cool banana hero in shades leaps from sci-fi pad. Six panels: 1) 4K mountain landscape, 2) banana holds page of long multilingual text with auto translation, 3) Gemini 3 hologram for search/knowledge/reasoning, 4) camera UI sliders for angle focus color, 5) frame trio 1:1-9:16, 6) consistent banana poses. Footer shows Google icons. Tagline: Nano Banana Pro now on Kie AI.",
  "resolution": "1K"
}'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Nano Banana Pro is Google’s latest image model, supporting text-to-image and image-to-image generation.

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

Prompt - Text description for image generation (required, max 5000 characters)

Maximum length: 5000
Example:

"Comic poster: cool banana hero in shades leaps from sci-fi pad. Six panels: 1) 4K mountain landscape, 2) banana holds page of long multilingual text with auto translation, 3) Gemini 3 hologram for search/knowledge/reasoning, 4) camera UI sliders for angle focus color, 5) frame trio 1:1-9:16, 6) consistent banana poses. Footer shows Google icons. Tagline: Nano Banana Pro now on Kie AI."

aspect_ratio
enum<string>
default:1:1

AspectRatio - Image aspect ratio (optional, default 1:1)

Available options:
1:1,
2:3,
3:2,
3:4,
4:3,
4:5,
5:4,
9:16,
16:9,
21:9
Example:

"1:1"

image_input
string[]

ImageInput - Input image list (optional, supports up to 8 images, max 10MB each)

Maximum length: 8
Example:
[
"https://example.com/input1.jpg",
"https://example.com/input2.jpg"
]
output_format
enum<string>
default:png

OutputFormat - Output image format (optional, default png)

Available options:
png,
jpg
Example:

"png"

resolution
enum<string>
default:1K

Resolution - Image resolution (optional, default 1K)

Available options:
1K,
2K,
4K
Example:

"1K"

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"