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 '
{
  "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.",
  "aspect_ratio": "1:1",
  "image_input": [
    ""
  ],
  "output_format": "png",
  "resolution": "1K"
}
'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Generate and edit images using Google DeepMind’s Nano Banana Pro (Gemini 3 Pro Image) model. Key Features:
  • 4K Ultra High Resolution - Support 2K/4K high-definition image generation
  • Best-in-Class Text Rendering - Industry-leading in-image text generation with multi-language support
  • Real-Time Knowledge - Use Google Search to verify facts and generate imagery based on real-time data
  • Professional Controls - Camera angles, lighting, depth of field, focus, and color grading

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)

Required string length: 1 - 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

Aspect ratio - 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[]

Image input - Input image list (optional, supports max 8 images, each max 10MB)

Maximum array length: 8
Example:
[""]
output_format
enum<string>
default:png

Output format - 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"