[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Qwen Image Edit Remove Lighting](https://spiral.ai/integrations/gemini-cli/qwen-image-edit-remove-lighting)

# How to Use Qwen Image Edit Remove Lighting in Gemini CLI

Qwen Image Edit Remove Lighting replaces existing lighting with soft, even illumination in portrait and product photos. Its fixed edit prepares a neutral base for relighting or training data.

|  |  |
| --- | --- |
| Model | Qwen Image Edit 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 Remove Lighting in Gemini CLI

- Use Qwen Image Edit Remove Lighting on the product photos in public/products. Save separate candidates and build a before-and-after review page.
- Use Qwen Image Edit Remove Lighting on one team portrait in this project. Show the source and result side by side before processing the rest.
- Use Qwen Image Edit Remove Lighting to prepare neutral bases from the campaign portraits. Keep the originals for the later relighting pass.
- Use Qwen Image Edit Remove Lighting on the training photos. Create a manifest pairing each original with its edited output for review.
- Use Qwen Image Edit Remove Lighting on three representative catalog images. Add a comparison view where I can inspect labels, edges, and texture.

## How to set up Qwen Image Edit Remove Lighting in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

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

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Qwen Image Edit Remove Lighting tools and prices

- [Qwen Image Edit Plus Lora Gallery · Remove Lighting](https://spiral.ai/tools/fal/fal-ai/qwen-image-edit-plus-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 Remove Lighting in Gemini CLI?

Prepare softly lit candidates for product and portrait assets in your project. Have the agent preserve originals and build a comparison view for review.

### Product listing photos

Try soft, even illumination on a product photograph before selecting the listing image. Compare labels, edges, and surface texture with the original.

### Portrait lighting cleanup

Remove unwanted lighting from a portrait and review the result beside the source before using it as a headshot.

### Photo collection normalization

Process photographs taken under different lighting, then review the results together for a more consistent presentation.

### Lighting training pairs

Pair a lit source photograph with its lighting-removed output when preparing training examples for a lighting LoRA.

### Relighting preparation

Create a softly lit starting image before applying a separate lighting treatment. Retain the original for comparison.

### Product image review

Generate neutral-lighting candidates from supplier product photos and assemble before-and-after comparisons for an editor to approve.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Qwen Image Edit Remove Lighting in other agents

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

## More Gemini CLI guides

- [Qwen Image Edit Plus Remove Element](https://spiral.ai/integrations/gemini-cli/qwen-image-edit-plus-remove-element)
- [Qwen Image Edit Shirt Design](https://spiral.ai/integrations/gemini-cli/qwen-image-edit-shirt-design)
- [Qwen Image Edit Plus LoRA](https://spiral.ai/integrations/gemini-cli/qwen-image-edit-plus-lora)
- [Qwen Image Image to Image](https://spiral.ai/integrations/gemini-cli/qwen-image-image-to-image)
- [Qwen Image Edit Plus Integrate Product](https://spiral.ai/integrations/gemini-cli/qwen-image-edit-plus-integrate-product)
- [Qwen Image Layered](https://spiral.ai/integrations/gemini-cli/qwen-image-layered)

## Questions about Qwen Image Edit Remove Lighting in Gemini CLI

**Can Gemini CLI use Qwen Image Edit Remove Lighting?**

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

**How much does Qwen Image Edit Remove Lighting cost in Gemini CLI?**

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

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

No. Spiral runs Qwen Image Edit 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 Remove Lighting in Gemini CLI?**

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

**Does Gemini CLI wait while Qwen Image Edit Remove Lighting runs?**

Qwen Image Edit Remove Lighting runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

**What does Qwen Image Edit Remove Lighting do?**

It replaces existing illumination with soft, even light. Use it when you want a neutral starting image for further lighting work.

**Which photos work best?**

Portrait and product photography are the documented best fits. Start with a representative photo before processing a collection.

**Can I request a specific lighting style?**

The documented edit uses a fixed lighting-removal prompt. Treat dramatic or directional relighting as a separate editing task.

**Why might the result look flatter?**

Removing the original light can also remove visual drama. The creator describes training-data preparation as a central purpose, so judge the result against that goal rather than assuming it will be a better finished photograph.

**How is it useful for lighting training data?**

Keep the original photograph and pair it with the lighting-removed result. The creator describes this approach for producing examples with and without lighting.

