Mindket

LBM Relighting

Newversion 1 · updated

Overview

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 . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • 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
Runs in
  • 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
Start with
pip install -U huggingface_hub
hf download jasperai/LBM_relighting --repo-type space --local-dir LBM_relighting
cd LBM_relighting

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

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.

IndustryWho uses itHow they use itExample
PhotographyPhoto editorsOpen the Space and relight an imageTrying a different light on a portrait
E-commerceProduct teamsRelight product photosMatching the light across a set of images
Machine learningResearchersDownload the files and read app.py and utils.pyStudying 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 caseWhoWhat they get back
Try it onlineAnyone with a browserThe Gradio app running from the Space
Relight an imagePhoto editorsThe image with new lighting
Run it locallyDevelopers with PythonA 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.
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.

python app.py
ToolWhat it does
python app.pyStarts the Gradio app from the main file
pip install -r requirements.txtInstalls the packages the app needs
hf downloadFetches 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.

  1. Open the Space or run app.py
  2. You give it an image
  3. The model relights it
  4. 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 and files

README

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.

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.
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.

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

On Hugging Face, 13 November 2026

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

Links

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.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

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

ProductLikesBuilt withLicenseLast change
LBM Relighting This page426gradiocc-by-4.0
FLUX.1 [dev]Shares gradio9,583gradiomit
InstantIDShares gradio3,659gradioapache-2.0
Chat With Janus-Pro-7BShares gradio2,036gradiomit
PhotoMakerShares gradio1,960gradioapache-2.0
Z Image TurboShares gradio1,940gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k