Ir para o conteúdo
Runstage

OpenAI

GPT Image 2.5

Gere uma imagem a partir de um prompt de texto. Descreva o tema, a composição, a iluminação, o estilo e qualquer texto que deva aparecer. Escolha um tamanho e um nível de qualidade e receba uma imagem pronta, sem precisar de imagem de referência nem configurar o amostrador.

Preços publicados da API
~$0.0845 / 1024×1024
Ver todas as faixas
1024×1024~$0.0845
1536×1024~$0.0974
1024×1536~$0.0974
ID do modelo na API
Interface de API de Imagemgpt-image-2.5
Endpoint
POST /api/v2/run
Entrada
Text prompt · Reference images
Saída
Image (PNG / WebP)
Tarifa
~$0.0845 / 1024×1024
Exemplo de 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 fiddle…”

Usos recomendados

Referência da API

ID do modelo na API
gpt-image-2.5
Desenvolvedor do modelo
OpenAI
Modalidade
Geração e edição de imagens
Entrada
Text prompt · Reference images
Saída
Image (PNG / WebP)
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infraestrutura
Capacidade da nuvem parceira

Parâmetros da solicitação

  • modelstring · obrigatório

    Exact Runstage model slug (gpt-image-2.5).

  • promptstring · obrigatório

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · opcional

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

Parâmetros adicionais

  • quality
  • seed
  • enhance_prompt

Início rápido

Copie uma solicitação funcional com o ID de modelo gpt-image-2.5. Consulte antes a estimativa gratuita (o custo final é definido na conclusão) e execute com sua chave de API da Runstage.

Abrir o 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>'

Preços

Unidade de cobrança e opçõesTarifa (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 cobrança

  • 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 pré-pagos, obtenha uma estimativa gratuita em POST /api/v2/quote.
  • Na conclusão ou falha da tarefa, a reserva é ajustada automaticamente ao custo real, com devolução dos créditos não utilizados.
  • O modelo usa capacidade externa de parceiros. O custo final é ajustado conforme as métricas de execução informadas.

Tarifas atuais do catálogo da Runstage. Créditos pré-pagos em USD com limites de gastos por chave.

Comparar no catálogo completo