UniRouteUniRoute
All models
GPT Image 2
ImageHot

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

TierUniRouteMarket
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.

Text-to-imageImage-to-image

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.

api.uniroute.dev
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