> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unifically.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT Image 2.5

> Generate and edit images with OpenAI's GPT Image 2.5 Flare and Sunburst. See supported inputs, parameters, pricing, response fields, and API examples.

Generate and edit images with GPT Image 2.5, OpenAI's image model in two variants.

**Flare** is the fast tier for everyday generation and editing. **Sunburst** is the precision tier — finer detail and closer adherence to your reference images, at longer generation times. Both take the same parameters, so switching is a model id change.

## Models

```
openai/gpt-image-2.5-flare
openai/gpt-image-2.5-sunburst
```

## Parameters

| Parameter      | Type    | Required | Description                                                                                                                 |
| -------------- | ------- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
| `prompt`       | string  | Yes      | Text description of the image to generate. Max 5,000 characters                                                             |
| `aspect_ratio` | string  | No       | `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `9:21`, `21:9`, `1:2`, `2:1`, `1:3`, `3:1`. Default: `1:1` |
| `resolution`   | string  | No       | `1K`, `2K`, `4K`. Default: `1K`                                                                                             |
| `image_urls`   | array   | No       | Reference image URLs for image editing mode. Up to 16                                                                       |
| `nsfw_check`   | boolean | No       | Check uploaded media inputs for NSFW content. Default: `true`                                                               |

## Pricing

Billed per image by output resolution, plus each reference image. The aspect ratio does not change the price.

| Resolution | Flare  | Sunburst |
| ---------- | ------ | -------- |
| 1K         | \$0.03 | \$0.04   |
| 2K         | \$0.05 | \$0.07   |
| 4K         | \$0.08 | \$0.11   |

Each reference image adds **\$0.015**.

## Example Request

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-image-2.5-flare",
    "input": {
      "prompt": "A serene mountain landscape",
      "aspect_ratio": "16:9",
      "resolution": "2K"
    }
  }'
```

## Editing With Reference Images

Pass `image_urls` to edit an existing image, combine subjects, or carry a style across generations. Sunburst holds reference detail more closely.

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-image-2.5-sunburst",
    "input": {
      "prompt": "Place the product on a marble kitchen counter in morning light",
      "aspect_ratio": "4:5",
      "resolution": "2K",
      "image_urls": ["https://example.com/product.png"]
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

<Note>
  **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.
</Note>
