OpenAI
GPT Image 2.5
Создавайте изображения по текстовому запросу. Опишите объект, композицию, освещение, стиль и текст, который должен появиться на изображении. Выберите размер и уровень качества, чтобы получить готовое изображение без референса или настройки сэмплера.
gpt-image-2.5- Эндпоинт
POST /api/v2/run- Вход
- Text prompt · Reference images
- Выход
- Image (PNG / WebP)
- Тариф
- ~$0.0845 / 1024×1024
Пример промпта“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…”
Варианты применения
- Создавайте изображения по тексту и редактируйте их через multipart-загрузку в POST /api/v2/run с одним ключом API
- Получите бесплатную оценку через POST /api/v2/quote до расходования кредитов
- Качество изображения флагманских партнёрских моделей с одним ключом API и проверкой лимита при отправке запроса
- ID модели в API
gpt-image-2.5- Разработчик модели
- OpenAI
- Модальность
- Генерация и редактирование изображений
- Вход
- Text prompt · Reference images
- Выход
- Image (PNG / WebP)
- Эндпоинты
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- Инфраструктура
- Ресурсы партнёрского облака
Параметры запроса
modelstring · обязательноExact Runstage model slug (gpt-image-2.5).
promptstring · обязательноVisual description of subject, composition, lighting, and medium.
width / heightinteger · необязательноOutput pixel dimensions (e.g. 1024×1024 or 1536×1024).
Дополнительные параметры
qualityseedenhance_prompt
Быстрый старт
Скопируйте рабочий запрос с ID модели gpt-image-2.5. Получите бесплатную предварительную оценку (окончательная стоимость определяется по завершении), затем выполните запрос со своим ключом API Runstage.
Открыть студию# 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>'Цены
| Единица тарификации и параметры | Тариф (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 |
Условия оплаты
- Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
- До списания предоплаченных кредитов можно бесплатно оценить расходы через POST /api/v2/quote.
- При завершении или сбое резерв автоматически пересчитывается по фактической стоимости выполнения, а неиспользованные кредиты возвращаются.
- Модель работает на внешних ресурсах партнёра. Конечная стоимость рассчитывается по полученным метрикам выполнения.
Актуальные тарифы каталога Runstage. Предоплаченные кредиты в USD с лимитами расходов по ключам.
Сравнить в полном каталоге