EIMG AI logoNano Banana
EIMG · REST API v1

Choose a model. Copy the request. Build.

Pick a model and its exact API request appears instantly. No model-name lookup and no long documentation to scan.

Nano Banana

image

Fast text-to-image generation.

Get API key

Create job

POST /api/v1/generations

Query result

GET /api/v1/generations/{id}

Credits

8 Credits

nano-banana · cURL
curl -X POST https://eimg.ai/api/v1/generations \
  -H "Authorization: Bearer $EIMG_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: nano-banana-example-001" \
  -d '{
  "model": "nano-banana",
  "prompt": "A cinematic product photo on a warm studio set",
  "aspect_ratio": "1:1",
  "output_format": "png"
}'
Request parametersExpand to see every parameter supported by this model4
model
stringRequired

The model ID selected on this page.

prompt
stringRequired

Generation or editing instructions.

aspect_ratio
stringOptional

Requested output aspect ratio.

auto · 1:1 · 2:3 · 3:4 · 4:5 · 9:16 · 16:9 · 3:2 · 4:3 · 5:4 · 21:9Default: 1:1
output_format
stringOptional

Returned image format.

png · jpg · jpegDefault: png

Callbacks, provider authentication, content safety, refunds, and task binding are managed by EIMG.

text-to-image

Bearer API Key

Server-side only

Async jobs

Create, then poll

One endpoint

/api/v1/generations