Images
Eleven image models, from fast drafts at $0.007 to 4K, one to four images per request.
Which model for which job
Every model takes the same request to POST /v1/images; only model changes. GET /v1/models lists each model's id, sizes, shapes and prices.
| Model | id | Use it for | From |
|---|---|---|---|
| Nano Banana Pro | nano-banana-pro | The finest detail, text in images, editing with references, 4K | $0.21 |
| Nano Banana 2.1 | nano-banana-2.1 | High quality at a lower price, editing with references, up to 4K | $0.068 |
| Nano Banana 2 | nano-banana-2 | A strong all-rounder, editing with references, up to 4K | $0.11 |
| Nano Banana | nano-banana | Quick edits and variations with references | $0.054 |
| GPT Image 2 | gpt-image-2 | Following long, detailed instructions | $0.072 |
| Seedream 5.0 Lite | seedream-5-lite | Bright, polished 2K images | $0.047 |
| Seedream 4.5 | seedream-4.5 | 2K and 4K at the same price | $0.054 |
| FLUX.2 Pro | flux-2-pro | Photoreal product and lifestyle shots | $0.041 |
| FLUX.2 Flex | flux-2-flex | Fine control over style and typography | $0.068 |
| FLUX.2 Max | flux-2-max | The strongest FLUX.2 results | $0.094 |
| Z-Image Turbo | z-image-turbo | Fast, low-cost drafts and thumbnails | $0.007 |
Prices are per image; the full grid by size is on the pricing page. Try one prompt on several models in the playground to compare them.
Sizes and shapes
size is 1k (default), 2k or 4k, as each model allows. aspectRatio is 1:1 (default), 4:3, 3:4, 16:9, 9:16, 3:2 or 2:3; GPT Image 2 makes 1:1, 3:2 and 2:3. GET /v1/models lists each model's sizes and aspectRatios.
Editing with reference images
Pass references, a list of up to 8 URLs or upload ids, to edit a picture or keep a product or person the same. The Nano Banana models take references (Nano Banana up to 4); each model's maxReferences is in GET /v1/models. Describe the change in the prompt: "Put the bag from the reference image on a beach towel at golden hour."
One to four images per request
Set count from 1 to 4 to get variations in one job; each image is charged. The FLUX.2 models make one image per request. The job's outputs holds one entry per image, each with its own signed url.