[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Qwen Image Edit 2509 Remove Lighting](https://spiral.ai/integrations/codex/qwen-image-edit-2509-remove-lighting)

# How to Use Qwen Image Edit 2509 Remove Lighting in Codex

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.

|  |  |
| --- | --- |
| Model | Qwen Image Edit 2509 Remove Lighting |
| 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 2509 Remove Lighting in Codex

- 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 Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 2509 Remove Lighting**: 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-2509-lora-gallery/remove-lighting",
    "input": {
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Codex finds Qwen Image Edit 2509 Remove Lighting on Spiral, shows the price and runs it.

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

## Qwen Image Edit 2509 Remove Lighting tools and prices

- [Qwen Image Edit 2509 Lora Gallery · Remove Lighting](https://spiral.ai/tools/fal/fal-ai/qwen-image-edit-2509-lora-gallery/remove-lighting) (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 2509 Remove Lighting in Codex?

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.

## Overview

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

## Qwen Image Edit 2509 Remove Lighting in other agents

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

## More Codex guides

- [Qwen Image Edit 2509 Remove Element](https://spiral.ai/integrations/codex/qwen-image-edit-2509-remove-element)
- [Qwen Image Edit 2509 Shirt Design](https://spiral.ai/integrations/codex/qwen-image-edit-2509-shirt-design)
- [Qwen Image Edit 2509 Next Scene](https://spiral.ai/integrations/codex/qwen-image-edit-2509-next-scene)
- [Qwen Image Edit 2511](https://spiral.ai/integrations/codex/qwen-image-edit-2511)
- [Qwen Image Edit 2509 Multiple Angles](https://spiral.ai/integrations/codex/qwen-image-edit-2509-multiple-angles)
- [Qwen Image Edit 2511 LoRA](https://spiral.ai/integrations/codex/qwen-image-edit-2511-lora)

## Questions about Qwen Image Edit 2509 Remove Lighting in Codex

**Can Codex use Qwen Image Edit 2509 Remove Lighting?**

Yes. Add Spiral to Codex as an MCP server, and Codex 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 Codex?**

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 Codex plan is separate.

**Do I need a fal account to use Qwen Image Edit 2509 Remove Lighting in Codex?**

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 Codex?**

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

**Does Codex wait while Qwen Image Edit 2509 Remove Lighting runs?**

Qwen Image Edit 2509 Remove Lighting runs in the background. Codex 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.

