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.
Prompts to try with Qwen Image Edit Add Background in Cursor
Copy an example into Cursor, or ask in your own words.
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
- 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):
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - 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
- Send Cursor this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Qwen Image Edit Add Background
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/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.
Qwen Image Edit Add Background providers and prices
Spiral runs Qwen Image Edit Add Background through fal. Open a card for today's price, with every fee included.
Up to $0.0455 per run at the default inputs. $0.0455 per unit of num_images.
Settings you can ask for
Qwen Image Edit Add Background works from your image URLs and prompt. Ask Cursor for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Guidance scale | 0 to 20 | 1 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
| Number of inference steps | 2 to 50 | 6 | The number of inference steps to perform. |
| Acceleration | none or regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
| Negative prompt | what to leave out, in words | The negative prompt for the generation | |
| Seed | a whole number | Random seed for reproducibility. Same seed with same prompt will produce same result. | |
| Output format | png, jpeg, or webp | png | The format of the output image |
| Number of images | 1 to 4 | 1 | Number of images to generate |
| LoRA scale | 0 to 4 | 1 | The scale factor for the LoRA model. Controls the strength of the LoRA effect. |
Every API field of Qwen Image Edit Plus Lora Gallery · Add Background is on its tool page: open its card above.
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.
More on Qwen Image Edit Add Background and Cursor
Overview
Qwen Image Edit Add Background in other agents
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.
Start using Qwen Image Edit Add Background in Cursor
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cursor:
set up https://spiral.ai/SKILL.md


