[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Background Change](https://spiral.ai/integrations/n8n/background-change)

# How to Use Background Change in n8n

Background Change replaces a photo's setting with a scene you describe, such as a beach sunset or city street. Use it to explore new settings for existing product photos or portraits, then check the subject and lighting before publishing.

|  |  |
| --- | --- |
| Model | Background Change |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Background Change in n8n

- Each Monday, use Background Change on newly supplied product photos. Request a pale stone surface, a distant cream-colored wall, and soft daylight from the left; collect the edits for review.
- Each Friday, use Background Change on this week's approved campaign photos. Request an autumn park with distant amber foliage and overcast daylight, and retain the originals beside the drafts.
- Every morning, use Background Change on new portrait submissions. Request a quiet office with a softly blurred bookcase and window light from the left; prepare a review collection.
- Each week, use Background Change to prepare two separate background ideas for each newly supplied bag photo: a city sidewalk and a forest trail. Label the results by scene.
- At the start of each month, use Background Change on the approved seasonal product photos. Request a coastal terrace with a distant sea horizon and soft morning light, and collect the drafts without publishing them.

## How to set up Background Change 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:

```text
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:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Background Change in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Background Change, 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.

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

### Call the Spiral API

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

2. **Run Background Change**: 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": "fal-ai/image-editing/background-change",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Background Change tools and prices

- [Image Editing Background Change](https://spiral.ai/tools/fal/fal-ai/image-editing/background-change) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| guidance_scale | 0 to 20 | 3.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| num_inference_steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| aspect_ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 | — | The aspect ratio of the generated image. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |

## What can you do with Background Change in n8n?

Prepare recurring background edit drafts from newly supplied photos. An always-on agent can apply an approved scene description and collect the results for a person's review.

### Product setting concepts

Try an existing product photo against a kitchen counter, stone terrace, or studio backdrop. Compare the settings before choosing a direction for a campaign.

### Portrait backdrop drafts

Explore an office, garden, or plain studio setting behind an existing portrait. Review facial details and the subject's outline against the original.

### Seasonal campaign images

Request autumn foliage, a snowy courtyard, or a summer beach behind an existing subject. Keep the setting description specific to the campaign.

### Ad creative comparisons

Use the same source photo to compare a city street, coastal scene, and neutral studio background. Select results based on subject accuracy and the campaign brief.

### Website image concepts

Test a quieter background for an existing website photo. Request an uncluttered setting, then review the edited image in the intended page layout.

### Coordinated catalog backdrops

Apply a shared background description to a set of product photos. Review each result for consistent scene direction, lighting, and product details.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Background Change in other agents

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

## More n8n guides

- [Baby Version](https://spiral.ai/integrations/n8n/baby-version)
- [Boogu Image](https://spiral.ai/integrations/n8n/boogu-image)
- [BEN v2](https://spiral.ai/integrations/n8n/ben-v2)
- [Bria Background Replace](https://spiral.ai/integrations/n8n/bria-background-replace)
- [Age Progression](https://spiral.ai/integrations/n8n/age-progression)
- [Bria Creative Upscale](https://spiral.ai/integrations/n8n/bria-creative-upscale)

## Questions about Background Change in n8n

**Can n8n use Background Change?**

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

**How much does Background Change cost in n8n?**

$0.052 per image. 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 Background Change in n8n?**

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

**How long does it take to set up Background Change in n8n?**

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

**Does n8n wait while Background Change runs?**

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

**What is Background Change useful for?**

It replaces the setting in an existing photo with a scene you describe. Try it for product scene concepts, portrait backdrops, or seasonal campaign drafts.

**What should I write in a background prompt?**

Describe the finished setting: location, surface, background details, and light. For example, try 'a pale stone terrace overlooking the sea, distant horizon, soft morning light from the left.'

**How should I handle lighting and shadows?**

Fal highlights lighting and shadows as part of background replacement. Describe light that suits the original photo, then inspect whether the subject and setting look consistent.

**How can I get the result closer to my description?**

Guidance controls prompt adherence. Try increasing it while keeping the photo and description unchanged, then compare the results.

**What should I check before using an edited photo?**

Compare the result with the original, especially faces, product labels, outlines, and small details. Treat exact subject preservation as an acceptance requirement and reject edits that change something important.

