# FLUX 3.1 Image

FLUX 3.1 Image is Black Forest Labs’ image generation and editing model, served in its quality mode for typography, fine detail and multi-reference consistency. It supports text-to-image generation and editing with up to 10 reference images, at output sizes from about 1 megapixel up to 4K (about 16 megapixels).

- **Model ID:** `bfl/flux-3.1-image`
- **Type:** image
- **Providers:** bfl
- **Context window:** Not applicable
- **Maximum output tokens:** 0
- **Pricing:** $0.015/image
- **Canonical page:** https://vercel.com/ai-gateway/models/bfl/flux-3.1-image

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { experimental_generateImage as generateImage } from 'ai';

const result = await generateImage({
  model: 'bfl/flux-3.1-image',
  prompt: 'A red balloon on a wooden table.'
});
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/bfl/flux-3.1-image)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://docs.bfl.ai/flux_3_1/flux31_image_overview)
- [Provider pricing](https://bfl.ai/pricing)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
