POST
/
fal-ai
/
nano-banana
curl -X POST https://api.example.com/fal-ai/nano-banana \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cute cat wearing a hat"
  }'
Generate images from text using the Nano Banana model on the Fal.ai platform.

Request Parameters

prompt
string
required
Image description prompt.
image_size
string
Image size.
num_images
integer
default:"1"
Number of images to generate.
curl -X POST https://api.example.com/fal-ai/nano-banana \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cute cat wearing a hat"
  }'