Instructions to use tiny-random/minimax-h3-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tiny-random/minimax-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("tiny-random/minimax-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 vae/config.json from tiny-random/minimax-h3-image: direct link, hf CLI and curl.
- Browser
- Download file 941 Bytes
-
https://huggingface.co/tiny-random/minimax-h3-image/resolve/main/vae/config.json
- Command line
-
hf download hf://tiny-random/minimax-h3-image/vae/config.json
-
curl -L -o config.json https://huggingface.co/tiny-random/minimax-h3-image/resolve/main/vae/config.json
941 Bytes
| { | |
| "_class_name": "AutoencoderKLMiniMaxH3Image", | |
| "_diffusers_version": "0.43.0", | |
| "block_out_channels": [ | |
| 32, | |
| 32, | |
| 32, | |
| 32, | |
| 32, | |
| 32 | |
| ], | |
| "decoder_attention_head_dim": 32, | |
| "decoder_ffn_mult": 4, | |
| "decoder_norm_eps": 1e-05, | |
| "decoder_num_attention_heads": 2, | |
| "decoder_num_layers": 4, | |
| "decoder_num_register_tokens": 4, | |
| "decoder_rope_dim_ratio": 0.5, | |
| "decoder_rope_theta": 100.0, | |
| "in_channels": 3, | |
| "latent_channels": 8, | |
| "latents_mean": [ | |
| 0.0, | |
| 0.0, | |
| 0.0, | |
| 0.0, | |
| 0.0, | |
| 0.0, | |
| 0.0, | |
| 0.0 | |
| ], | |
| "latents_std": [ | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "layers_per_block": 2, | |
| "norm_eps": 1e-06, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "spatial_downsample_factors": [ | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 1, | |
| 1 | |
| ], | |
| "spatial_padding_mode": "reflect", | |
| "temporal_downsample_factors": [ | |
| 1, | |
| 2, | |
| 2, | |
| 1, | |
| 1, | |
| 1 | |
| ] | |
| } | |