> ## 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.

# Flux 2 on Mage: image generation and edits

> Flux 2 on Mage: image generation and edits from up to 3 input images. Unlimited from Basic at 1K and from Pro at 2K.

Flux 2 is an open-weights image model that handles generation and edits from up to 3 input images. It is unlimited from Basic at 1K, with 2K starting on Pro.

## Overview

| Detail | |
| - | - |
| Type | Image |
| Origin | Open-weights model hosted on Mage's GPUs |
| Models | Flux 2 |
| 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 |
| - | - | - | - | - | - |
| Flux 2 | 1K | Unlimited | Unlimited | Unlimited | Unlimited |
| Flux 2 | 2K | Gems | Unlimited | Unlimited | Unlimited |

Add-ons such as extra reference images may raise a run's price and move it to a higher plan or to Gems.

## What it supports on Mage

| Feature | Support |
| - | - |
| Characters and References | No |
| Reference images | Up to 3 |
| LoRAs | No |
| Negative prompts | No |
| Edits an input image | Yes |
| Resolutions | 1K, 2K |

## Best for

* Long prompts with several conditions
* Edits from several reference images

## An example prompt to start from

```text theme={null}
a weathered brass compass resting on a folded nautical chart, morning light through a porthole, shallow depth of field, editorial product photography
```

## Limitations

* Not connected to Characters or References.
* Takes no LoRAs and has no negative prompt field.

## Use via API

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


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