Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Illumination Drawing Tools for Text-to-Image Diffusion Models
| Date | Stars |
|---|---|
| 2026-07-31 | 776 |
| 2026-08-01 | 776 |
| 2026-08-06 | 776 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# LuminaBrush
**Work in Progress (WIP): this page may be updated a lot recently.**
LuminaBrush is a project to build an interactive tool to draw illumination effects on images.
The framework is a two-stage method: one stage to convert an image to a "uniformly-lit" appearance, and another stage to generate the illumination effect with user scribbles.
# Notes
2025 May 01: The huggingface space in under maintenance now ...
# Demos
LuminaBrush is currently based on Flux.
HF Demo: https://huggingface.co/spaces/lllyasviel/LuminaBrush
Examples with seed 12345:





(the above examples can be reproduced by clicking the HF demo page's examples)
(the HF demo page may have more examples)
# Framework

LuminaBrush is a two-stage framework. The first stage (on the left) convert images to "uniformly-lit" appearances (eg., those lit by uniformly distributed white ambient light sources); the second stage (on the right) generate illumination effects for those "uniformly-lit" appearances, guided by user scribbles.
Decomposing the illumination drawing problem into two stages makes the learning easier and more straightforward - otherwise (eg., if only use one stage) one may need to consider external constraints/regulations (like light transport consistency, etc) to stabilize model behaviors.
We begin with collecting a relatively small set of images with relatively uniformly-lit appearances - for example like these:

(and then we also expand this set with generated images from a Flux LoRA trained on this set)
Using these "uniformly-lit" images as an intermediate representation has some advantages, like avoiding overly sharp mesh boundaries or overly flat surfaces from 3D albedo. And those images are somewhat detailed enough to handle skin texture details, hair, fur, etc..
We then synthesize random normals to relight those "uniformly-lit" images randomly to train a model that can extract "uniformly-lit" appearances from any input images.
After that, we extract "uniformly-lit" appearances from millions of high-quality in-the-wild images, to build paired data to train the final interactive illumination drawing model.
One obvious side-product of this method is an application to use the "uniformly-lit stage" independently to somewhat "delight" images - we also built an HF space for people who want to play with it:
https://huggingface.co/spaces/lllyasviel/lumina_brush_uniform_lit





(the HF demo has more examples)
# bib
@Misc{luminabrush2024,
author = {LuminaBrush Team},
title = {LuminaBrush: Illumination Drawing Tools for Text-to-Image Diffusion Models},
year = {2024},
}
# Work in progress
more info will be added later ...
Excerpt of 3,783 characters
Read on GitHub2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:babf154151de4d96, desc:text-to-image