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
/
P-Q-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
9

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

  • Libraries
  • Diffusers

    How to use PrunaAI/P-Q-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/P-Q-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
P-Q-Image-2.1
2.09 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 40 commits
sdiazlor's picture
sdiazlor
fix: update correct plots
c908756 2 minutes ago
  • assets
    fix: update correct plots 2 minutes ago
  • .gitattributes
    2.09 kB
    fix: full renaming about 2 hours ago
  • LICENSE
    7.83 kB
    Add Qwen Image 2.1 five-step LoRA adapter about 1 month ago
  • NOTICE
    207 Bytes
    Add Qwen Image 2.1 five-step LoRA adapter about 1 month ago
  • README.md
    20.9 kB
    fix: update correct plots 2 minutes ago
  • p_q_image_2.1_5_steps_v0.1.safetensors
    336 MB
    xet
    feix: coherent safetensors naming about 6 hours ago
  • p_q_image_2.1_6_steps_upsampled_v0.2.safetensors
    688 MB
    xet
    fix: update naming about 5 hours ago
  • p_q_image_2.1_6_steps_v0.2.safetensors
    688 MB
    xet
    fix: update naming about 5 hours ago
  • p_q_image_2.1_8_steps_v0.1.safetensors
    336 MB
    xet
    feix: coherent safetensors naming about 6 hours ago