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-Image-OSS

Text-to-Image
Diffusers
Safetensors
MiniMax H3
Pruna AI
English
image-to-image
image-generation
image-editing
prompt-upsampling
modular-diffusers
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • Diffusers

    How to use PrunaAI/P-Image-OSS with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("PrunaAI/P-Image-OSS", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Pruna AI

    How to use PrunaAI/P-Image-OSS with Pruna AI:

    from pruna import PrunaModel
    pip install -U diffusers transformers accelerate
    from pruna import PrunaModel
    import torch
    # switch to "mps" for apple devices
    pipe = PrunaModel.from_pretrained("PrunaAI/P-Image-OSS", dtype=torch.bfloat16, device_map="cuda")
    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-Image-OSS
99.8 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 21 commits
sdiazlor's picture
sdiazlor
Update README.md
e603084 verified about 1 hour ago
  • assets
    Update image and comfy link about 2 hours ago
  • audio_scheduler
    Set shift_provided_sigmas in the scheduler configs 20 days ago
  • processor
    Convert to the diffusers modular layout 23 days ago
  • prompt_upsampler
    Use a dense AdaLN and add the prompt upsampler 22 days ago
  • prompt_upsampler_processor
    Use a dense AdaLN and add the prompt upsampler 22 days ago
  • scheduler
    Set shift_provided_sigmas in the scheduler configs 20 days ago
  • text_connector
    Convert to the diffusers modular layout 23 days ago
  • text_encoder
    Convert to the diffusers modular layout 23 days ago
  • tokenizer
    Convert to the diffusers modular layout 23 days ago
  • transformer
    Use a dense AdaLN and add the prompt upsampler 22 days ago
  • vae
    Convert to the diffusers modular layout 23 days ago
  • .gitattributes
    2.33 kB
    update naming about 2 hours ago
  • LICENSE
    17.6 kB
    Add license and model card metadata 22 days ago
  • LICENSE-APACHE
    11.5 kB
    Add the Apache 2.0 license and a notice 22 days ago
  • NOTICE
    699 Bytes
    update naming about 2 hours ago
  • README.md
    19.3 kB
    Update README.md about 1 hour ago
  • modular_model_index.json
    3.54 kB
    update naming about 2 hours ago