---
title: FLUX.2 [pro] | Runware Docs
url: https://runware.ai/docs/models/bfl-flux-2-pro
description: High control FLUX.2 Pro image generation and editing
---
# FLUX.2 [pro]

FLUX.2 [pro] is a flow-matching latent transformer for precise text-to-image synthesis and reference-guided editing. It supports multi image references, 4MP outputs, and Mistral-based text conditioning for controllable composition and robust iterative edits that preserve structure.

- **ID**: `bfl:5@1`
- **Status**: live
- **Creator**: Black Forest Labs
- **Release Date**: November 26, 2025
- **Capabilities**: Text to Image, Image to Image, Image Editing

## Pricing

- **1k**: `$0.03`

## 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-pro#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-pro#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-pro#request-outputtype)

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

Image output type.

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

### [outputFormat](https://runware.ai/docs/models/bfl-flux-2-pro#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-pro#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-pro#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-pro#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-pro#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-pro#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-pro#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-pro#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-pro#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-pro#request-includecost)

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

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/bfl-flux-2-pro#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-pro#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-pro#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `bfl:5@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-pro#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-pro#request-width)

- **Type**: `integer`
- **Required**: true
- **Min**: `256`
- **Max**: `2048`
- **Step**: `16`

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-pro#request-height)

- **Type**: `integer`
- **Required**: true
- **Min**: `256`
- **Max**: `2048`
- **Step**: `16`

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-pro#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-pro#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-pro#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-pro#response-tasktype)

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

Type of the task.

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

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

UUID of the task.

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

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

UUID of the output image.

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

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

URL of the output image.

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

- **Type**: `string`

Base64-encoded image data.

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

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

Data URI of the output image.

### [seed](https://runware.ai/docs/models/bfl-flux-2-pro#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-pro#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

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

- **Type**: `float`

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

## Examples

### Volcanic Glasshouse Orchid Procession (Image to Image)

![Volcanic Glasshouse Orchid Procession](https://assets.runware.ai/examples/bfl-flux-2-pro/0ec22684-19b7-4413-abd8-968c524b8bdb.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "95a328fa-7359-4afd-91f9-6fc8d09071b5",
  "model": "bfl:5@1",
  "positivePrompt": "Create a grand scene inside a volcanic glasshouse where a ceremonial orchid procession crosses black basalt paths between terraced pools and towering panes of curved glass. Use the reference images to blend architecture, rare flowers, and the procession into one cohesive composition. Emphasize glossy obsidian stone, mineral haze, copper framework, dense humid air, intricate botanical textures, and rhythmic spacing of figures under woven canopies. Cinematic scale, precise perspective, natural color harmony, refined realism, rich environmental storytelling, highly detailed surfaces, elegant depth.",
  "width": 1536,
  "height": 1024,
  "seed": 15903,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/64d5f0f7-e107-4e66-b1b2-475363c9825d.jpg",
      "https://assets.runware.ai/assets/inputs/f468cd76-38f7-42d8-9b84-162c6512ddb7.jpg",
      "https://assets.runware.ai/assets/inputs/a9b3eff0-b15e-43e7-9ae7-9482316cbecb.jpg"
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "95a328fa-7359-4afd-91f9-6fc8d09071b5",
  "imageUUID": "045f8a5d-1974-4822-b1b3-9a04ef9e86f2",
  "imageURL": "https://im.runware.ai/image/os/a21d05/ws/2/ii/045f8a5d-1974-4822-b1b3-9a04ef9e86f2.jpg",
  "seed": 15903,
  "cost": 0.09
}
```

---

### Submerged Grand Library Atrium (Text to Image)

![Submerged Grand Library Atrium](https://assets.runware.ai/examples/bfl-flux-2-pro/413c6612-fd3f-4c61-9749-f58c4a827f10.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "57dfe0a1-910d-4be7-ba1a-bdc5c876e655",
  "model": "bfl:5@1",
  "positivePrompt": "A vast sunken library atrium beneath clear seawater, seen from inside the structure: towering marble arches wrapped in drifting kelp, suspended ladders, floating open books with warped pages, schools of silver fish weaving through shafts of sunlight from a shattered glass ceiling, a circular mosaic floor partly buried in silt, a central reading dais with a toppled globe and brass instruments, tiny air bubbles rising from cracked stone seams, distant rays illuminating dust-like particles in the water, cinematic scale, exquisite texture detail, elegant symmetry, serene abandoned grandeur, natural color palette of teal, ivory, gold, and muted coral, ultra-detailed environment, believable underwater optics, deep perspective, masterful composition",
  "width": 1536,
  "height": 1024,
  "seed": 16070,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "57dfe0a1-910d-4be7-ba1a-bdc5c876e655",
  "imageUUID": "3d5293e0-50f5-44a9-9784-0136b0795b0c",
  "imageURL": "https://im.runware.ai/image/os/a13d12/ws/3/ii/3d5293e0-50f5-44a9-9784-0136b0795b0c.jpg",
  "seed": 16070,
  "cost": 0.045
}
```

---

### Tidal Clockwork Harbor Panorama (Image to Image)

![Tidal Clockwork Harbor Panorama](https://assets.runware.ai/examples/bfl-flux-2-pro/f0dd096b-1cd1-4b2a-8713-0846034b75c6.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "f897e528-4f85-4abe-9457-3c2dd09ba9ce",
  "model": "bfl:5@1",
  "positivePrompt": "A grand panoramic harbor city built around colossal tidal clockwork, terraced quays, suspended bridges, and cathedral-scale brass mechanisms turning above the waterline; fishing vessels and cargo barges dwarfed by gigantic engraved gears; airborne manta-like creatures circling through bright maritime air; wet cobblestones, salt spray, oxidized metal, canvas sails, carved stone arches, cranes, pulleys, and intricate mechanical details; cinematic wide composition, believable scale, highly detailed textures, atmospheric depth, natural color harmony, crisp focus, masterful environmental storytelling",
  "width": 1536,
  "height": 1024,
  "seed": 27270,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/bdaeb71c-ebf0-49de-b3da-590fae66fb93.jpg",
      "https://assets.runware.ai/assets/inputs/c1d8b027-b1c2-4a58-b50d-72126cef99b7.jpg",
      "https://assets.runware.ai/assets/inputs/94cbc938-56de-4405-8d1a-838a112330fd.jpg"
    ]
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "f897e528-4f85-4abe-9457-3c2dd09ba9ce",
  "imageUUID": "fd294a8f-6df8-454f-838b-a415b804c443",
  "imageURL": "https://im.runware.ai/image/os/a13d12/ws/3/ii/fd294a8f-6df8-454f-838b-a415b804c443.jpg",
  "seed": 27270,
  "cost": 0.09
}
```

---

### Wind-Carved Salt Cathedral (Text to Image)

![Wind-Carved Salt Cathedral](https://assets.runware.ai/examples/bfl-flux-2-pro/adc70bbf-2464-4ca3-b6ab-0fa0a91e062f.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "4dd729da-e356-413b-8e48-794bee98a888",
  "model": "bfl:5@1",
  "positivePrompt": "A monumental cathedral formed entirely from white salt and translucent mineral crystal on a vast dried lakebed, soaring ribbed vaults eroded by centuries of wind, delicate buttresses shaped like frozen waves, long processional path of cracked geometric salt tiles leading to the entrance, tiny robed pilgrims and pack animals for scale, suspended prayer ribbons fluttering between carved arches, airborne salt dust catching angled sunrise light, pale apricot and silver sky after a storm, distant mirage shimmer on the horizon, hyper-detailed textures of crusted salt, carved mineral veins, and weathered surfaces, cinematic wide shot, awe-filled atmosphere, grand sense of scale, masterful depth, crisp focal clarity, realistic volumetric haze, high dynamic range, richly detailed environmental storytelling",
  "width": 1536,
  "height": 1024,
  "seed": 73410,
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true,
      "safetyTolerance": 2
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "4dd729da-e356-413b-8e48-794bee98a888",
  "imageUUID": "1a3551a7-b095-42a3-8e6e-9fffe584e0f3",
  "imageURL": "https://im.runware.ai/image/os/a25d05/ws/3/ii/1a3551a7-b095-42a3-8e6e-9fffe584e0f3.jpg",
  "seed": 73410,
  "cost": 0.045
}
```