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
flux2-klein-4b-base-lora-vintage-book-cover / flux2-klein-4b-base-lora-vintage-book-cover-train-config.yaml