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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PrunaAI
/
Pruna-Qwen-Image-2.1

Text-to-Image
Diffusers
qwen
image-generation
image-editing
rgba
lora
distilled
few-step
Model card Files Files and versions
xet
Community
6

Instructions to use PrunaAI/Pruna-Qwen-Image-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use PrunaAI/Pruna-Qwen-Image-2.1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("PrunaAI/Pruna-Qwen-Image-2.1")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Krea 2 Turbo Lora

#6 opened 1 day ago by
kdutt2000

Demo for this model on Spaces

#5 opened 3 days ago by
multimodalart

[D] Quality of Image benchmarking is missing

#4 opened 3 days ago by
suparnojit

gradio workflow app

1
#3 opened 4 days ago by
akhaliq

No mention of ComfyUI, is this for ComfyUI?

4
#2 opened 4 days ago by
kipdg
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs