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

mikkoph
/
mikkoph-klein9b

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use mikkoph/mikkoph-klein9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mikkoph/mikkoph-klein9b 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-9B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("mikkoph/mikkoph-klein9b")
    
    prompt = "A close-up sideway portrait by mikkoph of a very young, nord european woman with long, straight, platinum blonde hair, looking off to the side with a serene expression. She is bare-shouldered, with soft, natural-looking makeup that includes a warm, peachy-orange eyeshadow and a glossy, pinkish-lip tint. Her shoulders are raised, partially hiding her neck. The lighting is soft and even, highlighting the smooth texture of her skin against a plain, neutral gray background. The overall mood is calm, elegant, and minimalist."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
mikkoph-klein9b
75.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
mikkoph's picture
mikkoph
Update README.md
eed9c5b verified 3 months ago
  • images
    Upload 10 files 3 months ago
  • .gitattributes
    2.31 kB
    initial commit 3 months ago
  • README.md
    6.71 kB
    Update README.md 3 months ago
  • klein9b-mikkoph.safetensors
    39.9 MB
    xet
    Add 6 files 3 months ago