[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Bria Replace Background V2](https://spiral.ai/integrations/factory-droid/bria-replace-background-v2)

# How to Use Bria Replace Background V2 in Factory Droid

Bria Replace Background V2 turns existing product photos into new studio or lifestyle scenes with realistic lighting and perspective. Use it to change the setting, then check the product for subtle changes.

|  |  |
| --- | --- |
| Model | Bria Replace Background V2 |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bria Replace Background V2 in Factory Droid

- Use Bria Replace Background V2 on the coffee maker photo in public/products. Generate a pale stone kitchen counter against a blue tile wall, with soft light from the left and a front-facing view. Save the result beside the original for comparison.
- Read the campaign brief in this project and use Bria Replace Background V2 to create a matching setting for the candle product photo. Specify the tabletop, wall color, and lighting in English. Flag any visible changes to the candle.
- Use Bria Replace Background V2 to make three separate background studies for our speaker photo: an oak desk, a concrete studio surface, and a living room shelf. Create a local comparison page showing each result beside the original.
- Use Bria Replace Background V2 on the skincare bottle photo in the project. Request a limestone bathroom shelf with soft morning light. Use the negative prompt to exclude extra bottles and decorative plants, then compare the label with the original.
- Use Bria Replace Background V2 to give the product photos in assets/catalog the same scene brief: a light wood tabletop, a muted green wall, and diffuse daylight. Build a contact sheet and flag inconsistent backgrounds or changed product details.

## How to set up Bria Replace Background V2 in Factory Droid

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Bria Replace Background V2**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "bria/replace-background",
    "input": {
      "prompt": "On a smooth kitchen counter in front of a blue and white patterned ceramic tile wall. A yellow ceramic mug sits to the right. Shot from a straight-on front…"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Bria Replace Background V2 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Bria Replace Background V2 tools and prices

- [Replace Background V2 · Image to Image](https://spiral.ai/tools/fal/bria/replace-background) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  | — | Prompt for background replacement. |
| image_url |  | https://v3b.fal.media/files/b/0a8bea8c/Mztgx0NG3HPdby-4iPqwH_a_coffee_machine_standing_in_the_kitchen.png | Reference image (file or URL). |
| seed |  | 4925634 | Random seed for reproducibility. |
| steps_num |  | 30 | Number of inference steps. |
| negative_prompt |  |  | Negative prompt for background replacement. |

## What can you do with Bria Replace Background V2 in Factory Droid?

Create new product photography settings from the images already in your project. Use the project's design brief to write scene descriptions, then compare the generated images with their originals.

### Product page lifestyle photos

Use Bria Replace Background V2 to place an existing appliance photo in a kitchen scene with a specified counter, wall treatment, and lighting direction.

### Studio backdrop studies

Try several studio settings around the same product photo with Bria Replace Background V2. Compare warm, cool, and dark backgrounds before selecting a direction.

### Seasonal campaign imagery

Give an existing product photo an autumn tabletop or winter window setting with Bria Replace Background V2. Review the product against the original before using the image.

### Ad background comparisons

Use Bria Replace Background V2 to create separate scene treatments for one product photo, such as a bathroom shelf and a studio pedestal, for a creative review.

### Coordinated catalog scenes

Apply the same written surface, wall, and lighting brief to several product photos with Bria Replace Background V2. Review the results together for visual consistency.

### Client scene proposals

Turn an existing product photo into concrete setting proposals with Bria Replace Background V2, such as a reading nook, an office desk, or an outdoor table.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Bria Replace Background V2 in other agents

- [Amp](https://spiral.ai/integrations/amp/bria-replace-background-v2)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bria-replace-background-v2)
- [Claude](https://spiral.ai/integrations/claude-desktop/bria-replace-background-v2)
- [Claude Code](https://spiral.ai/integrations/claude-code/bria-replace-background-v2)
- [Cline](https://spiral.ai/integrations/cline/bria-replace-background-v2)
- [Codex](https://spiral.ai/integrations/codex/bria-replace-background-v2)
- [Cursor](https://spiral.ai/integrations/cursor/bria-replace-background-v2)
- [Devin](https://spiral.ai/integrations/devin/bria-replace-background-v2)
- [dots](https://spiral.ai/integrations/dots/bria-replace-background-v2)
- [Gemini](https://spiral.ai/integrations/gemini/bria-replace-background-v2)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bria-replace-background-v2)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bria-replace-background-v2)
- [goose](https://spiral.ai/integrations/goose/bria-replace-background-v2)
- [Grok](https://spiral.ai/integrations/grok/bria-replace-background-v2)
- [Grok Build](https://spiral.ai/integrations/grok-build/bria-replace-background-v2)
- [Hermes](https://spiral.ai/integrations/hermes/bria-replace-background-v2)
- [Instinct](https://spiral.ai/integrations/instinct/bria-replace-background-v2)
- [Manus](https://spiral.ai/integrations/manus/bria-replace-background-v2)
- [Muse](https://spiral.ai/integrations/muse/bria-replace-background-v2)
- [Muse Code](https://spiral.ai/integrations/muse-code/bria-replace-background-v2)
- [n8n](https://spiral.ai/integrations/n8n/bria-replace-background-v2)
- [Notion](https://spiral.ai/integrations/notion/bria-replace-background-v2)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bria-replace-background-v2)
- [opencode](https://spiral.ai/integrations/opencode/bria-replace-background-v2)
- [Perplexity](https://spiral.ai/integrations/perplexity/bria-replace-background-v2)
- [Raycast](https://spiral.ai/integrations/raycast/bria-replace-background-v2)
- [VS Code](https://spiral.ai/integrations/vscode/bria-replace-background-v2)
- [Windsurf](https://spiral.ai/integrations/windsurf/bria-replace-background-v2)
- [Zapier](https://spiral.ai/integrations/zapier/bria-replace-background-v2)

## More Factory Droid guides

- [Bria Reimagine](https://spiral.ai/integrations/factory-droid/bria-reimagine)
- [Bria Text-to-Image Base](https://spiral.ai/integrations/factory-droid/bria-text-to-image-base)
- [Bria RMBG 2.0](https://spiral.ai/integrations/factory-droid/bria-rmbg-2-0)
- [Bria Virtual Try-On](https://spiral.ai/integrations/factory-droid/bria-virtual-try-on)
- [Bria Product Shot](https://spiral.ai/integrations/factory-droid/bria-product-shot)
- [Broccoli Haircut](https://spiral.ai/integrations/factory-droid/broccoli-haircut)

## Questions about Bria Replace Background V2 in Factory Droid

**Can Factory Droid use Bria Replace Background V2?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Bria Replace Background V2 like any built-in tool.

**How much does Bria Replace Background V2 cost in Factory Droid?**

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need a fal account to use Bria Replace Background V2 in Factory Droid?**

No. Spiral runs Bria Replace Background V2 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Bria Replace Background V2 in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while Bria Replace Background V2 runs?**

Bria Replace Background V2 runs in the background. Factory Droid starts the run, checks on it and gives you the image when it's ready.

**What is Bria Replace Background V2 best for?**

It is designed for giving existing product photos new settings, such as a studio backdrop or a kitchen counter. Its stated strengths are realistic lighting and perspective.

**How should I describe the new background?**

Describe the surface beneath the product, the surroundings, any props, and the viewing angle. For example, ask for a wooden counter against a tiled wall, with a mug on the right and a front-facing view.

**Will the product stay exactly unchanged?**

Do not assume pixel-for-pixel preservation. Superside's integration documentation warns that the subject may change subtly, so compare the result with the original before using it.

**Can it produce an exact brand-color background?**

Treat a requested color as a visual direction. Superside's V2 documentation warns that an exact flat hex color is not guaranteed; use a cutout composited onto a solid color when exact pixels matter.

**What language should I use, and how do I exclude unwanted details?**

Write the background description in English without special characters, following Bria's guidance. Put unwanted scene elements, such as extra props or patterned walls, in the negative prompt.

