GPT Image 2
GPT Image 2 is an OpenAI model for high-fidelity image generation and editing through the dedicated Images API. It supports text-to-image generation and image-to-image editing.
Modalidades
En / Out Price
40 % off$3/ 1M
$5 Precio oficial
$18/ 1M
$30 Precio oficial
Contexto
400K
Liberado
23 jun 2026
Zona de juegos
Producto
Explorar el estudio AIAPI ejemplos de llamadas
POST /v1/images/generationscurl --request POST 'https://api.tokatlas.com/v1/images/generations' \
--header "Authorization: Bearer $UNIROUTER_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "A serene koi pond at sunset.",
"size": "1024x1024",
"n": 1
}'Proveedores & rutas
Proveedor actual · OpenAI
Precio configurado de la plataforma · Grupo: az
USD / 1M fichas. Cada fila muestra entrada y salida desde el mismo nivel. Las tarifas visualizadas utilizan el multiplicador de grupo más bajo disponible; su grupo de teclas API puede diferir.
GPT Image 2 from concept to local edits
Use text and reference images to create a composition or revise a specific area. Specify the subject, camera, lighting, and details to retain.
Text-to-image composition
Set the subject and whitespace for a poster or banner before refinement.
Reference consistency
Assign separate references for product silhouette, packaging, and materials.
Local edits
Where masking is available, replace only the intended prop or background and check the boundary against the original.
In-image lettering
List required spellings and labels individually, then verify them at final size.
Acerca de
Generation, inpainting, and extending a canvas
GPT Image 2 can generate from text or take a source image for editing. If masks are available, mark an area for inpainting or extend the canvas beyond the original framing. Describe the perspective, light, and proportions to carry across.
Lettering, layout, and references
It can be used for assets with in-image text and dense layouts. Identify exact phrases and separate hierarchy from style constraints. Assign each reference a purpose and verify required wording at delivery size.
Existing integrations and alternatives
When migrating from an earlier GPT Image model, verify sizes, references, masks, and output formats. Compare Nano Banana Pro on legibility, drift across edits, and cost to an accepted result. Use the endpoint and pricing section for actual options.
When changing routes, check error responses, image decoding, and retries. Evaluate three separate cases: one text-only render, a composition using multiple references, and a targeted edit. This shows which operation accounts for a difference.
GPT Image 2 FAQ
How can I steer the lighting more precisely?
Specify light direction, softness and which shadows should remain. Try a lighting-only edit before changing the composition.
Can I edit a single area of a source image?
If the editing route accepts a mask, use it to mark the region and describe which nearby details and framing should be preserved.
What should I put first in a prompt for predictable framing?
Start with subject, placement and camera distance, then describe negative space and any unwanted texture. Test one image before adding finer detail.
How do several reference images affect an edit?
Use different images to guide the subject, material or style. Describe what each reference contributes and check the limit on the editing route you use.