---
title: FLUX.2 [max] | Runware Docs
url: https://runware.ai/docs/models/bfl-flux-2-max
description: The latest state-of-the-art model from Black Forest Labs, generating images grounded in live web information.
---
# FLUX.2 [max]

FLUX.2 [max] is a high-precision text to image and image editing model from Black Forest Labs that generates visuals grounded in real-time information via live web search. It delivers maximum prompt adherence with multi-reference editing and state-of-the-art consistency across identities, objects, and details.

- **ID**: `bfl:7@1`
- **Status**: live
- **Creator**: Black Forest Labs
- **Release Date**: December 16, 2025
- **Capabilities**: Text to Image, Image to Image

## Pricing

Output images cost $0.07 for the first megapixel, then $0.03 per additional megapixel. Reference images cost an additional $0.03 per megapixel.

- **1024x1024**: `$0.07`
- **1536x1024**: `$0.10`
- **1024x1536**: `$0.10`
- **1920x1080**: `$0.13`
- **1024x1024 · 1 reference (1920x1080)**: `$0.16`
- **1024x1024 · 3 references (1024x1024)**: `$0.16`

## Compatibility & Validation

`width` and `height` must be used together.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/bfl-flux-2-max#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/bfl-flux-2-max#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/bfl-flux-2-max#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/bfl-flux-2-max#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/bfl-flux-2-max#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/bfl-flux-2-max#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/bfl-flux-2-max#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/bfl-flux-2-max#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/bfl-flux-2-max#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/bfl-flux-2-max#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/bfl-flux-2-max#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/bfl-flux-2-max#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/bfl-flux-2-max#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/bfl-flux-2-max#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/bfl-flux-2-max#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`

List of reference images (UUID, URL, Data URI, or Base64).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/bfl-flux-2-max#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `bfl:7@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/bfl-flux-2-max#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`
- **Max**: `32000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [width](https://runware.ai/docs/models/bfl-flux-2-max#request-width)

- **Type**: `integer`
- **Min**: `256`
- **Max**: `2048`
- **Step**: `16`
- **Default**: `1024`

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [height](https://runware.ai/docs/models/bfl-flux-2-max#request-height)

- **Type**: `integer`
- **Min**: `256`
- **Max**: `2048`
- **Step**: `16`
- **Default**: `1024`

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [seed](https://runware.ai/docs/models/bfl-flux-2-max#request-seed)

- **Type**: `integer`
- **Min**: `0`
- **Max**: `9223372036854776000`

Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.

**Learn more** (1 resource):

- [Text To Image: Seed Controlling Randomness Deterministically](https://runware.ai/docs/guides/text-to-image#seed-controlling-randomness-deterministically) (guide)

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.bfl\` object.

### [promptUpsampling](https://runware.ai/docs/models/bfl-flux-2-max#request-providersettings-bfl-promptupsampling)

- **Path**: `providerSettings.bfl.promptUpsampling`
- **Type**: `boolean`
- **Default**: `false`

Enable automatic enhancement and expansion of the input prompt.

### [safetyTolerance](https://runware.ai/docs/models/bfl-flux-2-max#request-providersettings-bfl-safetytolerance)

- **Path**: `providerSettings.bfl.safetyTolerance`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `6`
- **Default**: `2`

Tolerance level for content moderation. Lower values are stricter; higher values are more permissive.

## Response Parameters

### [taskType](https://runware.ai/docs/models/bfl-flux-2-max#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/bfl-flux-2-max#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/bfl-flux-2-max#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/bfl-flux-2-max#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/bfl-flux-2-max#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/bfl-flux-2-max#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/bfl-flux-2-max#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/bfl-flux-2-max#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/bfl-flux-2-max#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Breaking News Photoreal Montage (Text to Image)

![Breaking News Photoreal Montage](https://assets.runware.ai/examples/bfl-flux-2-max/99d9a895-79ec-4756-83fc-5bf172c10d0b.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "47c9dc10-c1d3-4952-bef3-496bec358e45",
  "model": "bfl:7@1",
  "positivePrompt": "Photorealistic front-page editorial image of a bustling coastal smart city in 2026 after a major clean-energy breakthrough, sunrise golden light reflecting off modern glass towers, autonomous electric buses, cyclists, pedestrians in contemporary fashion, harbor with offshore wind turbines and sleek cargo ships, large public plaza with interactive climate dashboard screens, subtle news-documentary composition, realistic signage, natural skin tones, crisp architectural detail, atmospheric depth, authentic candid moments, shot like a high-end full-frame press photograph, 35mm lens, ultra-detailed, balanced contrast, globally relevant contemporary aesthetics",
  "width": 1536,
  "height": 1024,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "47c9dc10-c1d3-4952-bef3-496bec358e45",
  "imageUUID": "ed54c92c-5fe0-4afb-9011-b2320dc4513d",
  "imageURL": "https://im.runware.ai/image/os/a03d21/ws/2/ii/ed54c92c-5fe0-4afb-9011-b2320dc4513d.jpg",
  "seed": 835041428,
  "cost": 0.1
}
```

---

### Editorial Fashion Lookbook (Text to Image)

![Editorial Fashion Lookbook](https://assets.runware.ai/examples/bfl-flux-2-max/2f4793bf-4a30-4ed1-81ac-43504f53a3b6.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "cb274f8b-8780-43ce-8db9-e871e8040424",
  "model": "bfl:7@1",
  "positivePrompt": "Luxury editorial fashion portrait for a premium lookbook, a confident model standing in a minimalist sandstone courtyard at golden hour, tailored ivory suit with intricate fabric texture, sculptural gold jewelry, soft wind moving the jacket hem, cinematic natural light, realistic skin detail, crisp eyes, elegant composition, high-end magazine photography, subtle depth of field, refined color grading, ultra-detailed textiles, clean architectural lines, sophisticated and modern, photorealistic",
  "width": 1024,
  "height": 1536,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "cb274f8b-8780-43ce-8db9-e871e8040424",
  "imageUUID": "e0514b1d-3e43-4b6a-b923-43538a724b2f",
  "imageURL": "https://im.runware.ai/image/os/a18d05/ws/2/ii/e0514b1d-3e43-4b6a-b923-43538a724b2f.jpg",
  "seed": 1939063193,
  "cost": 0.1
}
```

---

### Luxury Timepiece Macro Editorial (Text to Image)

![Luxury Timepiece Macro Editorial](https://assets.runware.ai/examples/bfl-flux-2-max/e067cbf9-f2bd-46e5-a639-9b6389c84d67.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "271a2a9d-7283-4abb-aa97-5fe91241a136",
  "model": "bfl:7@1",
  "positivePrompt": "Ultra-detailed luxury wristwatch product editorial, macro close-up on a brushed titanium chronograph watch resting on dark volcanic stone, sapphire crystal reflections, precisely machined bezel markings, visible texture on black rubber strap, subtle water droplets, dramatic studio lighting with soft rim light and controlled specular highlights, premium advertising photography, photorealistic, razor-sharp focus on the watch face, shallow depth of field, elegant negative space for magazine layout, neutral charcoal background, high contrast, refined color grading, extremely realistic materials, no extra objects, no text, no logos",
  "width": 1024,
  "height": 1024,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "271a2a9d-7283-4abb-aa97-5fe91241a136",
  "imageUUID": "5e8ef17b-637b-4e2d-82cb-8b8c95864e78",
  "imageURL": "https://im.runware.ai/image/os/a17d13/ws/2/ii/5e8ef17b-637b-4e2d-82cb-8b8c95864e78.jpg",
  "seed": 724078346,
  "cost": 0.07
}
```