{"slug":"gpt-image-2.5","routeSlug":"gpt-image-25","name":"GPT Image 2.5","developer":"OpenAI","modality":"image","inferenceTypes":["txt2img","img2img"],"surface":"native-v2","infrastructure":"partner-cloud","planRequired":"premium","status":"test_model","tags":["External","Partner Cloud","Premium"],"description":"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.","useCases":["Run GPT Image 2.5 via unified v2 jobs with free pre-run /price quotes","Partner-hosted flagship model accessible on Premium accounts"],"samplePrompt":"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.","pricing":{"unit":"Partner rate (estimated before run)","headlineRate":"Live estimate via /api/v2/quote","hasLiveQuoteEndpoint":true,"quoteEndpoint":"/api/v2/quote","isEstimated":true,"notes":"Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion."},"specs":{},"links":{"html":"https://runstage.dev/models/gpt-image-25","markdown":"https://runstage.dev/models/gpt-image-25.md","json":"https://runstage.dev/models/gpt-image-25.json","playground":"https://runstage.dev/playground?model=gpt-image-2.5"},"snippets":{"curl":"# 1. Free pre-run retail quote\ncurl -X POST 'https://runstage.dev/api/v2/quote' \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\":\"gpt-image-2.5\",\"width\":1024,\"height\":1024}'\n\n# 2. Submit metered job\ncurl -X POST 'https://runstage.dev/api/v2/run' \\\n  -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -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 }'\n\n# Optional: switch to image editing (img2img) by uploading multipart -F \"image=@input.png\"\n# 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\"\n\n# 3. Poll owner-scoped job result until status is \"done\" or \"failed\"\ncurl -H \"Authorization: Bearer $RUNSTAGE_API_KEY\" \\\n  'https://runstage.dev/api/v2/jobs/<request_id>'","typescript":"const headers = {\n  Authorization: `Bearer ${process.env.RUNSTAGE_API_KEY}`,\n  \"Content-Type\": \"application/json\",\n};\n\n// 1. Free pre-run retail quote\nconst quote = await fetch(\"https://runstage.dev/api/v2/quote\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n  \"model\": \"gpt-image-2.5\",\n  \"width\": 1024,\n  \"height\": 1024\n}),\n}).then((r) => r.json());\nconsole.log(\"Quoted USD:\", quote.data?.price);\n\n// 2. Submit metered job\nconst job = await fetch(\"https://runstage.dev/api/v2/run\", {\n  method: \"POST\",\n  headers,\n  body: JSON.stringify({\n  \"model\": \"gpt-image-2.5\",\n  \"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.\",\n  \"width\": 1024,\n  \"height\": 1024,\n  \"seed\": 42\n}),\n}).then((r) => r.json());\n\n// 3. Poll owner-scoped job status until terminal\nlet result;\nfor (let i = 0; i < 60; i++) {\n  result = await fetch(`https://runstage.dev/api/v2/jobs/${job.data.request_id}`, {\n    headers: { Authorization: headers.Authorization },\n  }).then((r) => r.json());\n  if ([\"done\", \"failed\", \"refunded\"].includes(result.data?.status)) break;\n  await new Promise((r) => setTimeout(r, 2000));\n}\nconsole.log(\"Status:\", result?.data?.status, result?.data?.result_url);","python":"import os, time, requests\n\nheaders = {\"Authorization\": f\"Bearer {os.environ['RUNSTAGE_API_KEY']}\"}\n\n# 1. Free pre-run retail quote\nquote = requests.post(\n    \"https://runstage.dev/api/v2/quote\",\n    json={\n    \"model\": \"gpt-image-2.5\",\n    \"width\": 1024,\n    \"height\": 1024\n},\n    timeout=15,\n).json()\nprint(\"Quoted USD:\", quote[\"data\"][\"price\"])\n\n# 2. Submit metered job\njob = requests.post(\n    \"https://runstage.dev/api/v2/run\",\n    headers=headers,\n    json={\n    \"model\": \"gpt-image-2.5\",\n    \"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.\",\n    \"width\": 1024,\n    \"height\": 1024,\n    \"seed\": 42\n},\n    timeout=30,\n).json()\njob_id = job[\"data\"][\"request_id\"]\n\n# 3. Poll owner-scoped job status until terminal\nresult = None\nfor _ in range(60):\n    result = requests.get(f\"https://runstage.dev/api/v2/jobs/{job_id}\", headers=headers, timeout=15).json()\n    if result[\"data\"][\"status\"] in (\"done\", \"failed\", \"refunded\"):\n        break\n    time.sleep(2)\nprint(\"Status:\", result[\"data\"][\"status\"], result[\"data\"].get(\"result_url\"))"}}