How to Use Qwen Image Edit 2509 Remove Lighting in VS Code
Qwen Image Edit 2509 Remove Lighting replaces existing lighting with soft, even illumination in photos. Its fixed lighting-removal edit is suited to portraits, product shots, and paired lighting-training images.
Prompts to try with Qwen Image Edit 2509 Remove Lighting in VS Code
Copy an example into VS Code, or ask in your own words.
Use Qwen Image Edit 2509 Remove Lighting on the staff portraits in public/images/team. Save separate edited copies and build a local comparison page showing each original beside its result.
Use Qwen Image Edit 2509 Remove Lighting on three product photos from the project's sample assets. Make a review sheet so I can inspect labels, edges, and surface details.
Use Qwen Image Edit 2509 Remove Lighting to create a lighting-removed counterpart for each photo in datasets/lighting/source. Create a manifest pairing every original with its edited image.
Use Qwen Image Edit 2509 Remove Lighting on one portrait from the project's demo assets. Add an original-and-edited comparison to the photography example page with clearly labeled images.
Use Qwen Image Edit 2509 Remove Lighting on the product photos selected in the asset manifest. Save the results as candidates for a later relighting pass and create a contact sheet for review.
How to set up Qwen Image Edit 2509 Remove Lighting in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 2509 Remove Lighting
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-2509-lora-gallery/remove-lighting", "input": { "image_urls": [ "<image_urls>" ] } }'
Then paste one of the prompts above: VS Code finds Qwen Image Edit 2509 Remove Lighting on Spiral, shows the price and runs it.
Qwen Image Edit 2509 Remove Lighting providers and prices
Spiral runs Qwen Image Edit 2509 Remove Lighting 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 2509 Remove Lighting works from your image URLs. Ask VS Code 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 |
Every API field of Qwen Image Edit 2509 Lora Gallery · Remove Lighting is on its tool page: open its card above.
What can you do with Qwen Image Edit 2509 Remove Lighting in VS Code?
Prepare softly lit portrait and product assets alongside your project's other images. A coding agent can organize the outputs and build a comparison view for reviewing each edit.
Soften lighting in staff portraits
Apply Qwen Image Edit 2509 Remove Lighting to staff headshots intended for a directory. Compare each edit with its original before choosing the final portrait.
Review neutral product photos
Use Qwen Image Edit 2509 Remove Lighting on product shots that need softer illumination. Check labels, edges, and surface details before using the results in a listing.
Prepare lighting-training pairs
Create an edited counterpart for each originally lit photo with Qwen Image Edit 2509 Remove Lighting. Keep the original and output together for dataset review.
Prepare photos for a later relighting pass
Use Qwen Image Edit 2509 Remove Lighting as a first pass when planning a separate lighting treatment. Review the neutralized image before moving to the next edit.
Compare lighting treatments across a collection
Process a sample of portrait or product photos with Qwen Image Edit 2509 Remove Lighting. Compare the results side by side to decide whether soft illumination suits the collection.
Build lighting-removal teaching examples
Create before-and-after examples with Qwen Image Edit 2509 Remove Lighting for a photography lesson. Discuss where softer illumination helps and where the original lighting carries the image.
More on Qwen Image Edit 2509 Remove Lighting and VS Code
Overview
Qwen Image Edit 2509 Remove Lighting in other agents
Questions about Qwen Image Edit 2509 Remove Lighting in VS Code
Can VS Code use Qwen Image Edit 2509 Remove Lighting?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Qwen Image Edit 2509 Remove Lighting like any built-in tool.
How much does Qwen Image Edit 2509 Remove Lighting cost in VS Code?
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 VS Code plan is separate.
Do I need a fal account to use Qwen Image Edit 2509 Remove Lighting in VS Code?
No. Spiral runs Qwen Image Edit 2509 Remove Lighting 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 2509 Remove Lighting in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Qwen Image Edit 2509 Remove Lighting runs?
Qwen Image Edit 2509 Remove Lighting runs in the background. VS Code starts the run, checks on it and gives you the image when it's ready.
What does Qwen Image Edit 2509 Remove Lighting do?
It removes existing lighting from a photo and applies soft, even illumination. Use it when you want a more neutral lighting treatment.
Which photos is it best suited to?
The documentation recommends portraits and product photography. Start with a representative photo before applying the treatment to a larger collection.
How should I prompt Qwen Image Edit 2509 Remove Lighting?
The lighting edit uses a fixed prompt. Tell your agent which photo to process and what to inspect afterward, such as remaining shadows or changes to product details.
Can it help prepare lighting-training data?
Yes. The creator describes using it to make pairs containing an originally lit photo and a version with the lighting removed. Keep each output matched to its original for review.
Will removing the lighting always improve the photo?
No. The creator acknowledges that the original can look better. Keep the original when its lighting contributes to the look you want, and judge the edited image against your actual goal.
Start using Qwen Image Edit 2509 Remove Lighting in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


