Get API key

Shadow Remover API

by PopNow

Lift harsh shadows off faces and products in one click

popnow/shadow-remover-v1/editFrom 30 creditsper image · $0.03
  • 9 aspect ratios
  • Shadow Remover

About Shadow Remover

Lift harsh shadows off faces and products in one click.

Call it with the model name popnow/shadow-remover-v1/edit on POST /jobs/createTask, from 30 credits per image ($0.03).

Introduction

Shadow Remover takes the hard shadows and harsh light off a photo and relights it with soft, even light. You send one image and get the same scene back, with the same person, outfit and background, minus the leaf patterns, blind stripes or midday glare. There is no prompt: the instruction and the shadow-removal LoRA are fixed.

Key features

No prompt to write

The tool runs Qwen-Image-Edit-2509 with the Light Restoration LoRA by dx8152 and one fixed instruction. Upload, wait about 12 seconds, download.

It does what the base model will not

With the same photo, instruction and seed, the underlying edit model on its own returned the leaf shadows untouched. With the LoRA they were gone and the face was evenly lit.

The scene stays

Pose, clothing, hair and background come back as they were. Only the light changes, which is why it works as a first step before relighting or retouching.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21
image_urlYesThe picture to start from.
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.001). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
Standard30$0.03

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Holiday and outdoor portraits

Shots taken under trees, pergolas or in midday sun often have blotchy shadows on the face. Remove them instead of reshooting, and keep the moment you actually caught.

Fashion and product photos

Blind stripes and window patterns over clothing hide colour and fabric. Even them out so the outfit reads clearly.

Clean base for new light

Take the light out with Shadow Remover, then describe the light you want with Relight.

Prompt guide & pro tips

Pick photos where the shadow is the problem

The tool flattens all light, not just shadows. A photo whose drama comes from one hard key light will lose it. Use it on photos where the shadows are in the way, and keep the dramatic ones as they are.

Compare faces on portraits

Faces are redrawn while the light changes. Most stay very close; check the result next to the original before replacing an important portrait.

Upscale after, not before

The result is about one megapixel whatever you send, so a huge source does not buy detail. Run Image Upscaler on the result if you need a larger file.

API quick start

Call the Shadow Remover API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model popnow/shadow-remover-v1/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "popnow/shadow-remover-v1/edit",
  "input": {
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "output_format": "jpeg"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Shadow Remover API questions

How much does the Shadow Remover API cost?

Shadow Remover costs 30 credits ($0.03) per image. Credits are the same as on the website (1 credit = $0.001), and failed tasks are refunded.

What is the model name for Shadow Remover in the API?

Put popnow/shadow-remover-v1/edit for Shadow Remover in the model field of POST /jobs/createTask.

Do I need to write a prompt?

No. The instruction is fixed: remove the light and shadows and relight the photo with soft, even light. You only send the photo.

What kinds of shadows does it remove?

In our tests it removed palm-leaf shadows across a face and shirt, venetian-blind stripes over a woman and the wall behind her, a lace-curtain pattern on legs and stone steps, and a pergola grid on a man's face and arms. Each came back as an evenly lit photo of the same scene.

Is this better than asking a normal image editor?

For this job, yes. With the same photo, instruction and seed, the underlying edit model without the shadow-removal LoRA returned the leaf shadows untouched; with the LoRA they were gone.

Will it change the person?

Pose, clothes, hair and background stay. The face is redrawn while the light changes, so small differences can appear; compare the result with the original.

What are the limits of the Shadow Remover API?

Aspect ratios: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +3; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

Can I try Shadow Remover without writing code?

Yes. The Playground runs Shadow Remover on your PopNow credits, needs no API key, and shows the matching code for every run.

More about Shadow Remover