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
imageFast text-to-image generation.
Create job
POST /api/v1/generationsQuery 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
modelstringRequired
The model ID selected on this page.
promptstringRequired
Generation or editing instructions.
aspect_ratiostringOptional
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_formatstringOptional
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
