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
Upload example-output.png with huggingface_hub
Browse files- .gitattributes +1 -0
- example-output.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
example-output.png filter=lfs diff=lfs merge=lfs -text
|
example-output.png
ADDED
|
Git LFS Details
|