
OpenAI
GPT Image 2
UniRoute makes GPT Image 2 API easier to access for image generation, image editing, text-rich visuals, and higher-quality commercial image workflows.
Pricing
| Tier | UniRoute | Market |
|---|---|---|
| image-to-image · 1k | $0.03 | $0.219 |
| text-to-image · 1k | $0.03 | $0.219 |
| image-to-image · 2k | $0.05 | $0.234 |
| text-to-image · 2k | $0.05 | $0.234 |
| image-to-image · 4k | $0.08 | $0.413 |
per image
About this model
GPT Image-2 API can turn written prompts into polished visual output, making it a strong fit for teams that want to generate marketing creatives, product concepts, social media visuals, ad images, illustrations, and branded design assets directly from text. This text-to-image workflow gives developers a flexible way to build AI Image Generator experiences around fast visual ideation, structured prompt-based creation, and more refined image output for real creative workflows.
Deep dive
Text to Image with GPT Image-2 API
GPT Image-2 API can turn written prompts into polished visual output, making it a strong fit for teams that want to generate marketing creatives, product concepts, social media visuals, ad images, illustrations, and branded design assets directly from text. This text-to-image workflow gives developers a flexible way to build AI Image Generator experiences around fast visual ideation, structured prompt-based creation, and more refined image output for real creative workflows.
Image to Image with GPT-Image-2 API
GPT-Image-2 API can also work from existing images, making it useful for workflows that involve transforming, refining, or visually updating an uploaded input. This image-to-image approach fits use cases such as style changes, background replacement, product recoloring, subject enhancement, composition cleanup, and other controlled edits that need to preserve important parts of the original image. For teams building AI Image Editor products, it adds a more practical path for creating cleaner transformations with stronger visual control.
Call it with one request
Works with the OpenAI SDK — just change the base URL.
curl https://api.uniroute.dev/v1/images/generations \
-H "Authorization: Bearer $UNIROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A lighthouse on a cliff at golden hour",
"size": "2K"
}'Related models

GPT Image 1.5 is OpenAI’s flagship image generation model for high-quality image creation and precise image editing, with strong instruction following and improved text rendering.

The GPT-Image-1 model, also known as ChatGPT 4o Image, is OpenAI’s latest AI image generation model. It understands both text and visual context, allowing developers to create and edit images with remarkable accuracy. Unlike traditional diffusion models, GPT-Image-1 follows instructions precisely, supports consistent styles, and renders legible text — making it ideal for applications in design, marketing, and creative automation.
NewBuild smarter AI image applications with Qwen Image 3.0 API. Explore Qwen-Image-3.0-Pro in the online Playground and integrate everything through one simple API.
