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
Use in Consolegpt-image-2-text-to-image

USD

Pricing

default
1K$0.02/image
2K$0.033/image
4K$0.053/image

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

Build with GPT Image 2 Text TO Image

Use in Console
TokenHot

The frontier intelligence gateway. One API. 127 models. 0.2s latency. Pay only for what you use.

All systems normal · 99.997% uptime

Company

© 2026 TokenHot Inc. — Built for builders.