POST /v1/images/generations.
Generate an image
Request fields
Response
"response_format": "b64_json", each item has b64_json instead of url. Read whichever field is present, then save the file to your own storage. Do not use the returned link as long-term hosting.
Sizes and price tiers
The price depends on the tier, and the tier depends on the longest side ofsize:
The aspect ratio follows the size:
1536x1024 gives a 3:2 image, 2048x1152 gives 16:9. You can also send 1k, 2k or 4k for a square image at that tier.
The price is flat per image for the tier, whatever the quality. Prices are in Models and pricing. Some models offer 1K only.
Edit an image
Image edits (POST /v1/images/edits) are coming soon. Today every model supports generations only.
Response time and timeouts
Image calls are synchronous: the connection stays open until the image is ready.- Nano Banana images usually arrive in 10 to 60 seconds.
- GPT Image 2.5 takes about 30 to 70 seconds per image. 2K and 4K are at the slow end.
- Busy periods can take longer.
- Orvado waits up to 10 minutes for a job before it returns an error.
- Set your client timeout to at least 180 seconds; 600 seconds is safest. The official OpenAI SDKs already default to 10 minutes. Check any proxy, load balancer or serverless function between your app and Orvado, since many cut requests at 30 to 60 seconds.