# GPT Image 2.6 Flare API

URL: https://useflowapi.com/models/openai/gpt-image-2-6-flare

GPT Image 2.6 Flare costs $0.0115 per image on FlowAPI (1K); you call it with model id `openai/gpt-image-2.6-flare` through one REST endpoint or the MCP server, and failed jobs are refunded in full.

## Prices

| Spec | Price (USD) | Unit | $0.5 trial |
| --- | --- | --- | --- |
| 1K | $0.0115 | per image | Yes |

## Parameters

| Parameter | Values | Default | Note |
| --- | --- | --- | --- |
| `resolution` | 1K | 1K | Selects the price row. |
| `n` | 1–4 | 1 | Images per request; price × n. |

Input modes (`input.type`): `text`, `image`. See [image generation](/docs/image-generation) for references and roles.

## Code

**cURL**

```bash
curl https://useflowapi.com/v1/generations \
  -H "Authorization: Bearer $FLOWAPI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: gpt-image-2-6-flare-1" \
  -d '{"model":"openai/gpt-image-2.6-flare","input":{"type":"text","prompt":"A red bicycle leaning on a brick wall"},"parameters":{"resolution":"1K","n":1}}'
```

**TypeScript (fetch, Node 18+)**

```ts
const res = await fetch('https://useflowapi.com/v1/generations', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FLOWAPI_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'gpt-image-2-6-flare-1',
  },
  body: JSON.stringify({
    "model": "openai/gpt-image-2.6-flare",
    "input": {
      "type": "text",
      "prompt": "A red bicycle leaning on a brick wall"
    },
    "parameters": {
      "resolution": "1K",
      "n": 1
    }
  }),
});
const job = await res.json();
console.log(job.id, job.status, job.price.amount);
```

**Python (requests)**

```python
import os, requests

res = requests.post(
    "https://useflowapi.com/v1/generations",
    headers={
        "Authorization": f"Bearer {os.environ['FLOWAPI_KEY']}",
        "Idempotency-Key": "gpt-image-2-6-flare-1",
    },
    json={
      "model": "openai/gpt-image-2.6-flare",
      "input": {
        "type": "text",
        "prompt": "A red bicycle leaning on a brick wall"
      },
      "parameters": {
        "resolution": "1K",
        "n": 1
      }
    },
)
job = res.json()
print(job["id"], job["status"], job["price"]["amount"])
```

Check the price first with `POST /v1/quotes` (same body, never charges). Then poll `GET /v1/jobs/{id}` ([async jobs](/docs/jobs)).

## Use it from an AI agent

Add the [FlowAPI MCP server](/mcp) to Claude, Cursor or any MCP client and ask for a image with `openai/gpt-image-2.6-flare`.

## About this page

GPT Image 2.6 Flare is made by OpenAI. FlowAPI is an independent API service and is not affiliated with or endorsed by OpenAI. Prices on this page are read from FlowAPI's live price table.

## FAQ

**How much does the GPT Image 2.6 Flare API cost?**

GPT Image 2.6 Flare costs $0.0115 per image at 1K on FlowAPI.

**Is FlowAPI the official GPT Image 2.6 Flare API?**

No. FlowAPI is an independent API service, not affiliated with OpenAI, that runs GPT Image 2.6 Flare for you at a flat price.

**Are failed GPT Image 2.6 Flare jobs refunded?**

Yes. A failed, timed-out or cancelled job is refunded in full automatically.

**How many GPT Image 2.6 Flare images can one request make?**

One request makes 1 to 4 images (parameters.n), priced at $0.0115 each at 1K.
