Skip to main content
POST
/
vendors
/
google
/
v1
/
nano-banana
/
generation
Text to Image Generation
curl --request POST \
  --url https://api.mulerun.com/vendors/google/v1/nano-banana/generation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "A beautiful sunset over the mountains"
}'
{
  "task_info": {
    "task_id": "123e4567-e89b-12d3-a456-426614174000",
    "status": "pending",
    "created_at": "2025-09-21T00:00:00.000Z",
    "updated_at": "2025-09-21T00:00:00.000Z"
  }
}
Generate images from text prompts using the Gemini Nano-Banana model.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Text to image generation request body

prompt
string
required

Text prompt for image generation

Response

202 - application/json

Task created successfully

task_info
object