Views
No views yet
FLUX.2-Klein-Dotted-Illustration is an adapter LoRA developed for black-forest-labs/FLUX.2-klein-base-9B, designed to transform images into refined hand-drawn dotted illustrations. The model applies dense pointillism with carefully varied dot sizes and spacing to define form, depth, and shading while strictly preserving the subject’s identity, pose, proportions, and overall composition. It produces clean, print-ready results with natural ink density transitions, subtle organic imperfections, and a timeless editorial illustration aesthetic.
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 "black-forest-labs/FLUX.2-klein-base-9B",
8 torch_dtype=torch.bfloat16
9).to("cuda")
10
11pipe.load_lora_weights("prithivMLmods/FLUX.2-Klein-Dotted-Illustration")
12
13prompt = "dotted illustration"
14
15input_image = load_image(
16 "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
17)
18
19image = pipe(image=input_image, prompt=prompt).images[0]dotted illustrationTransform the image into a hand drawn dotted illustration using dense pointillism with carefully varied dot sizes and spacing to define form depth and shading, minimal or no line work, rendered in monochrome black ink on subtly textured off white paper, strictly preserving the subject’s identity pose proportions and overall composition, maintaining clear facial structure and recognizable features, with natural ink density transitions and slight organic imperfections, finished as a refined editorial print style poster that feels handcrafted and timeless, avoiding photorealism digital gloss color gradients or modern effects.