# GPT Image 2.6

GPT Image 2.6 image editing API. Up to 4K, Image inputs, Transparent background. Explore supported settings, pricing and runnable examples on Fusara.

Model: `openai-gpt-image26-edit/flare`
Revision: 875

## Versions

- Flare (default): [`openai-gpt-image26-edit/flare`](https://fusara.ai/api/models/openai-gpt-image26-edit/flare/schema.json)
- Sunburst: [`openai-gpt-image26-edit/sunburst`](https://fusara.ai/api/models/openai-gpt-image26-edit/sunburst/schema.json)

POST https://fusara.ai/api/v3/run
Authorization: Bearer <API_KEY>

Receive the full result at webhook_url, or use GET /api/v3/run/{id} for status and result URLs.

## Request schema

[Request schema](https://fusara.ai/api/models/openai-gpt-image26-edit/flare/schema.json)

```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "model",
    "prompt",
    "images"
  ],
  "properties": {
    "model": {
      "type": "string",
      "const": "openai-gpt-image26-edit/flare"
    },
    "size": {
      "enum": [
        "1K",
        "2K",
        "4K"
      ],
      "type": "string",
      "default": "1K"
    },
    "background": {
      "enum": [
        "auto",
        "opaque",
        "transparent"
      ],
      "type": "string",
      "default": "auto"
    },
    "aspect_ratio": {
      "enum": [
        "match_input_image",
        "1:1",
        "3:2",
        "2:3",
        "4:3",
        "3:4",
        "16:9",
        "9:16",
        "21:9",
        "27:16",
        "16:27",
        "9:8",
        "8:9"
      ],
      "type": "string",
      "default": "match_input_image"
    },
    "prompt": {
      "type": "string",
      "maxLength": 32000,
      "minLength": 1
    },
    "images": {
      "type": "array",
      "minItems": 1,
      "maxItems": 16,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "media_id": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4294967295
          },
          "url": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048,
            "pattern": "^[Hh][Tt][Tt][Pp][Ss]?://"
          }
        },
        "oneOf": [
          {
            "required": [
              "media_id"
            ]
          },
          {
            "required": [
              "url"
            ]
          }
        ]
      }
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Optional public HTTPS callback URL; no registration required. Receives the full Run JSON, ready to save without another GET. Signature verification is optional; without it, sender authenticity is unverified."
    }
  },
  "description": "Model-specific input combinations and conditional limits are also validated by the server before acceptance."
}
```
