---
title: FLUX.2 [klein] 9B Base | Runware Docs
url: https://runware.ai/docs/models/bfl-flux-2-klein-9b-base
description: Undistilled foundation model for high-quality image generation and editing
---
# FLUX.2 [klein] 9B Base

![FLUX.2 [klein] 9B Base](https://assets.runware.ai/covers/bfl-flux-2-klein-9b-base.jpg)

FLUX.2 [klein] 9B Base is the undistilled foundation model of the Klein family, offering full model capacity for image generation and editing. It is optimized for fine-tuning, customization, and post-training workflows where flexibility, control, and maximum training signal are required.

- **Status**: live
- **ID**: `runware:400@3`
- Try in Playground
- **Creator**: Black Forest Labs
- **Release Date**: January 15, 2026
- **Zero Data Retention**: Yes
- **Capabilities**: Text to Image, Image to Image, Edit, Checkpoint

## Pricing

$0.0116 from, per run · ~17s per request

**Measured runs**

- 512×512 · steps 28: `$0.0116` (~15s)
- 1024×1024 · steps 28: `$0.0233` (~22s)
- 1024×1024 · steps 50: `$0.0387` (~32s)
- 2048×2048 · steps 28: `$0.0871` (~56s)

**4 example generations**

- [text-to-image](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base/examples#example-harbor-pilot-picture-book-spread) · 1344×768: `$0.00338` (~4s)
- [text-to-image](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base/examples#example-avalanche-rescue-team-portrait-composite) · 1344×768: `$0.00338` (~4s)
- [reference-to-image](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base/examples#example-coastal-harvest-workwear-lookbook) · 1024×1024: `$0.0091` (~16s)
- [reference-to-image](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base/examples#example-fog-harvester-campaign-key-visual) · 1024×1024: `$0.0091` (~17s)

billed by compute time, so a request costs what it took · times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Compatibility & Validation

`acceleration` cannot be used with `acceleratorOptions`.

---

`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-klein-9b-base#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-klein-9b-base#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-klein-9b-base#request-outputtype)

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

Image output type.

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

### [outputFormat](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#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-klein-9b-base#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-klein-9b-base#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses 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/models-api/webhooks) (platform)

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

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

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

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

### [uploadEndpoint](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#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-klein-9b-base#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (1 property)`

Content safety checking configuration for image generation.

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

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

Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.

### [ttl](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#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-klein-9b-base#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#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.

### [acceleration](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleration)

- **Type**: `string`
- **Default**: `high`

Optimization level.

**Allowed values**: `none` `low` `medium` `high`

### [acceleratorOptions](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions)

- **Path**: `acceleratorOptions.cacheEndStep`
- **Type**: `object (10 properties)`

Advanced caching mechanisms to speed up generation.

#### [cacheEndStep](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-cacheendstep)

- **Path**: `acceleratorOptions.cacheEndStep`
- **Type**: `integer`
- **Min**: `1`

Absolute step number to end caching. Must be greater than `cacheStartStep` and less than or equal to `steps`.

#### [cacheEndStepPercentage](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-cacheendsteppercentage)

- **Path**: `acceleratorOptions.cacheEndStepPercentage`
- **Type**: `integer`
- **Min**: `1`
- **Max**: `100`

Percentage of steps to end caching. Alternative to `cacheEndStep`. Must be greater than `cacheStartStepPercentage`.

#### [cacheMaxConsecutiveSteps](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-cachemaxconsecutivesteps)

- **Path**: `acceleratorOptions.cacheMaxConsecutiveSteps`
- **Type**: `integer`
- **Min**: `1`
- **Max**: `5`
- **Default**: `3`

Limits the maximum number of consecutive steps that can use cached computations before forcing a fresh computation.

#### [cacheStartStep](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-cachestartstep)

- **Path**: `acceleratorOptions.cacheStartStep`
- **Type**: `integer`
- **Min**: `0`

Absolute step number to start caching. Must be less than `cacheEndStep`.

#### [cacheStartStepPercentage](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-cachestartsteppercentage)

- **Path**: `acceleratorOptions.cacheStartStepPercentage`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `99`

Percentage of steps to start caching. Alternative to `cacheStartStep`. Must be less than `cacheEndStepPercentage`.

#### [teaCache](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-teacache)

- **Path**: `acceleratorOptions.teaCache`
- **Type**: `boolean`

TeaCache acceleration for transformer-based models. Estimates step differences to skip redundant computations.

#### [teaCacheDistance](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-teacachedistance)

- **Path**: `acceleratorOptions.teaCacheDistance`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`
- **Step**: `0.01`
- **Default**: `0.5`

Controls the aggressiveness of the TeaCache feature. Lower values prioritize quality, higher values prioritize speed.

#### [dbCache](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-dbcache)

- **Path**: `acceleratorOptions.dbCache`
- **Type**: `boolean`

DB Cache (CacheDiT) acceleration. Caches and reuses intermediate transformer block outputs to skip redundant computations.

#### [dbCacheThreshold](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-dbcachethreshold)

- **Path**: `acceleratorOptions.dbCacheThreshold`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`
- **Step**: `0.01`
- **Default**: `0.25`

Controls the sensitivity threshold for DB Cache. Lower values reuse cached blocks more aggressively, higher values prioritize quality.

#### [dbCacheSkipInterval](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-acceleratoroptions-dbcacheskipinterval)

- **Path**: `acceleratorOptions.dbCacheSkipInterval`
- **Type**: `integer`
- **Min**: `1`
- **Default**: `5`

Controls how many steps to skip between cache refreshes. Higher values skip more steps for faster generation at the cost of quality.

**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-klein-9b-base#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Min items**: `1`
- **Max items**: `4`
- **Aspect ratio (each)**: `1:8 to 8:1`

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

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `runware:400@3`

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

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

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

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [negativePrompt](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-negativeprompt)

- **Type**: `string`
- **Min**: `1`
- **Max**: `10000`

Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).

**Learn more** (1 resource):

- [Prompts: Negative Prompts](https://runware.ai/docs/learn/prompts#negative-prompts) (learn)

### [width](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-width)

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

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [height](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-height)

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

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [seed](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#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):

- [Seed](https://runware.ai/docs/learn/seed) (learn)

### [steps](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-steps)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `50`
- **Default**: `28`

Total number of denoising steps. Higher values generally produce more detailed results but take longer.

**Learn more** (1 resource):

- [Steps](https://runware.ai/docs/learn/steps) (learn)

### [scheduler](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-scheduler)

- **Type**: `string`

Scheduler to use for the diffusion process.

**Allowed values**: `DDIM` `DDIMScheduler` `DDPMScheduler` `DEISMultistepScheduler` `Default` `DPM++` `DPM++ 2M` `DPM++ 2M Beta` `DPM++ 2M Exponential` `DPM++ 2M Karras` `DPM++ 2M SDE` `DPM++ 2M SDE Beta` `DPM++ 2M SDE Exponential` `DPM++ 2M SDE Karras` `DPM++ 2M SDE Uniform` `DPM++ 2M Uniform` `DPM++ 3M` `DPM++ 3M Beta` `DPM++ 3M Exponential` `DPM++ 3M Karras` `DPM++ 3M SDE Uniform` `DPM++ 3M Uniform` `DPM++ Beta` `DPM++ Exponential` `DPM++ Karras` `DPM++ SDE` `DPM++ SDE Beta` `DPM++ SDE Exponential` `DPM++ SDE Karras` `DPM++ Uniform` `DPM++ Uniform Beta` `DPM++ Uniform Exponential` `DPM++ Uniform Karras` `DPMSolverMultistepInverse` `DPMSolverMultistepScheduler` `DPMSolverSinglestepScheduler` `EDMDPMSolverMultistepScheduler` `EDMEulerScheduler` `Euler` `Euler a` `Euler Beta` `Euler Exponential` `Euler Karras` `EulerAncestralDiscreteScheduler` `EulerDiscreteScheduler` `FlowMatchEulerDiscreteScheduler` `Heun` `HeunDiscreteScheduler` `Heun Karras` `IPNDMScheduler` `IPNDM Uniform` `IPNDM Uniform Beta` `IPNDM Uniform Exponential` `IPNDM Uniform Karras` `KDPM2AncestralDiscreteScheduler` `KDPM2DiscreteScheduler` `LCM` `LCMScheduler` `LMS` `LMSDiscreteScheduler` `LMS Karras` `PNDMScheduler` `TCDScheduler` `UniPC` `UniPC 2M` `UniPC 2M Karras` `UniPC 2M Uniform` `UniPC 3M` `UniPC 3M Karras` `UniPC 3M Uniform` `UniPC Karras` `UniPC Uniform` `UniPC Uniform Beta` `UniPC Uniform Exponential` `UniPC Uniform Karras`

**Learn more** (2 resources):

- [Schedulers](https://runware.ai/docs/learn/schedulers) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [CFGScale](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-cfgscale)

- **Type**: `float`
- **Min**: `1`
- **Max**: `20`
- **Step**: `0.01`
- **Default**: `3.5`

Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.

**Learn more** (1 resource):

- [Cfg Scale](https://runware.ai/docs/learn/cfg-scale) (learn)

### [lora](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-lora)

- **Path**: `lora.model`
- **Type**: `array of objects (2 properties)`
- **Min items**: `1`

With LoRA (Low-Rank Adaptation), you can adapt a model to specific styles or features by emphasizing particular aspects of the data. This technique enhances the quality and relevance of generated content and can be especially useful when the output needs to adhere to a specific artistic style or follow particular guidelines.

Multiple LoRA models can be used simultaneously to achieve different adaptation goals.

**Examples**:

```json
"lora": [
  {
    "model": "<lora-model-air>",
    "weight": 0.8
  }
]
```

**Learn more** (1 resource):

- [Loras](https://runware.ai/docs/learn/loras) (learn)

#### [model](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-lora-model)

- **Path**: `lora.model`
- **Type**: `string`
- **Required**: true

LoRA model identifier.

#### [weight](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-lora-weight)

- **Path**: `lora.weight`
- **Type**: `float`
- **Min**: `-4`
- **Max**: `4`
- **Step**: `0.01`
- **Default**: `1`

Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.

**Features**

Standalone addons and post-processing features.

### [watermark](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark)

- **Path**: `advancedFeatures.watermark`
- **Type**: `object (6 properties)`

Configuration object for adding watermarks to generated videos. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either `text` or `image` content for the watermark, but not both.

**Text watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "© 2025 Company",
    "displayPosition": "bottom-right",
    "opacity": 0.6,
    "fontColor": "#ffffff",
    "bgColor": "#000000"
  }
}
```

**Image watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "image": "c64351d5-4c59-42f7-95e1-eace013eddab",
    "displayPosition": "top-left",
    "opacity": 0.6
  }
}
```

**Tiled watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "PREVIEW",
    "tiled": true,
    "opacity": 0.4,
    "fontColor": "#cccccc"
  }
}
```

#### [text](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-text)

- **Path**: `advancedFeatures.watermark.text`
- **Type**: `string`
- **Min**: `2`
- **Max**: `32`

Watermark text.

#### [image](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-image)

- **Path**: `advancedFeatures.watermark.image`
- **Type**: `string`

Watermark image (UUID, URL, Data URI, or Base64).

#### [displayPosition](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-displayposition)

- **Path**: `advancedFeatures.watermark.displayPosition`
- **Type**: `string`

Watermark position.

**Allowed values**: `top-left` `top-center` `top-right` `center-left` `center-center` `center-right` `bottom-left` `bottom-center` `bottom-right` `tiled`

#### [opacity](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-opacity)

- **Path**: `advancedFeatures.watermark.opacity`
- **Type**: `float`
- **Min**: `0.1`
- **Max**: `1`
- **Step**: `0.01`

Watermark opacity.

#### [fontColor](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-fontcolor)

- **Path**: `advancedFeatures.watermark.fontColor`
- **Type**: `string`

Text color in hex format.

#### [bgColor](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#request-advancedfeatures-watermark-bgcolor)

- **Path**: `advancedFeatures.watermark.bgColor`
- **Type**: `string`

Background color in hex format.

## Response Parameters

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

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

Identifier for the type of task this response belongs to.

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

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

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

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

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

UUID of the output image.

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

- **Type**: `string`
- **Format**: `uri`

URL of the output image.

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

- **Type**: `string`

Base64-encoded image data.

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

- **Type**: `string`
- **Format**: `uri`

Data URI of the output image.

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

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/bfl-flux-2-klein-9b-base#response-cost)

- **Type**: `float`

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

## Examples

### text-to-image (text-to-image)

![Harbor Pilot Picture-Book Spread](https://assets.runware.ai/examples/bfl-flux-2-klein-9b-base/1f04df60-9d8d-4e06-83cc-7fe770e682c9.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "404fc4cd-3594-4651-8e03-1c5bcc78aaa1",
  "model": "runware:400@3",
  "positivePrompt": "Finished landscape double-page children’s picture-book spread, full bleed, illustrating a real harbor pilot at work before sunrise. A capable middle-aged woman harbor pilot in a bright safety-orange waterproof suit climbs from a small orange pilot launch onto the rope ladder of an immense deep-navy container ship. Place the pilot and ladder clearly in the left third; the launch bucks gently through foamy waves below while its deckhand watches from a safe position. The cargo ship’s towering curved hull fills the right two-thirds, creating a dramatic sense of scale, with the quiet center gutter falling across an uncluttered section of painted steel rather than any face or important action. In the distance: breakwater lighthouse, low port cranes, gulls and stacked containers softened by rain. Early dawn light breaks beneath heavy teal storm clouds, casting a narrow band of pale apricot and lavender across the horizon and warm reflections over the wet hull. Art direction: sophisticated hand-cut paper collage combined with opaque gouache, dry-brush spray, screenprinted grain and bold simplified shapes; limited palette of deep teal, indigo, safety orange, warm cream, muted lavender and sea-glass green. Energetic diagonal composition, tactile layered edges, expressive water, accurate maritime safety gear and believable vessel details, adventurous but reassuring mood, age 6–9 trade picture-book quality. One continuous panoramic scene, no panels, no border, no captions, no lettering, no logos, no watermark.",
  "width": 1344,
  "height": 768
}
```

---

### text-to-image (text-to-image)

![Avalanche Rescue Team Portrait Composite](https://assets.runware.ai/examples/bfl-flux-2-klein-9b-base/fae862f3-fbf5-47c2-a9e8-a7529d7aad5b.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "6890874f-2f5e-4d6d-b7f0-46f209abbf91",
  "model": "runware:400@3",
  "positivePrompt": "Create a polished environmental group portrait for an alpine rescue organization’s annual report. Seven professional avalanche patrol members stand and kneel beside a matte-red tracked snowcat at a high-mountain rescue station, wearing coordinated crimson technical uniforms with subtle reflective details, helmets carried at their sides, practical avalanche packs and radios. Seamlessly add the team’s newly certified subject: a sturdy black-and-tan Belgian Malinois rescue dog seated proudly at the exact center of the group, wearing a fitted red search harness, naturally integrated with correct scale, paw contact, shadows, perspective and reflected light. Everyone looks toward the camera with calm confidence and genuine camaraderie; varied ages and genders, believable weathered faces, relaxed asymmetrical arrangement rather than a rigid lineup. Fresh snow, pale turquoise shadows, windblown ridgeline and distant peaks behind them. Clear cold sunrise with soft coral light touching the summits, crisp directional illumination and subtle fill on faces, visible breath, restrained red, ice-blue and warm peach palette. Premium documentary photography, realistic fabric and fur detail, natural skin texture, 35mm lens character, eye-level landscape framing, team filling the central two-thirds of the frame, snowcat providing a strong diagonal, generous mountain context, cohesive single photograph with no evidence of compositing. No lettering, logos, borders or watermark.",
  "negativePrompt": "extra people, duplicate people, duplicate dog, multiple dogs, malformed hands, extra limbs, fused bodies, floating feet, incorrect shadows, oversized dog, tiny dog, stiff lineup, obscured faces, fashion poses, studio backdrop, cartoon, illustration, excessive HDR, oversaturated colors, text, captions, logos, watermark",
  "width": 1344,
  "height": 768
}
```

---

### reference-to-image (reference-to-image)

![Coastal Harvest Workwear Lookbook](https://assets.runware.ai/examples/bfl-flux-2-klein-9b-base/3e4b7752-9a38-455e-ac86-9cfb65e29f96.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "19518168-2de5-4374-a5f8-6699501b634a",
  "model": "runware:400@3",
  "positivePrompt": "Create a finished square fashion lookbook photograph for a premium coastal workwear catalog. Use the model and exact outfit from reference image 1: preserve the waxed ochre hooded smock, its oversized patch pockets and seam construction, the deep teal waterproof bib trousers, cream sweater cuffs, dark green rubber boots, and the model's androgynous appearance. Place the model convincingly within the seaweed-drying yard from reference image 2, retaining its timber kelp racks, hanging brown seaweed, pale green corrugated shed, damp gravel, mist and distant slate-blue ocean. Full-length standing pose with one hand lightly touching a timber rack and the other relaxed, calm direct gaze, practical confidence rather than runway theatrics. Make the clothing the unmistakable catalog focus while clearly communicating its working coastal context. Soft overcast daylight, subtle cool maritime atmosphere, ochre and teal garments contrasting against muted sea green, umber and slate blue. Natural fabric texture, realistic waxed cotton sheen, visible waterproof material, accurate garment fit, editorial medium-format photography, crisp but not overly retouched, understated contemporary art direction, generous breathing room, balanced square composition, no typography, no logos, no border, no collage.",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/a6ccae78-4508-4c63-83e8-8ff917a10680.jpg",
      "https://assets.runware.ai/assets/inputs/091a8a57-5500-41ac-959b-0ea290e8f694.jpg"
    ]
  }
}
```

---

### reference-to-image (reference-to-image)

![Fog Harvester Campaign Key Visual](https://assets.runware.ai/examples/bfl-flux-2-klein-9b-base/07d3a863-faab-408e-974d-9ea2a9f67807.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "3f8ecf38-e079-451d-bb3a-5a7f8127336c",
  "model": "runware:400@3",
  "positivePrompt": "Create a finished square brand marketing campaign key visual for an atmospheric water-harvesting technology company. Use reference image 1 as the exact product-design guide: preserve the slim brushed-aluminum frame, dense vertical stainless-steel wire field, realistic engineering, proportions, and terracotta-red collection trough. Use reference image 2 as the environmental and art-direction guide: the same coastal Atacama terrain, pearl-gray marine fog, pale ochre mineral ground, peach dawn light, and restrained natural palette.\n\nShow an elegant array of seven fog-harvesting panels installed across a low desert ridge, following the contour of the land. The nearest panel occupies the right foreground in crisp three-quarter view; the remaining panels recede rhythmically into fog toward the left background. Fine mist beads on the vertical wires, with a few sharply resolved droplets catching the dawn light like clear glass. A narrow ribbon of collected water is visible inside the foreground terracotta trough, communicating the product benefit without diagrams or typography. Integrate every structure convincingly into the ground with discreet footings and physically accurate perspective.\n\nArt direction: premium global sustainability campaign, precise industrial design photography blended with cinematic environmental editorial photography, calm and quietly optimistic rather than futuristic. Soft directional sunrise creates delicate highlights on wet metal while fog diffuses the distance. Strong graphic composition with generous open fog in the upper-left area for optional campaign copy in later layout, but generate no text. High material realism, subtle film grain, natural tonal range, clean art direction, coherent shadows, sophisticated mineral color grading. One finished standalone image, not a mockup.",
  "negativePrompt": "Words, lettering, logos, labels, captions, interface elements, infographic arrows, people, vehicles, city skyline, lush greenery, fantasy machinery, solar panels, wind turbines, oversized droplets, flooding, rainstorm, neon colors, glossy science-fiction styling, distorted frames, tangled wires, duplicate overlapping structures, implausible supports, low-detail background, collage seams, split screen, product floating above the ground",
  "width": 1024,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/077943e0-fb04-478b-b05b-0cda20f3a137.jpg",
      "https://assets.runware.ai/assets/inputs/20dade2f-6480-46c6-bc14-c2e8e4820be8.jpg"
    ]
  }
}
```