OpenAI
GPT Image 2 Text TO Image API
This is a discounted trial route. Generation may take longer and has roughly a 10% chance of failing. It is best for cost-sensitive image generation trials where queueing and occasional failures are acceptable; for more stable production use, choose a regular route.
- Multimodal output
gpt-image-2-text-to-imageUSD
Pricing
Public list prices are shown in USD. Final charges may vary by account group and usage tier.
API
Code examples
curl --location --request POST 'https://api.tokenhot.ai/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-image-2-text-to-image",
"prompt": "A cute baby sea otter",
"size": "1024x1024"
}'OpenAI
Related models
FAQ
Frequently asked questions
What is GPT Image 2 Text TO Image best suited for?
GPT Image 2 Text TO Image is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.
How is GPT Image 2 Text TO Image priced?
Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.
How can I call GPT Image 2 Text TO Image?
Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.
Get started