---
title: "GPT Image 2.6 Flare"
method: POST
path: "/generate/image/openai/gpt-image-2.6-flare"
tags: ["Image"]
---

# GPT Image 2.6 Flare

`POST /generate/image/openai/gpt-image-2.6-flare`

## Request

- Base URL: `https://api.krea.ai`
- URL: `https://api.krea.ai/generate/image/openai/gpt-image-2.6-flare`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/krea/apis/krea-api/docs/generate/image/openai/gpt-image-2.6-flare/post.ts> (a function with typed inputs; its response is checked against the schema)

GPT Image 2.6 with transparent background support.

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `prompt` string, required
  - `quality` 'low' | 'medium' | 'high' | 'xhigh' | 'max'
  - `image_urls` string[]: Image prompts to use for the generation.
  - `aspect_ratio` '16:9' | '2:1' | '3:2' | '4:3' | '1:1' | '3:4' | '2:3' | '1:2' | '9:16', required: Aspect ratio. One of: 16:9, 2:1, 3:2, 4:3, 1:1, 3:4, 2:3, 1:2, 9:16.
  - `resolution` '1K' | '2K' | '4K', required: Resolution scale. One of: 1K, 2K, 4K.
  - `background` 'transparent' | 'opaque' | 'auto': Background of the generated image. `transparent` returns a cutout and requires PNG output.
  - `output_format` 'png' | 'svg' | 'gif': File format of the result: `png` (default), `svg` for a sanitized vector document, or `gif` for a looping animation. SVG and GIF support text-to-image only, so they cannot be combined with `image_urls`.
  - `frame_count` integer: GIF only: number of frames, 2–16 (default 9). The aspect ratio sets each frame's shape; frames are scaled to at most 960 px on the longest edge so the animation fits the model's size limits, and `resolution` does not apply.
  - `frame_duration_ms` integer: GIF only: milliseconds each frame shows, 20–2000, rounded to 10 (default 200).

## Response `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required: Why the job failed. `invalid_request` means the request broke a rule, such as a media limit or a file that cannot be read or downloaded. `validation_failed` means a value is outside its parameter's schema. For both codes, change the parameter named in `param` before you resubmit. Other codes are `content_policy`, `model_unavailable`, `insufficient_balance`, `timeout`, `auto_cancelled`, `provider_error`, `internal`, and `node_app_node_failed`. Treat an unknown code as `internal`.
    - `message` string
    - `param` string: The request parameter to change, present with `invalid_request` and `validation_failed`.
  - `progress` number, nullable

## Other responses

- `400`: The request body is invalid.
- `401`: You are not authenticated.
- `402`: You have run out of credits.
- `429`: You have reached the maximum number of concurrent jobs.

## Changes

- **2026-11-05** `70d9b14e5730`: 3 info
  - added the new optional request property `frame_count`
  - added the new optional request property `frame_duration_ms`
  - added the new optional request property `output_format`
- **2026-11-05** `14f9d05bb91f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/krea/apis/krea-api/changes/generate/image/openai/gpt-image-2.6-flare/post.md)

---

[API](https://skmtc.dev/krea/apis/krea-api.md) - [All operations](https://skmtc.dev/krea/apis/krea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/krea/apis/krea-api/revisions/c5af3e2af8e0?raw)
