itslenoid/comic-illustration-dataset
Viewer β’ Updated β’ 86 β’ 109 β’ 1
How to use itslenoid/flux2-klein-4b-comic-fused-2x with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("itslenoid/flux2-klein-4b-comic-fused-2x", dtype=torch.bfloat16, device_map="cuda")
prompt = "a black and white comic illustration of a retro mainframe computer core, aggressive ink crosshatching, complex wire diagrams, extreme contrast"
image = pipe(prompt).images[0]How to use itslenoid/flux2-klein-4b-comic-fused-2x with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download itslenoid/flux2-klein-4b-comic-fused-2x --local-dir flux2-klein-4b-comic-fused-2x
How to use itslenoid/flux2-klein-4b-comic-fused-2x with mflux:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
A complete, standalone fine-tuned checkpoint of FLUX.2-klein-4B with the Comic Illustration LoRA baked directly into the model weights at a maximum scale of 2.0x, created with Imaginator.
This model provides maximum style dominance: extreme black-and-white contrast, heavy woodcut/engraving crosshatching, and aggressive ink saturation that completely eliminates soft grayscale photorealism.
| Model Variant | Repository | Format | Adaptation Scale | Fidelity vs. Style Transfer Tradeoff Profile | Best For |
|---|---|---|---|---|---|
| β‘ Standalone Fused 2.0x (This Repo) | itslenoid/flux2-klein-4b-comic-fused-2x | Full Model Safetensors (~4B) | 2.0x Heavy Saturation | Aggressive Style Dominance: Maximum ink density, forceful conversion of mid-tones into binary hatching patterns, high-contrast woodcut/engraving texture. | High-contrast noir comics, retro pulp art, intense black-and-white ink drawings. |
| β‘ Standalone Fused 1.5x | itslenoid/flux2-klein-4b-comic-fused-1.5x | Full Model Safetensors (~4B) | 1.5x Amplified | Balanced Style Saturation: Pronounced pen-and-ink aesthetics, distinct crosshatching gradients, and stylized background blueprints while retaining subject clarity. | Graphic novels, character design, developer & hacker workspace illustrations. |
| β‘ Standalone Fused 1.0x | itslenoid/flux2-klein-4b-comic-fused-1x | Full Model Safetensors (~4B) | 1.0x Baseline | High Prompt Fidelity: Strict adherence to complex compositional instructions. Clean contour lines, restrained crosshatching, neutral tonal balance. | Engineering schematics, infographics, detailed scenes requiring strict prompt adherence. |
| π¦ Dynamic LoRA Adapter | itslenoid/flux2-klein-4b-comic-lora | LoRA Safetensors (~99 MB) | Configurable (0.0x - 2.0x) | Full Prompt Flexibility: Preserves base model text comprehension; enables dynamic scale sweeping and multi-LoRA stacking. | Custom adapter pipelines, testing varied scale strengths, storage-limited setups. |
mflux (Recommended for Mac)
mflux-generate-flux2 \
--model itslenoid/flux2-klein-4b-comic-fused-2x \
--prompt "a black and white comic illustration of an astronaut in a derelict station, heavy ink crosshatching, technical schematics, extreme contrast" \
--steps 30 \
--guidance 1.0 \
--low-ram \
--output comic_2x_output.png \
--seed 42
diffusers (PyTorch)
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained(
"itslenoid/flux2-klein-4b-comic-fused-2x",
torch_dtype=torch.bfloat16
).to("cuda")
prompt = "a black and white comic illustration of an astronaut repair technician, heavy pen and ink, dense crosshatching, high-contrast mechanical blueprints"
image = pipe(
prompt=prompt,
num_inference_steps=30,
guidance_scale=3.5,
height=1024,
width=1024,
).images[0]
image.save("comic_2x_diffusers.png")
| Parameter | Recommended Value | Notes |
|---|---|---|
| Inference Steps | 25 β 35 |
30 steps allows dense ink textures to fully resolve. |
| Guidance Scale | 1.0 (mflux) / 3.0 - 3.5 (diffusers) |
Keeps black-and-white tonal contrast sharp. |
| Resolution | 1024x1024, 1024x768, 768x1024 |
Native training aspect ratios. |
a black and white comic illustrationdense ink crosshatching, heavy pen and ink, woodcut textureintricate technical diagrams, circuit schematicsstark monochrome, graphic novel noirThis standalone fused checkpoint was produced with Imaginator:
This model is released under the Apache 2.0 License.
Quantized
Base model
black-forest-labs/FLUX.2-klein-4B
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download itslenoid/flux2-klein-4b-comic-fused-2x --local-dir flux2-klein-4b-comic-fused-2x