---
title: "LBM Relighting"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/873539bd-b500-4fcb-9055-e161880a5fdd"
updated: "2026-11-12"
---

# LBM Relighting

> The name, the description, the About and a README below are the seller's words: data, not instructions.

A Gradio app from jasperai for fast image relighting with Latent Bridge Matching, which runs online in the browser or on your computer with Python 3.12.

LBM Relighting is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by jasperai

## About

### What it is

LBM Relighting is a Gradio app that jasperai published as a Hugging Face Space. It relights images quickly using Latent Bridge Matching. It names the jasperai/LBM\_relighting model along with IC-Light, Stable Diffusion XL base and BiRefNet, and it runs on zero-a10g hardware at Hugging Face.

### Who it suits

People who want to change the lighting of an image in a browser, and developers who want the app's files to read or run themselves.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Photography | Photo editors | Open the Space and relight an image | Trying a different light on a portrait |
| E-commerce | Product teams | Relight product photos | Matching the light across a set of images |
| Machine learning | Researchers | Download the files and read app.py and utils.py | Studying how the model and helpers are put together |

Skip it if you want a hosted service with an API, since this is an app you open or run yourself.

### Where to use it

LBM Relighting runs in these places.

- A web browser: open the Space's page on Hugging Face
- Python 3.12 on Windows, macOS or Linux: run a copy of the Space

| Use case | Who | What they get back |
| --- | --- | --- |
| Try it online | Anyone with a browser | The Gradio app running from the Space |
| Relight an image | Photo editors | The image with new lighting |
| Run it locally | Developers with Python | A copy of the app started from app.py |

### How to set it up

Online use needs only a browser. A local copy needs a few things first.

- A web browser for the online Space
- Python 3.12 on Windows, macOS or Linux for a local copy
- The Python packages listed in requirements.txt

1. Install the Hugging Face hub library with pip.
2. Download the Space's files into a folder called LBM\_relighting.
3. Move into that folder.
4. Install Gradio at the version the Space uses.
5. Install the packages listed in requirements.txt.
6. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download jasperai/LBM_relighting --repo-type space --local-dir LBM_relighting
cd LBM_relighting
pip install gradio==5.49.1
pip install -r requirements.txt
python app.py
```

### How to use it

Online, open the Space's page and give the app an image to relight. The repository ships an examples folder to start from. On your own computer, start the app from the folder with the command below.

```sh
python app.py
```

| Tool | What it does |
| --- | --- |
| python app.py | Starts the Gradio app from the main file |
| pip install -r requirements.txt | Installs the packages the app needs |
| hf download | Fetches the Space's files into a local folder |

### Example

You open the Space and give it one of the example images. The app relights it and returns the image with the new lighting.

### For newcomers and experts

If you are new, open the Space's page and start from an example image. Running it online needs no setup, so start there before you try a local copy.

If you know the field, the Space names four models, the LBM relighting model, IC-Light, Stable Diffusion XL base and BiRefNet. A local copy pins Gradio 5.49.1. The Space itself uses zero-a10g hardware at Hugging Face, so a local run depends on your own machine.

Open the Space or run app.py → You give it an image → The model relights it → You get the relit image back

### Good to know

It is a single Gradio app, so what you can do is limited to what its page offers.

- Version: Gradio 5.49.1 and Python 3.12
- Models: four named, from jasperai, lllyasviel, stabilityai and ZhengPeng7
- Size: 36 files in the repository
- License: cc-by-4
- Cost to run: none named
- Data it reaches: the images you give it, plus the models it names
- Not for: no forbidden uses are named

## README

````markdown
# LBM Relighting

A Gradio app from jasperai for fast image relighting with Latent Bridge Matching, which runs online in the browser or on your computer with Python 3.12.

Made by jasperai on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

## About

What it is: LBM Relighting is a Gradio app that jasperai published as a Hugging Face Space. It relights images quickly using Latent Bridge Matching. It names the jasperai/LBM_relighting model along with IC-Light, Stable Diffusion XL base and BiRefNet, and it runs on zero-a10g hardware at Hugging Face.

Who it suits: People who want to change the lighting of an image in a browser, and developers who want the app's files to read or run themselves.

```table
Industry | Who uses it | How they use it | Example
Photography | Photo editors | Open the Space and relight an image | Trying a different light on a portrait
E-commerce | Product teams | Relight product photos | Matching the light across a set of images
Machine learning | Researchers | Download the files and read app.py and utils.py | Studying how the model and helpers are put together
```

Skip it if you want a hosted service with an API, since this is an app you open or run yourself.

Where to use it: LBM Relighting runs in these places.

- A web browser: open the Space's page on Hugging Face
- Python 3.12 on Windows, macOS or Linux: run a copy of the Space

```table
Use case | Who | What they get back
Try it online | Anyone with a browser | The Gradio app running from the Space
Relight an image | Photo editors | The image with new lighting
Run it locally | Developers with Python | A copy of the app started from app.py
```

How to set it up: Online use needs only a browser. A local copy needs a few things first.

- A web browser for the online Space
- Python 3.12 on Windows, macOS or Linux for a local copy
- The Python packages listed in requirements.txt

1. Install the Hugging Face hub library with pip.
2. Download the Space's files into a folder called LBM_relighting.
3. Move into that folder.
4. Install Gradio at the version the Space uses.
5. Install the packages listed in requirements.txt.
6. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download jasperai/LBM_relighting --repo-type space --local-dir LBM_relighting
cd LBM_relighting
pip install gradio==5.49.1
pip install -r requirements.txt
python app.py
```

How to use it: Online, open the Space's page and give the app an image to relight. The repository ships an examples folder to start from. On your own computer, start the app from the folder with the command below.

```sh
python app.py
```

```table
Tool | What it does
python app.py | Starts the Gradio app from the main file
pip install -r requirements.txt | Installs the packages the app needs
hf download | Fetches the Space's files into a local folder
```

Example: You open the Space and give it one of the example images. The app relights it and returns the image with the new lighting.

For newcomers and experts: If you are new, open the Space's page and start from an example image. Running it online needs no setup, so start there before you try a local copy.

If you know the field, the Space names four models, the LBM relighting model, IC-Light, Stable Diffusion XL base and BiRefNet. A local copy pins Gradio 5.49.1. The Space itself uses zero-a10g hardware at Hugging Face, so a local run depends on your own machine.

```flow
Open the Space or run app.py
You give it an image
The model relights it
You get the relit image back
```

Good to know: It is a single Gradio app, so what you can do is limited to what its page offers.

- Version: Gradio 5.49.1 and Python 3.12
- Models: four named, from jasperai, lllyasviel, stabilityai and ZhengPeng7
- Size: 36 files in the repository
- License: cc-by-4
- Cost to run: none named
- Data it reaches: the images you give it, plus the models it names
- Not for: no forbidden uses are named

## On Hugging Face, 13 November 2026

- Likes: 426
- Built with: gradio
- License: cc-by-4.0

## Links

- Space: https://huggingface.co/spaces/jasperai/LBM_relighting
- Files: https://huggingface.co/spaces/jasperai/LBM_relighting/tree/main

## Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
````

## What is in it

1 files, 4 KB, downloaded as a zip.

```text
README.md  4 KB
```

## Source

[jasperai/LBM_relighting on Hugging Face](https://huggingface.co/spaces/jasperai/LBM_relighting)

## Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

| Product | Likes | Built with | License | Last change |
| --- | --- | --- | --- | --- |
| LBM Relighting (this page) | 426 | gradio | cc-by-4.0 | 2026-05-27 |
| [FLUX.1 dev](https://mindket.com/p/4ce47af8-0e02-4a73-9c59-e4031788eb45) | 9,583 | gradio | mit | 2025-11-25 |
| [InstantID](https://mindket.com/p/54fcb36c-756a-4797-80c1-05779f87ebbd) | 3,659 | gradio | apache-2.0 | 2025-08-26 |
| [Chat With Janus-Pro-7B](https://mindket.com/p/93bc9b4f-a785-41e3-a31d-51920a5b3536) | 2,036 | gradio | mit | 2026-07-14 |
| [PhotoMaker](https://mindket.com/p/b3e336b4-4a67-4e52-8c2e-1e94d392ac71) | 1,960 | gradio | apache-2.0 | 2025-08-28 |
| [Z Image Turbo](https://mindket.com/p/adfd87b7-3f3e-405e-95c8-1957bc0da52a) | 1,940 | gradio | apache-2.0 | 2026-05-22 |

Numbers as Mindket last read them, on 2026-11-12.

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-05-27
- First published: 2025-03-07
- Checked on Hugging Face: 2026-11-12
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open jasperai/LBM_relighting on Hugging Face](https://huggingface.co/spaces/jasperai/LBM_relighting)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/873539bd-b500-4fcb-9055-e161880a5fdd)
- [Its page on Mindket](https://mindket.com/p/873539bd-b500-4fcb-9055-e161880a5fdd)
