GPT Image 2
/v1/image/gpt-image-2Text-to-image with gpt-image-2.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- PromptNeededThe image to create — content, style, composition — or the editing instruction when input images are provided. Up to 32,000 characters.
- SizeNeededOutput resolution "WIDTHxHEIGHT" (REQUIRED — it sets the price). Any size whose edges are multiples of 16, aspect ratio 1:3 to 3:1, no edge above 3840px, total…
- QualityNeededRendering quality (REQUIRED — it sets the price): low, medium, high. Higher tiers render more detail and cost more tokens.One of low, medium, high
- BackgroundOptionalBackground of the image: "transparent", "opaque", or "auto" (default — the model decides).One of transparent, opaque, auto
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@openai:/v1/image/gpt-image-2Topics
Image GenerationMore from OpenAI
All 10GPT Image 2.6 PreciseText to PNG, GIF, or SVG with gpt-image-2.6-sunburst.From 5 creditsGPT Image 2.5 PreciseText-to-image with gpt-image-2.5-sunburst.From 5 creditsGPT Image 2 EditReference-image editing with gpt-image-2.From 5 creditsGPT Image 2.5 Precise EditReference-image editing with gpt-image-2.5-sunburst.From 5 creditsGPT Image 2.6 Precise EditReference-image editing with gpt-image-2.6-sunburst.From 5 creditsGPT Image 2.6 Fast EditReference-image editing with gpt-image-2.6-flare.From 5 credits