Choose flagship
Use the top model when correctness, reasoning depth, and coding reliability matter more than cost.
Image collection
Generate, edit, and refine production images with GPT image models through a unified API workflow.
| Model | Best For | Input | Output | Context | Cached |
|---|---|---|---|---|---|
GPT Image 2 Production | High-quality generation and editing with strong instruction adherence. | Text / image | Image | 1K / 2K / 4K | Async |
Use the top model when correctness, reasoning depth, and coding reliability matter more than cost.
Use value models for assistants, automation, support, and workflows that still need strong quality.
Use lightweight models for routing, classification, extraction, and high-volume background tasks.
Unified access
Keep product code stable while changing models, providers, pricing, and channel routes from the platform.
curl https://devnextapiany.mexxxxai.win/api/v1/images/generations \
-H "Authorization: Bearer $APIANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A clean product hero image for APIAny.AI",
"size": "1k"
}'