Instructions to use thedeoxen/FLUX.2-klein-9B-manga-colorization-by-reference-LORA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thedeoxen/FLUX.2-klein-9B-manga-colorization-by-reference-LORA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("thedeoxen/FLUX.2-klein-9B-manga-colorization-by-reference-LORA") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
FLUX.2 Klein 9B β Manga Colorization LoRA by reference
π Short description
A LoRA for FLUX.2 Klein 9B Base that colorizes manga pages using a color reference image.
Feed the first image β a black-and-white manga panel β and the second image β a reference with character colors. The model paints the page while keeping character palettes, hair, eyes, outfits, and overall style consistent.
Supports multiple characters in one reference image.
Trigger word: mngclranm
π Examples
| Manga page | Color reference | Result |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
π Extended description
This LoRA is built for manga and comic colorization. You provide a lineart or grayscale page and a color reference showing how characters should look β hair color, skin tone, clothing, accessories, and overall palette. The model fills in the page while preserving line art structure and character identity from the reference.
The color reference can include several characters at once (e.g. a colored splash page or character sheet). The LoRA maps those palettes onto matching figures in the target panel.
Part of the RefControl family: reference-guided image editing for consistent, controllable generation on FLUX.2 Klein 9B Base.
βοΈ How to use
- Use the first image as the manga page to colorize (lineart / B&W panel).
- Use the second image as the color reference (colored characters, palette guide).
- Add the trigger word
mngclranmin your prompt. - Optionally add a short text description (lighting, mood, background tint) to refine the result.
- Adjust LoRA weight (recommended 0.8β1.0) depending on how strongly you want to follow the reference colors.
Base model
Use with black-forest-labs/FLUX.2-klein-base-9B.
The undistilled Base variant is intended for LoRA training and custom pipelines (~50 inference steps, guidance_scale ~4.0).
β Example prompt
mngclranm
With optional description:
mngclranm, warm sunset lighting, soft shadows
π― What it does
- Colorizes black-and-white manga panels while keeping clean line art.
- Transfers character colors from a reference image (hair, eyes, skin, clothes).
- Supports multiple characters when the reference shows more than one.
- Accepts extra prompt text to steer lighting, atmosphere, or small details.
β‘ Tips
- Best results when the reference clearly shows the characters that appear on the target page.
- A colored cover, splash page, or character sheet works well as a multi-character reference.
- Add a few words in the prompt for lighting or background color if the flat reference is not enough.
- LoRA weight 1.0 gives the strongest color transfer; lower slightly if colors look oversaturated.
π Use cases
- Coloring new manga chapters from an existing colored reference.
- Keeping consistent palettes across a series or doujin.
- Batch colorization of lineart pages with one shared character reference.
- Quick preview coloring before manual finishing in Photoshop / Clip Studio.
π¦ Files
- Weights:
manga_colorization.safetensors - ComfyUI workflow:
Flux2_klein_9b_manga_colorization.json - Repo: thedeoxen/FLUX.2-klein-9B-manga-colorization-by-reference-LORA
- Downloads last month
- -
Model tree for thedeoxen/FLUX.2-klein-9B-manga-colorization-by-reference-LORA
Base model
black-forest-labs/FLUX.2-klein-base-9B












