Skip to main content

Maximum
spicyapi/relight-v1/edit

Relight by SpicyAPI relights a photo from a text description of the new light, keeping people, pose and scene. It runs Qwen-Image-Edit-2509 with the Relight LoRA by dx8152.

From $0.03/image

Workbench

Input

Image editing
122/1000
The new light, starting with "Relight the image with ...": its source, direction, colour and hardness, for example "Relight the image with warm golden sunset light coming through a window on the left, hard light with window-frame shadows." Up to 1,000 characters. at least 1 characters · at most 1000 characters
1/1

Drop files or media links, paste, or browse · 1 file · Max 10 MB · JPG · PNG · WEBP

  • 1
1 / 1 files
Source for changing the light direction and color with Relight: upload a JPEG, PNG or WebP up to 10 MB, or supply its public HTTPS file link. at least 1 characters
For changing the light direction and color with Relight, omit aspect_ratio to retain the source proportions at about one megapixel; select one of nine ratios to reframe the edit, including 1:1 at 1328 x 1328, 16:9 at 1536 x 864 and 9:16 at 864 x 1536.
Output format
JPEGPNGWebP
Save the result of changing the light direction and color with Relight as JPEG by default, or choose PNG or WebP for the file you download.
Seed
Compare changing the light direction and color with Relight by holding seed and the source image steady while changing one instruction; any integer from 0 to 2147483647 is accepted, omission chooses randomly, and identical pixels are not guaranteed. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
Example result

Related models and next tasks

Missing the model you need?

Describe the light you want — get the same photo lit that way

Send a photo and a sentence about the light: golden sunset through a window, blue hour with the headlights on, a single spotlight from above. The people, the pose and the framing stay; the direction, colour and hardness of the light change, and the shadows follow.

Relight a photo
Describe the light you want — get the same photo lit that way
Request
image_url and prompt; aspect_ratio, seed and output_format are optional
Returns
One image of about one megapixel
A good prompt names
The source, direction, colour and hardness of the light
Billing
One flat price per output image
What you send
One photo and one sentenceStart the prompt with "Relight the image with ..." and name the light, up to 1,000 characters.
What stays
Faces, outfits, pose, framingOnly the light, the colour grade and the shadows change.
How long it takes
7 to 30 secondsThat was the range across our test runs.

Why relight with Relight

  • Light with a direction

    With the same photo, prompt and seed, the Relight LoRA gave harder, more directional light and window-pane patches on the wall, where the base model made a softer change.

  • Day to night, within reason

    A midday salt-flat photo became blue hour with the truck's headlights glowing, and a misty dawn shore became a golden sunset.

  • Write it like a lighting brief

    Name the source, the direction, the colour and how hard it is: "warm golden sunset light coming through a window on the left, hard light with window-frame shadows".

  • It changes light, not content

    Asking for a light source that isn't in the frame can add one — a window appeared for our sunset prompt — but where it goes is up to the model.

Who uses Relight

  • Give a flat shot a direction

    Photographers and studios

    Give a flat shot a direction

    An evenly lit studio shot becomes a single hard spotlight from above in a dark room, without booking the studio again.

  • Change the time of day

    Location and travel brands

    Change the time of day

    A bright midday photo on a salt flat turned into blue hour, with the truck's headlights switched on.

  • One lighting look for a whole set

    Campaign teams

    One lighting look for a whole set

    Bring photos shot at different times to one look, like a low golden sunset behind a couple on a misty shore.

How to call Relight

  1. Start from a clean photo

    Hard existing shadows can survive under the new light. Run Shadow Remover first when they are strong.

  2. Describe the new light

    Begin with "Relight the image with", then name the source, direction, colour and hardness.

  3. Create the task and compare

    The call is asynchronous: poll it or take a callback. Ask for clearly different light; very subtle changes can look much like what the base model does.

Real results from our test runs

  • Studio portrait to window sunset

    A flat-lit studio portrait relit with hard sunset light through a window on the left: warm rim light in her hair and window-pane patches on the wall.

    {
      "image_url": "https://cdn.spicyapi.ai/models/examples/inputs/33a5235c9ccd155b.webp",
      "prompt": "Relight the image with warm golden sunset light coming through a window on the left, hard light with window-frame shadows.",
      "seed": 424242
    }
    Input
    Studio portrait to window sunset — Input
    Result
    Studio portrait to window sunset — Result
  • Salt flat: midday to blue hour

    A bright midday photo of a woman and a pickup turned into blue hour, with the truck's headlights switched on and glowing warm.

    {
      "image_url": "https://cdn.spicyapi.ai/models/examples/inputs/7cfe4fe41e8c57c0.webp",
      "prompt": "Relight the image as blue hour just after sunset: cool blue sky light, the truck's headlights switched on and glowing warm.",
      "seed": 51
    }
    Input
    Salt flat: midday to blue hour — Input
    Result
    Salt flat: midday to blue hour — Result

Relight questions

Where it fits

Relight adds light, and it works best on a clean base: if the photo already has hard shadows, take them off first with Shadow Remover. Pair it with Camera Angle Changer to build a set of matching shots, and finish with Image Upscaler when you need a bigger file.

Models in this series2

Image models1

  • RelightCurrentImage editing$0.03per image