# GPT Image 2.5

`gpt-image-2.5` · OpenAI · Image Generation & Editing

Generate an image from a text prompt. Describe the subject, layout, lighting, style and any text that should appear, pick a size and a quality level, and get a finished frame without a reference image or sampler settings.

[Model page](https://runstage.dev/models/gpt-image-25) · [JSON](https://runstage.dev/models/gpt-image-25.json) · [Catalog](https://runstage.dev/pricing) · [Playground](https://runstage.dev/playground?model=gpt-image-2.5)

## Technical summary

- **Exact API model slug**: `gpt-image-2.5`
- **Developer**: OpenAI
- **Inference types**: `txt2img`, `img2img`
- **Infrastructure**: Partner Cloud (Premium plan)
- **Headline rate**: Live estimate via /api/v2/quote (Partner rate (estimated before run))
- **Free quote endpoint**: `POST https://runstage.dev/api/v2/quote`

## Runstage routes

- **Text to Image** (`txt2img`): `POST /api/v2/quote` · `POST /api/v2/run` · `GET /api/v2/jobs/{request_id}` · `GET /api/v2/jobs/{request_id}/output` · `MCP runstage_generate_media`
- **Image Edit** (`img2img`): `POST /api/v2/quote` · `POST /api/v2/run` · `GET /api/v2/jobs/{request_id}` · `GET /api/v2/jobs/{request_id}/output`

## Best for

- Run GPT Image 2.5 via unified v2 jobs with free pre-run /price quotes
- Partner-hosted flagship model accessible on Premium accounts

## Billing notes

Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.

## Quickstart (cURL)

```bash
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2.5","width":1024,"height":1024}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "gpt-image-2.5",   "prompt": "A nineteenth-century botanical plate of a single hart'\''s-tongue fern, hand-coloured copperplate engraving on aged cream paper. The full plant fills the centre: glossy strap-shaped fronds with wavy margins, a curled fiddlehead unrolling at the base, and the underside of one frond turned toward the viewer to show the rows of rust-brown sori in fine stipple. Two small inset details on the right show a single sorus magnified and a cross-section of the rhizome, each numbered \"1\" and \"2\". The title \"ASPLENIUM SCOLOPENDRIUM\" runs along the bottom in engraved serif capitals, with \"Hart'\''s-tongue Fern - Pl. XLII\" in italic beneath it and a small scale bar marked \"5 cm\". Faint foxing at the corners, muted greens and sepia.",   "width": 1024,   "height": 1024,   "seed": 42 }'

# Optional: switch to image editing (img2img) by uploading multipart -F "image=@input.png"
# curl -X POST 'https://runstage.dev/api/v2/run' -H "Authorization: Bearer $RUNSTAGE_API_KEY" --form-string 'model=gpt-image-2.5' --form-string 'prompt=A nineteenth-century botanical plate of a single hart'\''s-tongue fern, hand-coloured copperplate engraving on aged cream paper. The full plant fills the centre: glossy strap-shaped fronds with wavy margins, a curled fiddlehead unrolling at the base, and the underside of one frond turned toward the viewer to show the rows of rust-brown sori in fine stipple. Two small inset details on the right show a single sorus magnified and a cross-section of the rhizome, each numbered "1" and "2". The title "ASPLENIUM SCOLOPENDRIUM" runs along the bottom in engraved serif capitals, with "Hart'\''s-tongue Fern - Pl. XLII" in italic beneath it and a small scale bar marked "5 cm". Faint foxing at the corners, muted greens and sepia.' -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'
```
