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
Download processor/tokenizer_config.json from PrunaAI/P-H3-Image: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/PrunaAI/P-H3-Image/resolve/main/processor/tokenizer_config.json
- Command line
-
hf download hf://PrunaAI/P-H3-Image/processor/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/PrunaAI/P-H3-Image/resolve/main/processor/tokenizer_config.json
734 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "is_local": true, | |
| "local_files_only": false, | |
| "model_max_length": 262144, | |
| "pad_token": "<|endoftext|>", | |
| "processor_class": "Qwen3VLProcessor", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |