Spiral gives your agent every tool with one account. Browse the tools →

opencode · Image

How to Use Qwen Image Edit Remove Lighting in opencode

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.

Prompts to try with Qwen Image Edit Remove Lighting in opencode

Copy an example into opencode, or ask in your own words.

Use Qwen Image Edit Remove Lighting on the product photos in public/products. Save separate candidates and build a before-and-after review page.

Qwen Image Edit Remove Lightingopencode
Try asking
  • 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 opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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.

    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.

    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: opencode finds Qwen Image Edit Remove Lighting on Spiral, shows the price and runs it.

Qwen Image Edit Remove Lighting providers and prices

Spiral runs Qwen Image Edit Remove Lighting through fal. Open a card for today's price, with every fee included.

falImage
Qwen Image Edit Plus Lora Gallery · Remove Lighting
fal-ai/qwen-image-edit-plus-lora-gallery/remove-lighting

Settings you can ask for

Qwen Image Edit Remove Lighting works from your image URLs. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 201

The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Number of inference steps2 to 506

The number of inference steps to perform.

Accelerationnone or regularregular

Acceleration level for image generation. 'regular' balances speed and quality.

Negative promptwhat to leave out, in words

The negative prompt for the generation

Seeda whole number

Random seed for reproducibility. Same seed with same prompt will produce same result.

Output formatpng, jpeg, or webppng

The format of the output image

Number of images1 to 41

Number of images to generate

Every API field of Qwen Image Edit Plus Lora Gallery · Remove Lighting is on its tool page: open its card above.

What can you do with Qwen Image Edit Remove Lighting in opencode?

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.

Questions about Qwen Image Edit Remove Lighting in opencode

Can opencode use Qwen Image Edit Remove Lighting?

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

How much does Qwen Image Edit Remove Lighting cost in opencode?

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

Do I need a fal account to use Qwen Image Edit Remove Lighting in opencode?

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 opencode?

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

Does opencode wait while Qwen Image Edit Remove Lighting runs?

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

Get started

Start using Qwen Image Edit Remove Lighting in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options