Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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 / assets
38.7 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
sdiazlor's picture
sdiazlor
simlang's picture
simlang
Add v0.2 adapters (#9)
49b37ab 1 day ago
  • P-Q-Image-2.1-i2i-1024-end-to-end.png
    232 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-i2i-1024.png
    165 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-i2i-2048.png
    166 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-prompt-upsampling.png
    370 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-t2i-1024-all.png
    166 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-t2i-1024-end-to-end.png
    233 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-t2i-1024.png
    166 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-t2i-2048.png
    166 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1-v02-generation.png
    138 kB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • P-Q-Image-2.1.png
    30.8 MB
    xet
    Add v0.2 adapters (#9) 1 day ago
  • edit_grid.jpg
    5.91 MB
    xet
    Upload 6 files about 1 month ago
  • latency_t2i_1k_2k.png
    189 kB
    xet
    Add H100 latency chart and prompt, editing and resolution guidance about 1 month ago