OpenAI
GPT Image 2 Text TO Image
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
- Long context
Try this model
Choose an aspect ratio and resolution to generate an image.
gpt-image-2-text-to-imageInput
Generated result
Enter a prompt, choose your settings, and generate.
USD /image
Pricing
| Group | Tier | Price |
|---|---|---|
| default | 1K | $0.03 |
| default | 2K | $0.0495 |
| default | 4K | $0.0795 |
| Claud0.7 | 1K | $0.021 |
| Claud0.7 | 2K | $0.03465 |
| Claud0.7 | 4K | $0.05565 |
| auto | 1K | $0.03 |
| auto | 2K | $0.0495 |
| auto | 4K | $0.0795 |
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"
}'Blog
Related Articles
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
Build with GPT Image 2 Text TO Image
API