Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Norod78
/
flux2-klein-4b-base-lora-vintage-book-cover

Text-to-Image
Diffusers
diffusers-training
lora
flux2
flux2-diffusers
template:sd-lora
Model card Files Files and versions
xet
Community

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
93.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Norod78's picture
Norod78
Update README.md
db3a207 verified about 2 months ago
  • .gitattributes
    1.79 kB
    Upload 7 files about 2 months ago
  • 1776121622671__000002500_0.jpg
    224 kB
    xet
    Upload 7 files about 2 months ago
  • 1776121690685__000002500_2.jpg
    173 kB
    xet
    Upload 7 files about 2 months ago
  • 1776121724718__000002500_3.jpg
    187 kB
    xet
    Upload 7 files about 2 months ago
  • 1776121758712__000002500_4.jpg
    167 kB
    xet
    Upload 7 files about 2 months ago
  • README.md
    1.86 kB
    Update README.md about 2 months ago
  • flux2-klein-4b-base-lora-vintage-book-cover-train-config.yaml
    3.51 kB
    Upload 7 files about 2 months ago
  • flux2-klein-4b-base-lora-vintage-book-cover.safetensors
    92.4 MB
    xet
    Upload 7 files about 2 months ago