Instructions to use Norod78/flux2-klein-4b-base-lora-vintage-book-cover with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Norod78/flux2-klein-4b-base-lora-vintage-book-cover 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-base-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Norod78/flux2-klein-4b-base-lora-vintage-book-cover") prompt = "book cover of a woman with red hair, playing chess at the park, bomb going off in the background" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,857 Bytes
d052012 db3a207 d052012 db3a207 d052012 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ---
base_model: black-forest-labs/FLUX.2-klein-base-4B
instance_prompt: book cover
library_name: diffusers
license: other
widget:
- text: book cover of a woman with red hair, playing chess at the park, bomb going off in the background
output:
url: 1776121622671__000002500_0.jpg
- text: book cover a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background
output:
url: 1776121690685__000002500_2.jpg
- text: woman playing the guitar, on stage, singing a song, laser lights, punk rocker book cover
output:
url: 1776121724718__000002500_3.jpg
- text: book cover of a man holding a sign that says, "this is a sign"
output:
url: 1776121758712__000002500_4.jpg
tags:
- text-to-image
- diffusers-training
- diffusers
- lora
- flux2
- flux2-diffusers
- template:sd-lora
- text-to-image
- diffusers-training
- diffusers
- lora
- flux2
- flux2-diffusers
- template:sd-lora
---
<!-- This model card has been generated automatically according to the information the training script had access to. You
should probably proofread and complete it, then remove this comment. -->
# Flux.2 [Klein base 4b] AI Toolkit LoRA - linoyts/Flux2-Klein-Delight-LoRA
<Gallery />
## Model description
These are Norod78/flux2-klein-4b-base-lora-vintage-book-cover AI-Toolkit LoRA weights for black-forest-labs/FLUX.2-klein-base-4B
## Trigger words
You should use `book cover` to trigger the image generation.
## Download model
[Download the *.safetensors LoRA](https://huggingface.co/Norod78/flux2-klein-4b-base-lora-vintage-book-cover/tree/main) in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
## License
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.2/blob/main/LICENSE.md).
|