POST /api/v1/nanobanana/generate-2-lite.imageUrls (or pass []) for text-to-image generation, or pass up to 10 reference image URLs (PNG/JPEG/WEBP, max 30 MB each).1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9, auto).curl --location 'https://api.bananaapi.io/api/v1/nanobanana/generate-2-lite' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "a happy dog running in the park",
"imageUrls": [],
"aspectRatio": "auto",
"resolution": "1K",
"googleSearch": false,
"outputFormat": "jpg",
"callBackUrl": "https://example-callback.com"
}'{
"code": 200,
"message": "success",
"data": {
"taskId": "task_12345678"
}
}