跳转到内容
NewRouters/开发者文档
图片模型 API

GPT Image 2.6 Sunburst · 参考图编辑

Sunburst 适合需要精细构图和局部细节的图像创作。 参考图编辑 · NewRouters Images API

POST/v1/tasksMODELgpt-image-2.6-sunburst
官方对应 gpt-image-2.6-sunburst核对 2026-11-05官方资料
代码示例与响应
请求与响应代码示例
POST/v1/tasks
服务端调用
curl "https://newrouters.com/v1/tasks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "model": "gpt-image-2.6-sunburst",
  "input": {
    "prompt": "把杯身改为蓝色,保留杯柄和背景。",
    "size": "auto",
    "quality": "low",
    "output_format": "jpeg",
    "images": [
      "https://example.com/cup.png"
    ]
  }
}'

平台地址已填入,运行前设置 API_KEY 环境变量。示例不会自动发起请求。

响应字段节选 · 示意值
202任务已受理
JSON
{
  "id": "TASK_ID",
  "status": "pending",
  "model": "gpt-image-2.6-sunburst",
  "result": null,
  "error": null
}
200成功结果
JSON
{
  "id": "TASK_ID",
  "status": "succeeded",
  "model": "gpt-image-2.6-sunburst",
  "result": {
    "assets": [
      "https://example.com/output.png"
    ]
  },
  "error": null
}
创建后如何查询结果
调用流程异步媒体任务
  1. 创建任务01
    POST /v1/tasks

    提交 model + input,保存返回的任务 id。

    202 · pending
  2. 轮询状态02
    GET /v1/tasks/{id}

    pending / processing 时等待并继续查询。

    等待 → 再查询
  3. 读取终态03
    result.assets[] / error

    按任务终态读取对应结果。

    succeeded→ assetsfailed→ error

示例输出

在模型页查看与试用 ↗

以下结果均通过本平台 API 实际生成,费用为任务回执中的实扣金额。

中英双语活动海报
中英双语活动海报$0.019
提示词与参数

International Swiss-style design festival poster for a fictional event. Headline in huge condensed sans-serif: "SIGNAL / NOISE", with the Chinese title "信号与噪声" set large beneath it. A strict 12-column grid. Small precise text blocks: "Design Week 2027", "03.14 — 03.21", "Shanghai · West Bund Art Center", "上海 · 西岸艺术中心", and a six-line programme: "Mon Typography after AI", "Tue Systems for screens", "Wed Color as interface", "Thu Motion & rhythm", "Fri Open studios", "Sat Closing night". One bold geometric graphic: concentric offset circles in vermilion over warm off-white paper, deep black ink, subtle risograph texture. Every word spelled exactly as written, crisp kerning, no extra text, no logos.

aspect_ratio: 3:4 · resolution: 2k · quality: high · output_format: jpeg
透明底产品素材
透明底产品素材$0.019
提示词与参数

Premium matte graphite wireless over-ear headphones in a three-quarter view, brushed aluminium sliders, soft woven fabric headband, precise studio lighting with a thin warm rim light. Isolated product only, clean anti-aliased edges, no shadow, no floor, no text, no logo.

aspect_ratio: 1:1 · resolution: 2k · quality: high · background: transparent · output_format: png
高密度等距场景
高密度等距场景$0.019
提示词与参数

A meticulously detailed isometric illustration of one fictional city block at dusk, cut away to show interiors: a ramen bar with a sign reading "RAMEN 拉面", a bookshop named "Paper Moon", a bike repair shop "Spoke & Chain", a rooftop garden with string lights, a laundromat with spinning machines, and a tiny jazz club "Blue Note 蓝调". Dozens of small people doing distinct activities, warm window light, soft pastel palette with deep navy sky, clean vector-like rendering with subtle grain. Every sign spelled exactly as written, no other text.

aspect_ratio: 16:9 · resolution: 2k · quality: high · output_format: jpeg
参考图重新布景
参考图重新布景$0.019
提示词与参数

Use the running shoe from the reference image and keep its exact design, materials, colors and proportions. Restage it as a premium e-commerce hero shot: the shoe stands on a pale travertine plinth in a calm, sunlit minimalist gallery with soft shadows and a single potted olive tree in the background. Warm daylight, 85mm product photography, crisp detail. No text, no logos.

aspect_ratio: 4:5 · resolution: 2k · quality: high · output_format: jpeg

Sunburst 适合需要精细构图和局部细节的图像创作。 在 NewRouters 使用型号 gpt-image-2.6-sunburst.

API 指南 · 文生图

将可访问的原图 URL 放进 input.images。请把示例 URL 换成自己的图片,并在提示词中说明哪些细节需要保留。编辑结果可选 JPEG、PNG 或 WebP。

终端窗口
curl "https://newrouters.com/v1/tasks" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "gpt-image-2.6-sunburst",
"input": {
"prompt": "把杯身改为蓝色,保留杯柄和背景。",
"size": "auto",
"quality": "low",
"output_format": "jpeg",
"images": [
"https://example.com/cup.png"
]
}
}'

保存响应的任务 ID,使用同一个 Key 轮询 GET /v1/tasks/{id}。成功后从 result.assets 下载文件。

OpenAI · GPT Image 2.6 Sunburst · OpenAI Images API