[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Qwen Image Edit 2509 Lighting Restoration](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-lighting-restoration)

# How to Use Qwen Image Edit 2509 Lighting Restoration in n8n

Qwen Image Edit 2509 Lighting Restoration removes harsh shadows and bright spots from existing photos. Its fixed lighting cleanup task suits portraits, product shots, and preparation for later relighting.

|  |  |
| --- | --- |
| Model | Qwen Image Edit 2509 Lighting Restoration |
| 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, with a Spiral API key |

## Prompts to try with Qwen Image Edit 2509 Lighting Restoration in n8n

- Each morning, use Qwen Image Edit 2509 Lighting Restoration on new product photos marked for lighting cleanup. Collect the originals and results for review.
- Every Friday, use Qwen Image Edit 2509 Lighting Restoration on newly approved headshots with harsh shadows. Prepare a comparison sheet.
- Each night, use Qwen Image Edit 2509 Lighting Restoration on photos selected for tomorrow's relighting work. Keep each result associated with its original.
- Once a week, use Qwen Image Edit 2509 Lighting Restoration on the selected lighting dataset images. Organize the originals and edited results as pairs.
- Every Monday, use Qwen Image Edit 2509 Lighting Restoration on photos flagged for uneven illumination. Present the results for an editor's decision.

## How to set up Qwen Image Edit 2509 Lighting Restoration 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 Qwen Image Edit 2509 Lighting Restoration in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Qwen Image Edit 2509 Lighting Restoration, 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 Qwen Image Edit 2509 Lighting Restoration**: 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/lighting-restoration",
    "input": {
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

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

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

## Qwen Image Edit 2509 Lighting Restoration tools and prices

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

Prepare lighting cleanup candidates from newly submitted photos on a schedule. Collect the results for review so you can choose where softer illumination helps.

### Portrait lighting cleanup

Soften distracting facial shadows in a portrait, then compare the result with the original.

### Product photo cleanup

Reduce harsh lighting and bright spots in product photos selected for a listing.

### Photo collection consistency

Process photos with uneven illumination toward a softer lighting baseline, reviewing each result.

### Preparation for relighting

Remove existing lighting effects before a separate creative relighting pass.

### Lighting training pairs

Pair each lit original with its lighting cleanup result for a lighting LoRA dataset.

### Editorial photo review

Create a softer lighting alternative so an editor can decide whether the original shadows help or distract.

## Overview

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

## Qwen Image Edit 2509 Lighting Restoration in other agents

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

## More n8n guides

- [Qwen Image Edit 2509 Integrate Product](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-integrate-product)
- [Qwen Image Edit 2509 LoRA](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-lora)
- [Qwen Image Edit 2509 Group Photo](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-group-photo)
- [Qwen Image Edit 2509 Multiple Angles](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-multiple-angles)
- [Qwen Image Edit 2509 Face to Full Portrait](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-face-to-full-portrait)
- [Qwen Image Edit 2509 Next Scene](https://spiral.ai/integrations/n8n/qwen-image-edit-2509-next-scene)

## Questions about Qwen Image Edit 2509 Lighting Restoration in n8n

**Can n8n use Qwen Image Edit 2509 Lighting Restoration?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Qwen Image Edit 2509 Lighting Restoration like any built-in tool.

**How much does Qwen Image Edit 2509 Lighting Restoration cost in n8n?**

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

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

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Qwen Image Edit 2509 Lighting Restoration on its own fal account.

**How long does it take to set up Qwen Image Edit 2509 Lighting Restoration in n8n?**

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

**Does n8n wait while Qwen Image Edit 2509 Lighting Restoration runs?**

Qwen Image Edit 2509 Lighting Restoration runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

**What does Qwen Image Edit 2509 Lighting Restoration do?**

It removes harsh shadows and bright spots from an existing photo and replaces them with softer, more even illumination.

**Which photos are the best fit?**

Portraits and product photos are the documented best fits. Start with images where uneven lighting is the problem you want to fix.

**How should I prompt Qwen Image Edit 2509 Lighting Restoration?**

It uses a fixed restoration prompt. Tell your agent which photo to process and how to review the result; a detailed creative lighting prompt is unnecessary.

**Why might the result look flatter than the original?**

Removing directional lighting can also remove lighting you liked. Compare both versions before choosing the edited photo as a finished image.

**Can it help prepare a lighting training dataset?**

Yes. The creator describes pairing a lit original with a version whose lighting has been removed, providing examples for training a lighting LoRA.

