Views
No views yet

QIE-2511-FlatLog2TrueColor is an adapter LoRA developed for Qwen’s Qwen-Image-Edit-2511 image-to-image model, designed to transform flat log images into true, natural colors. The model restores contrast, saturation, and tonal balance while preserving the original identity, composition, textures, and geometry. It enables accurate color recovery with smooth highlight roll-off, well-controlled shadows, and artifact-free results.
Compatible with versions 2509 and 2511.
pip install -U diffusers transformers accelerate1import torch
2from diffusers import DiffusionPipeline
3from diffusers.utils import load_image
4
5# Switch to "mps" for Apple devices
6pipe = DiffusionPipeline.from_pretrained(
7 "Qwen/Qwen-Image-Edit-2511",
8 dtype=torch.bfloat16,
9 device_map="cuda"
10)
11
12pipe.load_lora_weights("prithivMLmods/QIE-2511-FlatLog2TrueColor")
13
14prompt = "Transform a flat log image into true colors"
15
16input_image = load_image(
17 "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
18)
19
20image = pipe(image=input_image, prompt=prompt).images[0]Transform a flat log image into true colors