Bria Image Replace Background

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.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Coral Avalanche Transceiver Colorway Catalog

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
]
}
}
]'runware run bria:11@1 \
providerSettings.bria.enhanceReferenceImages=true \
providerSettings.bria.mode=base \
providerSettings.bria.originalQuality=true \
inputs.image=https://assets.runware.ai/assets/inputs/73481e15-20f6-423d-90b8-f772987ba82d.jpg \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/4a043bee-ef39-4e0a-8bf2-c88068f63a33.jpg{
"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"
]
}
}{
"taskType": "imageInference",
"taskUUID": "5d3976fe-15ed-4266-a868-cd7092142d25",
"imageUUID": "f070a911-d54e-47b7-9ebf-43ed124c349b",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/f070a911-d54e-47b7-9ebf-43ed124c349b.jpg",
"seed": 171670823,
"cost": 0.04
}Arctic Radio Operator Portrait Restoration

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
]
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
]
}
}
]'runware run 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 \
providerSettings.bria.mode=base \
providerSettings.bria.originalQuality=true \
inputs.image=https://assets.runware.ai/assets/inputs/b568782d-9aa6-4013-a6f3-1c436a25e9ce.jpg \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/4a86a1d0-eea1-4dd9-9d17-449eb5b87b2a.jpg{
"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"
]
}
}{
"taskType": "imageInference",
"taskUUID": "e48da961-af00-46b9-8876-0282169c25e9",
"imageUUID": "4096f476-3cf6-47c1-bdd0-ca4d077205bb",
"imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/3/ii/4096f476-3cf6-47c1-bdd0-ca4d077205bb.jpg",
"seed": 2079702041,
"cost": 0.04
}Linocut Wetland Scientist Portrait

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.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
providerSettings.bria.originalQuality=true \
providerSettings.bria.refinePrompt=true \
inputs.image=https://assets.runware.ai/assets/inputs/96d9139e-90f3-4a07-80ee-a47746fbf820.jpg{
"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"
}
}{
"taskType": "imageInference",
"taskUUID": "548d8b82-50fe-4ec7-9a01-0bbe388a2b5a",
"imageUUID": "90059f95-7f78-47a7-bc5c-1936b5680cc4",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/90059f95-7f78-47a7-bc5c-1936b5680cc4.jpg",
"seed": 602233698,
"cost": 0.04
}Polar Night Sauna Campaign Image

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.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
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'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"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"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run 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 \
providerSettings.bria.originalQuality=true \
providerSettings.bria.refinePrompt=true \
inputs.image=https://assets.runware.ai/assets/inputs/b981c419-0b17-439b-9772-67ae53405622.jpg{
"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"
}
}{
"taskType": "imageInference",
"taskUUID": "46b60c6b-49d6-4601-8585-0d16b7055754",
"imageUUID": "b59547ca-8b9f-4cd8-a05f-bc330148f486",
"imageURL": "https://im.runware.ai/image/os/a10dlim3/ws/3/ii/b59547ca-8b9f-4cd8-a05f-bc330148f486.jpg",
"seed": 718941031,
"cost": 0.04
}