Text-to-Image
Diffusers
Safetensors
MiniMax H3
Pruna AI
English
image-to-image
image-generation
image-editing
prompt-upsampling
modular-diffusers
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
Update README.md
Browse files
README.md
CHANGED
|
@@ -84,7 +84,7 @@ This repository holds the [diffusers](https://github.com/huggingface/diffusers)
|
|
| 84 |
|
| 85 |
## Quickstart
|
| 86 |
|
| 87 |
-
|
| 88 |
such as one H200 or B200, or 80 GB with [offloading](#less-gpu-memory).
|
| 89 |
|
| 90 |
```bash
|
|
@@ -317,9 +317,6 @@ unless you have a separate license from MiniMax, and products built on it must s
|
|
| 317 |
encoder's Qwen3-VL-4B parts and the prompt upsampler, based on Qwen3.5-9B, are under the
|
| 318 |
[Apache License 2.0](LICENSE-APACHE). See [NOTICE](NOTICE) for details.
|
| 319 |
|
| 320 |
-
P-H3-Image would not exist without [MiniMax](https://huggingface.co/MiniMaxAI), who released H3 with open weights, and
|
| 321 |
-
the [Qwen team](https://huggingface.co/Qwen).
|
| 322 |
-
|
| 323 |
## What's next?
|
| 324 |
|
| 325 |
- Compress your own models with [Pruna](https://github.com/PrunaAI/pruna) and give us a ⭐️ for more efficiency!
|
|
|
|
| 84 |
|
| 85 |
## Quickstart
|
| 86 |
|
| 87 |
+
Run text-to-image and editing with the same pipeline. At 8 MP in bf16 it needs a GPU with about 101 GB of memory,
|
| 88 |
such as one H200 or B200, or 80 GB with [offloading](#less-gpu-memory).
|
| 89 |
|
| 90 |
```bash
|
|
|
|
| 317 |
encoder's Qwen3-VL-4B parts and the prompt upsampler, based on Qwen3.5-9B, are under the
|
| 318 |
[Apache License 2.0](LICENSE-APACHE). See [NOTICE](NOTICE) for details.
|
| 319 |
|
|
|
|
|
|
|
|
|
|
| 320 |
## What's next?
|
| 321 |
|
| 322 |
- Compress your own models with [Pruna](https://github.com/PrunaAI/pruna) and give us a ⭐️ for more efficiency!
|