---
title: Bria Image Replace Background | Runware Docs
url: https://runware.ai/docs/models/bria-image-replace-background
description: AI background replacement for production ready images
---
# Bria Image Replace Background

![Bria Image Replace Background](https://assets.runware.ai/covers/bria-image-replace-background.jpg)

Bria Image Replace Background replaces image backgrounds from text prompts or reference images. It preserves the main subject with high fidelity. Ideal for automated product visuals, creative workflows, and bulk content pipelines.

- **Status**: live
- **ID**: `bria:11@1`
- Try in Playground
- **Creator**: Bria
- **Release Date**: September 18, 2025
- **Capabilities**: Image to Image, Edit, Checkpoint

## Pricing

$0.04 per run · ~14s per request

**4 example generations**

- [reference-to-image](https://runware.ai/docs/models/bria-image-replace-background/examples#example-arctic-radio-operator-portrait-restoration): `$0.04` (~12s)
- [background-replacement](https://runware.ai/docs/models/bria-image-replace-background/examples#example-linocut-wetland-scientist-portrait): `$0.04` (~19s)
- [background-replacement](https://runware.ai/docs/models/bria-image-replace-background/examples#example-polar-night-sauna-campaign-image): `$0.04` (~16s)
- [reference-to-image](https://runware.ai/docs/models/bria-image-replace-background/examples#example-coral-avalanche-transceiver-colorway-catalog): `$0.04` (~10s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Compatibility & Validation

Provide exactly one of: `positivePrompt`, `inputs.referenceImages`.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/bria-image-replace-background#request-tasktype)

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

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#request-outputtype)

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

Image output type.

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

### [outputFormat](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#request-safety)

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

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/bria-image-replace-background#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.

### [image](https://runware.ai/docs/models/bria-image-replace-background#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

### [referenceImages](https://runware.ai/docs/models/bria-image-replace-background#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Min items**: `1`
- **Max items**: `4`

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/bria-image-replace-background#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `bria:11@1`

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/bria-image-replace-background#request-positiveprompt)

- **Type**: `string`
- **Min**: `2`
- **Max**: `3000`

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/bria-image-replace-background#request-negativeprompt)

- **Type**: `string`
- **Min**: `2`
- **Max**: `3000`

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)

### [seed](https://runware.ai/docs/models/bria-image-replace-background#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)

**Features**

Standalone addons and post-processing features.

### [watermark](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#request-advancedfeatures-watermark-text)

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

Watermark text.

#### [image](https://runware.ai/docs/models/bria-image-replace-background#request-advancedfeatures-watermark-image)

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

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

#### [displayPosition](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#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/bria-image-replace-background#request-advancedfeatures-watermark-fontcolor)

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

Text color in hex format.

#### [bgColor](https://runware.ai/docs/models/bria-image-replace-background#request-advancedfeatures-watermark-bgcolor)

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

Background color in hex format.

**Provider Settings**

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

### [enhanceReferenceImages](https://runware.ai/docs/models/bria-image-replace-background#request-providersettings-bria-enhancereferenceimages)

- **Path**: `providerSettings.bria.enhanceReferenceImages`
- **Type**: `boolean`
- **Default**: `true`

Apply additional enhancement to reference images.

### [forceBackgroundDetection](https://runware.ai/docs/models/bria-image-replace-background#request-providersettings-bria-forcebackgrounddetection)

- **Path**: `providerSettings.bria.forceBackgroundDetection`
- **Type**: `boolean`

Force background detection even with existing alpha channel.

### [mode](https://runware.ai/docs/models/bria-image-replace-background#request-providersettings-bria-mode)

- **Path**: `providerSettings.bria.mode`
- **Type**: `string`
- **Default**: `base`

Background generation behavior controlling quality, prompt adherence and speed.

**Allowed values**: `base` `high_control` `fast`

### [originalQuality](https://runware.ai/docs/models/bria-image-replace-background#request-providersettings-bria-originalquality)

- **Path**: `providerSettings.bria.originalQuality`
- **Type**: `boolean`
- **Default**: `true`

Retain original image resolution. When disabled, output is scaled to 1MP while preserving the original aspect ratio.

### [refinePrompt](https://runware.ai/docs/models/bria-image-replace-background#request-providersettings-bria-refineprompt)

- **Path**: `providerSettings.bria.refinePrompt`
- **Type**: `boolean`
- **Default**: `true`

Automatically refine and optimize prompt.

## Response Parameters

### [taskType](https://runware.ai/docs/models/bria-image-replace-background#response-tasktype)

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

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/bria-image-replace-background#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/bria-image-replace-background#response-imageuuid)

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

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/bria-image-replace-background#response-imageurl)

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

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/bria-image-replace-background#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/bria-image-replace-background#response-imagedatauri)

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

Data URI of the output image.

### [seed](https://runware.ai/docs/models/bria-image-replace-background#response-seed)

- **Type**: `integer`

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

### [NSFWContent](https://runware.ai/docs/models/bria-image-replace-background#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/bria-image-replace-background#response-cost)

- **Type**: `float`

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

## Examples

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

![Arctic Radio Operator Portrait Restoration](https://assets.runware.ai/examples/bria-image-replace-background/7dc426ac-be0d-45de-a6ad-f0099d005a7d.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "e48da961-af00-46b9-8876-0282169c25e9",
  "model": "bria:11@1",
  "negativePrompt": "color image, modern electronics, contemporary furniture, extra people, altered face, changed clothing, changed pose, beauty retouching, plastic skin, sharp digital look, artificial HDR, heavy vignette, sepia tint, collage seams, halos, duplicate headphones, foreground objects covering the subject, captions, signatures, watermark",
  "providerSettings": {
    "bria": {
      "enhanceReferenceImages": true,
      "mode": "base",
      "originalQuality": true
    }
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/b568782d-9aa6-4013-a6f3-1c436a25e9ce.jpg",
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/4a86a1d0-eea1-4dd9-9d17-449eb5b87b2a.jpg"
    ]
  }
}
```

---

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

![Coral Avalanche Transceiver Colorway Catalog](https://assets.runware.ai/examples/bria-image-replace-background/884c5e07-d1eb-49db-9256-53c5aafb83d7.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "5d3976fe-15ed-4266-a868-cd7092142d25",
  "model": "bria:11@1",
  "providerSettings": {
    "bria": {
      "enhanceReferenceImages": true,
      "mode": "base",
      "originalQuality": true
    }
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/73481e15-20f6-423d-90b8-f772987ba82d.jpg",
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/4a043bee-ef39-4e0a-8bf2-c88068f63a33.jpg"
    ]
  }
}
```

---

### background-replacement (background-replacement)

![Linocut Wetland Scientist Portrait](https://assets.runware.ai/examples/bria-image-replace-background/7ecc8e91-0e8f-4e67-ac4a-e302d665a9d1.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "548d8b82-50fe-4ec7-9a01-0bbe388a2b5a",
  "model": "bria:11@1",
  "positivePrompt": "Replace the plain studio background with a richly illustrated tidal salt marsh rendered as a hand-carved reduction linocut print. Layered cordgrass, winding tidal channels, distant low islands, small shorebirds in flight, and a broad rising sun formed from bold carved shapes and expressive hatch marks. Sophisticated limited palette of warm ochre, muted sage green, deep indigo, bone white, and touches of terracotta. Visible ink texture, imperfect registration, deckled graphic edges, strong vertical editorial composition, optimistic conservation mood. Create convincing placement with subtle contact shadow and a few illustrated grass blades near the subject's boots while preserving the photographed scientist, clothing, soil corer, face, pose, proportions, and fine foreground details exactly.",
  "providerSettings": {
    "bria": {
      "mode": "high_control",
      "originalQuality": true,
      "refinePrompt": true
    }
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/96d9139e-90f3-4a07-80ee-a47746fbf820.jpg"
  }
}
```

---

### background-replacement (background-replacement)

![Polar Night Sauna Campaign Image](https://assets.runware.ai/examples/bria-image-replace-background/7eba7336-2078-4cf6-be09-607a5ae551ed.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "46b60c6b-49d6-4601-8585-0d16b7055754",
  "model": "bria:11@1",
  "positivePrompt": "Replace the entire daylight background with a remote Finnish lakeshore during polar-night blue hour in midwinter. Surround the preserved mobile sauna with clean wind-sculpted snow over a frozen lake, a dark birch-and-pine shoreline in the middle distance, low indigo mountains, and a clear cobalt sky fading to a narrow dusty-rose glow at the horizon. Add subtle warm reflections on the snow near the sauna, cool ambient winter light, realistic contact shadows beneath the trailer and wheels, faint ice crystals in the air, and premium naturalistic hospitality photography. Preserve the sauna pod, trailer, proportions, materials, windows, perspective, and framing exactly. No people, vehicles, buildings, signs, text, or logos.",
  "providerSettings": {
    "bria": {
      "mode": "high_control",
      "originalQuality": true,
      "refinePrompt": true
    }
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/b981c419-0b17-439b-9772-67ae53405622.jpg"
  }
}
```