Spiral gives your agent every tool with one account. Browse the tools →

n8n · Image

How to Use Bria Background Replace in n8n

Bria Background Replace puts an existing subject into a new setting for product photos, portraits, and campaign images. It focuses on replacing the backdrop while preserving the subject, with guidance from a written description or reference image.

Prompts to try with Bria Background Replace in n8n

Copy an example into n8n, or ask in your own words.

Every Monday, use Bria Background Replace on newly supplied product photos to prepare a kitchen-counter backdrop candidate for each. Write the scene descriptions in English, match each photo's lighting, and collect the originals and results in a review gallery.

Bria Background Replacen8n
Try asking
  • At the start of each month, use Bria Background Replace to prepare seasonal backdrop candidates for the supplied candle photos. Keep the products as the subjects and record the scene description and seed with each result.

  • Each Friday, use Bria Background Replace with the newly supplied product photos and approved scene reference. Prepare reference-guided background candidates and collect them for review of subject edges, scale, and perspective.

  • Each morning, use Bria Background Replace on new portrait submissions to prepare an office-backdrop candidate. Match the existing light direction and place each original beside its result for review.

  • Every Wednesday, use Bria Background Replace to prepare studio, home, and outdoor background tests for the supplied featured-product photo. Keep the source fixed and summarize the three scene choices alongside their images.

How to set up Bria Background Replace in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Bria Background Replace in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Bria Background Replace, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Bria Background Replace

    One request; the result comes back by polling or a webhook.

    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": "fal-ai/bria/background/replace",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/bria/bria_bg_replace_fg.jpg"
        }
      }'

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

Bria Background Replace providers and prices

Spiral runs Bria Background Replace through fal. Open a card for today's price, with every fee included.

falImage
Bria Background Replace
fal-ai/bria/background/replace

Settings you can ask for

Bria Background Replace works from your image URL and prompt. Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

The negative prompt you would like to use to generate images.

Refine prompton or offon

Whether to refine prompt

Seed0 to 2147483647

The same seed and the same prompt given to the same version of the model

will output the same image every time.

Faston or offon

Whether to use the fast model

Number of images1 to 41

Number of Images to generate.

Every API field of Bria Background Replace is on its tool page: open its card above.

What can you do with Bria Background Replace in n8n?

Prepare recurring batches of campaign and catalog background candidates with Bria Background Replace. Apply a shared scene brief to supplied photos and keep the results available for visual review.

Product photos in everyday settings

Use Bria Background Replace to place an existing bottle, bag, or appliance against a relevant setting. Describe the surface and lighting so the scene suits the photographed product.

Seasonal campaign images

Use Bria Background Replace to try autumn, winter, or summer backdrops around an existing product photo. Review the subject and background together before selecting an image.

Portrait backdrops

Use Bria Background Replace to give a supplied portrait an office, studio, or outdoor setting. Request background lighting that matches the light already falling on the person.

Reference-led campaign scenes

Use Bria Background Replace with a subject photo and a separate scene reference to guide the backdrop for a campaign. Check perspective and scale before approving the result.

Background tests for ads

Use Bria Background Replace to compare the same product against a studio setting, a home interior, and an outdoor scene. Keep the source photo fixed to make the comparison useful.

Storefront image refreshes

Use Bria Background Replace to refresh existing product photography with a shared backdrop brief. Review each result for subject edges, contact shadows, and visual consistency.

Questions about Bria Background Replace in n8n

Can n8n use Bria Background Replace?

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

How much does Bria Background Replace cost in n8n?

$0.052 per generation. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need a fal account to use Bria Background Replace in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Bria Background Replace on its own fal account.

How long does it take to set up Bria Background Replace in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Bria Background Replace runs?

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

What is Bria Background Replace useful for?

Use it to put an existing subject into a different setting: a product on a kitchen counter, a portrait against an office backdrop, or a campaign photo with seasonal scenery. Its focus is changing the background while preserving the subject.

Can a photo guide the new background?

Yes. A reference image can guide the background instead of a written description. Use a scene reference when showing the intended setting is easier than describing it.

What language should I write prompts in?

Write background descriptions in English using ordinary text. Bria documents English-only support and excludes special characters.

How detailed should a background prompt be?

For fast background generation, aim for about 50 to 60 words. Describe the setting, supporting surface, light, and shadows, and ask that they match the existing subject.

How can I reproduce a result?

Keep the source image, prompt, seed, and other settings unchanged. Reproduction also depends on using the same model version.

Get started

Start using Bria Background Replace in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options