[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Qwen Image Edit Add Background](https://spiral.ai/integrations/cursor/qwen-image-edit-add-background)

# How to Use Qwen Image Edit Add Background in Cursor

Qwen Image Edit Add Background turns product photos on white backgrounds into realistic scenes. Its specialty is placing the object in context while adjusting lighting, perspective, and shadows.

|  |  |
| --- | --- |
| Model | Qwen Image Edit Add Background |
| Available through | fal |
| Category | Image |
| Price | Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen Image Edit Add Background in Cursor

- Use Qwen Image Edit Add Background on public/images/coffee-maker-white.png. Place the coffee maker on an oak kitchen counter beside a window, with soft morning light and a natural contact shadow.
- Use Qwen Image Edit Add Background on assets/chair-white.png. Place the chair in a reading nook beside a low bookshelf, with afternoon light from the left.
- Use Qwen Image Edit Add Background on public/products/backpack-white.png. Place the backpack on a flat rock beside a campsite, with distant pine trees and overcast daylight.
- Use Qwen Image Edit Add Background on assets/car-white.png. Place the car on a paved mountain road with distant hills and late afternoon light. Save the result for design review.
- Use Qwen Image Edit Add Background on public/products/lamp-white.png. Place the lamp on a bedside table in a quiet bedroom. Compare the default LoRA strength with a lower strength, keeping the photo and description unchanged.

## How to set up Qwen Image Edit Add Background in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 Qwen Image Edit Add Background**: 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/qwen-image-edit-plus-lora-gallery/add-background",
    "input": {
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Cursor finds Qwen Image Edit Add Background on Spiral, shows the price and runs it.

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

## Qwen Image Edit Add Background tools and prices

- [Qwen Image Edit Plus Lora Gallery · Add Background](https://spiral.ai/tools/fal/fal-ai/qwen-image-edit-plus-lora-gallery/add-background) (fal): Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | — | The size of the generated image. If not provided, the size of the final input image will be used. |
| guidance_scale | 0 to 20 | 1 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
| num_inference_steps | 2 to 50 | 6 | The number of inference steps to perform. |
| acceleration | none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
| negative_prompt |  |  | The negative prompt for the generation |
| seed |  | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |

## What can you do with Qwen Image Edit Add Background in Cursor?

Create contextual product images from white-background assets in your project. A coding agent can pair each asset with a concrete scene brief and prepare the results for review.

### Product page lifestyle photos

Place a white-background coffee maker photo on a kitchen counter to show a proposed everyday setting.

### Furniture in room scenes

Use a chair photographed against white as the starting point for a reading nook scene.

### Outdoor gear campaign concepts

Place a white-background backpack photo beside a campsite to explore campaign imagery.

### Vehicle presentation images

Move a car photographed against white into a described road or outdoor setting.

### Seasonal merchandising concepts

Give a white-background candle photo an autumn dining table setting for a seasonal creative review.

### Background concept comparisons

Try a photographed product in several described environments, then compare which setting best communicates its intended use.

## Overview

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

## Qwen Image Edit Add Background in other agents

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

## More Cursor guides

- [Qwen Image Edit 2511 Multiple Angles](https://spiral.ai/integrations/cursor/qwen-image-edit-2511-multiple-angles)
- [Qwen Image Edit Face to Full Portrait](https://spiral.ai/integrations/cursor/qwen-image-edit-face-to-full-portrait)
- [Qwen Image Edit 2511 LoRA](https://spiral.ai/integrations/cursor/qwen-image-edit-2511-lora)
- [Qwen Image Edit Image to Image](https://spiral.ai/integrations/cursor/qwen-image-edit-image-to-image)
- [Qwen Image Edit 2511](https://spiral.ai/integrations/cursor/qwen-image-edit-2511)
- [Qwen Image Edit Inpaint](https://spiral.ai/integrations/cursor/qwen-image-edit-inpaint)

## Questions about Qwen Image Edit Add Background in Cursor

**Can Cursor use Qwen Image Edit Add Background?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Qwen Image Edit Add Background like any built-in tool.

**How much does Qwen Image Edit Add Background cost in Cursor?**

Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

**Do I need a fal account to use Qwen Image Edit Add Background in Cursor?**

No. Spiral runs Qwen Image Edit Add Background on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Qwen Image Edit Add Background in Cursor?**

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

**Does Cursor wait while Qwen Image Edit Add Background runs?**

Qwen Image Edit Add Background runs in the background. Cursor starts the run, checks on it and gives you the image when it's ready.

**What photos work best with Qwen Image Edit Add Background?**

Start with an object or product photographed against clean white. That is the documented best case, so prioritize those photos when choosing source material.

**How should I describe the edit?**

Name the subject and the setting you want. For example, ask to place the photographed car on a mountain road rather than asking for a better background.

**Does it adjust the lighting as well as the background?**

Yes. The documented transformation includes matching lighting, perspective, and shadows to the new scene.

**Which setting controls the strength of the transformation?**

LoRA strength controls the effect's intensity. When comparing strengths, keep the source photo and scene description unchanged so you can judge that adjustment.

**Can I ask for an outdoor scene?**

Yes. The creator's example places a car outdoors; specify the environment you want around the photographed object.

