Image Generation Models
Available models for generating images.
Image Generation Models
FLUX Pro
High-quality professional image generation.
bash
curl -X POST \
-H "Authorization: Bearer bnn_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A photorealistic banana in a tropical setting",
"image_size": "square_hd",
"num_images": 1
}
}' \
"https://banan0.com/api/v1/models/fal-ai/flux-pro/run"Cost: ~5 tokens per image
FLUX Schnell
Fast, efficient image generation.
bash
curl -X POST \
-H "Authorization: Bearer bnn_live_xxx" \
-d '{"input": {"prompt": "A banana"}}' \
"https://banan0.com/api/v1/models/fal-ai/flux/schnell/run"Cost: ~2 tokens per image
Common Parameters
| Parameter | Type | Description |
|---|---|---|
prompt | string | Text description of the image |
image_size | string | Output size preset |
num_images | number | Number of images to generate |
Image Size Presets
square_hd - 1024x1024landscape_16_9 - 1024x576portrait_16_9 - 576x1024landscape_4_3 - 1024x768portrait_4_3 - 768x1024