OpenAI
GPT Image 2.5
Genera una imagen a partir de una indicación de texto. Describe el sujeto, la composición, la iluminación, el estilo y cualquier texto que deba aparecer. Elige un tamaño y un nivel de calidad para obtener una imagen terminada sin necesidad de una imagen de referencia ni de configurar el muestreador.
gpt-image-2.5- Punto de acceso
POST /api/v2/run- Entrada
- Text prompt · Reference images
- Salida
- Image (PNG / WebP)
- Tarifa
- ~$0.0845 / 1024×1024
Ejemplo de instrucción“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 fiddle…”
Usos recomendados
- Genera imágenes a partir de texto y edita imágenes mediante carga multiparte en POST /api/v2/run con una clave API
- Consulta gratis el coste en POST /api/v2/quote antes de comprometer créditos
- Calidad de imagen de los modelos insignia asociados con una clave API y límites de gasto aplicados al enviar la solicitud
Referencia de la API
- ID del modelo en la API
gpt-image-2.5- Desarrollador del modelo
- OpenAI
- Modalidad
- Generación y edición de imágenes
- Entrada
- Text prompt · Reference images
- Salida
- Image (PNG / WebP)
- Puntos de acceso
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- Infraestructura
- Capacidad en la nube asociada
Parámetros de la solicitud
modelstring · obligatorioExact Runstage model slug (gpt-image-2.5).
promptstring · obligatorioVisual description of subject, composition, lighting, and medium.
width / heightinteger · opcionalOutput pixel dimensions (e.g. 1024×1024 or 1536×1024).
Parámetros adicionales
qualityseedenhance_prompt
Inicio rápido
Copia una solicitud funcional con el ID de modelo gpt-image-2.5. Consulta primero la estimación gratuita (el coste final se liquida al completarse) y ejecútala con tu clave API de Runstage.
Abrir Studio# 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>'Precios
| Unidad facturable y opciones | Tarifa (USD) |
|---|---|
| Standard · 1024×1024Production square artwork (estimated) | ~$0.0845 |
| Widescreen · 1536×1024Hero & banner aspect ratio (estimated) | ~$0.0974 |
| Portrait · 1024×1536Vertical editorial & mobile layout (estimated) | ~$0.0974 |
Notas de facturación
- Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
- Antes de comprometer créditos prepagados, puedes obtener estimaciones gratuitas mediante POST /api/v2/quote.
- Al completarse o fallar la ejecución, se ajusta automáticamente la reserva al coste real y se devuelven los créditos sin utilizar.
- Se utiliza capacidad externa de socios. El importe final se calcula según las métricas de ejecución comunicadas.
Tarifas actuales del catálogo de Runstage. Créditos prepagados en USD con límites de gasto por clave.
Comparar en el catálogo completo