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

# GPT Image 2, 2.5, and 2.6 on Mage, with animated GIFs

> Run OpenAI's GPT Image 2, 2.5, and 2.6 through Mage, and make animated GIFs on 2.6. Low quality runs unlimited from Basic on 2 and 2.5 and from Pro on 2.6. OpenAI's safety filter applies.

GPT Image 2 is OpenAI's image model, run by OpenAI and reached through Mage, in five versions: GPT Image 2, GPT Image 2.5 Flare and Sunburst, and GPT Image 2.6 Flare and Sunburst. Flare is the fast tier and Sunburst the premium one, and the 2.6 models also make animated GIFs. All five take up to 15 reference images plus Characters, edit an input image, and reach 2K. At the Low quality setting, GPT Image 2 and 2.5 run unlimited from Basic and GPT Image 2.6 from Pro.

## Overview

| Detail | |
| - | - |
| Type | Image |
| Origin | Run by OpenAI, whose safety filter applies |
| Models | GPT Image 2, GPT Image 2.5 Flare, GPT Image 2.5 Sunburst, GPT Image 2.6 Flare, GPT Image 2.6 Sunburst |
| Unlimited from | Basic |

## Unlimited generation by plan

Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan.

| Model | Setting | Basic | Pro | Pro Plus | Max |
| - | - | - | - | - | - |
| GPT Image 2 | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2 | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2.5 Flare | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2.5 Flare | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2.5 Sunburst | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2.5 Sunburst | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6 Flare | 1K, Low quality | Gems | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6 Flare | 2K, Low quality | Gems | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6 Sunburst | 1K, Low quality | Gems | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6 Sunburst | 2K, Low quality | Gems | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6, GIF | Low, 2 to 12 frames | Gems | Unlimited | Unlimited | Unlimited |
| GPT Image 2.6, GIF | Low, 13 to 16 frames | Gems | Gems | Unlimited | Unlimited |

Only the Low quality setting ever runs unlimited; Medium and above always cost Gems, on stills and GIFs alike. GPT Image 2.6 costs more than 2.5 at Low and Medium, so it starts at Pro. Reference images add to a Low run's price: Low at 1K stays on Basic with one reference image, Low at 2K stays on Basic only with none, and Low with several references needs Pro or Pro Plus.

## What it supports on Mage

| Feature | Support |
| - | - |
| Characters and References | Yes |
| Reference images | Up to 15 |
| LoRAs | No |
| Negative prompts | No |
| Edits an input image | Yes |
| Resolutions | 1K and 2K on every version |
| Animated GIFs | GPT Image 2.6 Flare and Sunburst |

## Best for

* Prompts written as instructions rather than descriptions
* Editing with a plain-language instruction, where Sunburst is strongest
* Work that needs many reference images
* Animated GIFs from a prompt or a reference image, on GPT Image 2.6

## Animated GIFs

GPT Image 2.6 Flare and Sunburst make real `.gif` files that loop. On the Advanced page, set **Output** to **GIF**, then choose:

* **Frames:** 2 to 16, 9 by default.
* **Frame Delay:** how long each frame shows, 20 to 2,000 milliseconds, 200 by default. A lower delay plays faster.

Attach an image to animate it. The aspect ratio sets the frame size, near 640 pixels, so Resolution does not apply, and the image refinement pass is not available on a GIF.

All the frames are drawn together as one sheet, so a GIF's price moves in steps of frames rather than with each frame. Each reference image adds 19 Gems, as it does on a still.

| Quality | 2 to 8 frames | 9 frames | 10 to 12 frames | 13 to 16 frames |
| - | - | - | - | - |
| Low | 56 | 69 | 78 | 104 |
| Medium | 99 | 122 | 141 | 183 |
| High | 120 | 148 | 172 | 222 |
| Extra High | 216 | 263 | 306 | 395 |
| Max | 483 | 590 | 687 | 887 |

A finished GIF plays, downloads, and posts like any image. Re-image, Animate, and Edit run on its first frame. Enhance, Refine, Inpaint, and Use Apps are not offered on a GIF, because they return a still.

## An example prompt to start from

```text theme={null}
a matte black coffee bag on a concrete surface, label reading SINGLE ORIGIN in a clean sans-serif, morning light
```

## Limitations

* OpenAI's safety filter applies, and Mage cannot override it.
* Only the Low quality setting runs unlimited; Medium, High, and above always cost Gems. Each reference image adds to the price, so Low at 2K stays on Basic only with no reference attached, and several references move a Low run to Pro or Pro Plus.
* No negative prompt field.
* A GIF has 2 to 16 frames near 640 pixels, and it has no transparent background.

## Use via API

GPT Image 2 is available through the [Mage API](https://docs.mage.space/api/overview.md) as the `gpt_image_2` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](https://docs.mage.space/api/models/gpt_image_2.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.