Skip to content
NewRouters/Documentation
IMAGE API

GPT Image 2.6 Flare · Reference image edits

Use Flare to iterate on illustrations and product visuals. Reference image edits · NewRouters Images API

POST/v1/tasksMODELgpt-image-2.6-flare
Official reference gpt-image-2.6-flareChecked 2026-11-05Official docs
Code examples & responses
Request & responseExamples
POST/v1/tasks
Server-side request
curl "https://newrouters.com/v1/tasks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "model": "gpt-image-2.6-flare",
  "input": {
    "prompt": "Change the cup to blue. Preserve the handle and background.",
    "size": "auto",
    "quality": "low",
    "output_format": "jpeg",
    "images": [
      "https://example.com/cup.png"
    ]
  }
}'

The API origin is filled in. Set API_KEY before running. Examples never submit automatically.

ResponseSelected fields · illustrative values
202Task accepted
JSON
{
  "id": "TASK_ID",
  "status": "pending",
  "model": "gpt-image-2.6-flare",
  "result": null,
  "error": null
}
200Successful result
JSON
{
  "id": "TASK_ID",
  "status": "succeeded",
  "model": "gpt-image-2.6-flare",
  "result": {
    "assets": [
      "https://example.com/output.png"
    ]
  },
  "error": null
}
Retrieve results after submission
Request lifecycleAsynchronous media
  1. Create a task01
    POST /v1/tasks

    Submit model + input. Save the returned task id.

    202 · pending
  2. Poll status02
    GET /v1/tasks/{id}

    Wait and poll again while pending or processing.

    Wait → poll again
  3. Read the outcome03
    result.assets[] / error

    Read the result for the terminal task state.

    succeeded→ assetsfailed→ error

Example outputs

View and try on the model page ↗

Generated through this API. Costs are the amounts charged on each task receipt.

Native animated GIF
Native animated GIF$0.019
Prompt and parameters

Seamless looping animation of a small clear glass hourglass on a matte black surface. Fine golden sand flows from the top bulb to the bottom; on the final frame the hourglass gently rotates to restart the loop. Soft studio rim light, crisp refractions, centered composition, generous dark negative space. No text.

size: auto · quality: medium · output_format: gif
Looping neon sign
Looping neon sign$0.019
Prompt and parameters

Looping animation of a hand-bent neon sign on a dark brick wall that reads exactly "OPEN 24H" with the Chinese characters "营业中" beneath it. The tubes flicker on letter by letter, glow steadily, then briefly buzz and flicker before the loop restarts. Pink and warm white neon, soft glow on the bricks. Every character spelled exactly as written.

size: auto · quality: medium · output_format: gif
Readable app mockup
Readable app mockup$0.019
Prompt and parameters

A polished mobile app screen for a fictional personal finance app called "Ledger". Dark mode. Header "Good evening, Lin". A large balance "$12,480.50". A smooth line chart for the last 30 days. A list of four transactions with icons: "Blue Bottle Coffee −$6.50", "Salary +$4,200.00", "Metro Card −$40.00", "Apple Music −$10.99". A bottom tab bar with Home, Cards, Insights, Profile. Crisp UI rendering on a plain dark background, all text and numbers exactly as written.

aspect_ratio: 9:16 · resolution: 2k · quality: high · output_format: jpeg

Use Flare to iterate on illustrations and product visuals. Use the NewRouters model ID gpt-image-2.6-flare.

API guide · Text to image

Replace the example URL in input.images with an accessible reference image. Describe the change and what to preserve. Choose JPEG, PNG or WebP for edits.

Terminal window
curl "https://newrouters.com/v1/tasks" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "gpt-image-2.6-flare",
"input": {
"prompt": "Change the cup to blue. Preserve the handle and background.",
"size": "auto",
"quality": "low",
"output_format": "jpeg",
"images": [
"https://example.com/cup.png"
]
}
}'

Save the task ID and poll GET /v1/tasks/{id} with the same key. On success, download the file from result.assets.

OpenAI · GPT Image 2.6 Flare · OpenAI Images API