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

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
2

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

  • Libraries
  • Diffusers

    How to use PrunaAI/P-H3-Image 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-H3-Image", 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-H3-Image 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-H3-Image", 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-H3-Image
99.8 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 18 commits
sdiazlor's picture
sdiazlor
Update README.md
7f98ace verified 1 day ago
  • assets
    Upload 4 files 1 day ago
  • audio_scheduler
    Set shift_provided_sigmas in the scheduler configs 5 days ago
  • processor
    Convert to the diffusers modular layout 8 days ago
  • prompt_upsampler
    Use a dense AdaLN and add the prompt upsampler 7 days ago
  • prompt_upsampler_processor
    Use a dense AdaLN and add the prompt upsampler 7 days ago
  • scheduler
    Set shift_provided_sigmas in the scheduler configs 5 days ago
  • text_connector
    Convert to the diffusers modular layout 8 days ago
  • text_encoder
    Convert to the diffusers modular layout 8 days ago
  • tokenizer
    Convert to the diffusers modular layout 8 days ago
  • transformer
    Use a dense AdaLN and add the prompt upsampler 7 days ago
  • vae
    Convert to the diffusers modular layout 8 days ago
  • .gitattributes
    2.32 kB
    Upload 4 files 1 day ago
  • LICENSE
    17.6 kB
    Add license and model card metadata 7 days ago
  • LICENSE-APACHE
    11.5 kB
    Add the Apache 2.0 license and a notice 7 days ago
  • NOTICE
    696 Bytes
    Add the Apache 2.0 license and a notice 7 days ago
  • README.md
    19.3 kB
    Update README.md 1 day ago
  • modular_model_index.json
    3.53 kB
    Install diffusers from GitHub and use the new repo name 1 day ago