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

Grok · Image

How to Use Qwen Image Edit Lighting Restoration in Grok

Qwen Image Edit Lighting Restoration softens harsh shadows and bright light spots in existing photos. It targets even illumination, making it useful for lighting cleanup and preparing images for later relighting.

Prompts to try with Qwen Image Edit Lighting Restoration in Grok

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

Use Qwen Image Edit Lighting Restoration on this portrait to soften the harsh shadows, then show me the comparison.

Qwen Image Edit Lighting RestorationGrok
Try asking
  • Use Qwen Image Edit Lighting Restoration on this product photo, keeping the original dimensions. Help me check the label afterward.

  • Use Qwen Image Edit Lighting Restoration on this photo with bright light spots. Show the original beside the result.

  • Use Qwen Image Edit Lighting Restoration to make a softly lit starting copy of this portrait for later relighting.

  • Use Qwen Image Edit Lighting Restoration on this lit portrait and pair the result with the original for training-data review.

How to set up Qwen Image Edit Lighting Restoration in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 Lighting Restoration

    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/lighting-restoration",
        "input": {
          "image_urls": [
            "<image_urls>"
          ]
        }
      }'

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

Qwen Image Edit Lighting Restoration providers and prices

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

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

Settings you can ask for

Qwen Image Edit Lighting Restoration works from your image URLs. Ask Grok 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 · Lighting Restoration is on its tool page: open its card above.

What can you do with Qwen Image Edit Lighting Restoration in Grok?

Try softer illumination on a supplied photo before deciding whether to keep the edit. Your chat app can help compare the result with the original and identify details worth checking.

Portrait shadow cleanup

Soften harsh facial shadows in a portrait, then compare facial details with the original before selecting the edit.

Product photo lighting cleanup

Try even illumination on a product photo with distracting light spots. Check labels, surface texture, and color before using the result.

Preparation for creative relighting

Create a softly lit starting image before a separate editing pass adds the desired lighting.

Lighting training pairs

Pair an original lit portrait with a lighting-removed result for review as training data.

Website photo review

Prepare corrected candidates for website photos whose harsh shadows compete with the subject. Review them in the intended layout.

Lighting correction comparisons

Build before-and-after comparisons to decide which photos benefit from softer illumination and which should keep their original contrast.

Questions about Qwen Image Edit Lighting Restoration in Grok

Can Grok use Qwen Image Edit Lighting Restoration?

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

How much does Qwen Image Edit Lighting Restoration cost in Grok?

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

Do I need a fal account to use Qwen Image Edit Lighting Restoration in Grok?

No. Spiral runs Qwen Image Edit Lighting Restoration 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 Lighting Restoration in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Qwen Image Edit Lighting Restoration runs?

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

What does Qwen Image Edit Lighting Restoration change?

It targets harsh shadows and bright light spots in an existing image, replacing them with softer, more even illumination.

Is it a good choice for dramatic portrait lighting?

Choose it when you want to soften the existing lighting. Since shadow removal is its purpose, keep the original if strong contrast is part of the portrait's appeal.

Can it prepare photos for a lighting training dataset?

Yes. The creator describes removing illumination from a lit photo to help build training pairs with and without that lighting; review each pair before including it.

How should I describe the lighting correction?

Keep the request focused on removing light and shadow and producing soft, even illumination. The creator supplies a fixed Chinese instruction for that operation, so elaborate scene descriptions are unnecessary.

What size will the restored image be?

Without a requested output size, it uses the dimensions of the final input image. Compare the original and result at the same display size when checking the correction.

Get started

Start using Qwen Image Edit Lighting Restoration in Grok

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

Paste this into Grok:

Set up Grok

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