Text-to-Image
Diffusers
MLX
mflux
flux
flux2
flux.2-klein-4b
lora
comic
illustration
line-art
crosshatching
black-and-white
comic-art
technical-art
schematics
imaginator
apple-silicon-training
qlora
Instructions to use itslenoid/flux2-klein-4b-comic-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use itslenoid/flux2-klein-4b-comic-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("itslenoid/flux2-klein-4b-comic-lora") prompt = "a black and white comic illustration of a software engineer at a multi-monitor workstation, detailed line art, crosshatching, technical schematics on the wall, high contrast" image = pipe(prompt).images[0] - MLX
How to use itslenoid/flux2-klein-4b-comic-lora with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download itslenoid/flux2-klein-4b-comic-lora --local-dir flux2-klein-4b-comic-lora
- mflux
How to use itslenoid/flux2-klein-4b-comic-lora 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
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
- Atomic Chat
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!