Text-to-Image
MLX
MiniMax H3
Safetensors
English
apple-silicon
macos
image-to-image
image-editing
image-generation
Instructions to use devin-lai/MiniMax-H3-Image-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use devin-lai/MiniMax-H3-Image-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download devin-lai/MiniMax-H3-Image-mlx --local-dir MiniMax-H3-Image-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download examples/portrait.json from devin-lai/MiniMax-H3-Image-mlx: direct link, hf CLI and curl.
- Browser
- Download file 4.64 kB
-
https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx/resolve/main/examples/portrait.json
- Command line
-
hf download hf://devin-lai/MiniMax-H3-Image-mlx/examples/portrait.json
-
curl -L -o portrait.json https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx/resolve/main/examples/portrait.json
4.64 kB
| { | |
| "started_utc": "2026-11-12T09:43:27.381516+00:00", | |
| "prompt": "An intimate natural-light portrait of an elderly woman in a botanical conservatory, reading a small red clothbound book. Warm brown skin with visible freckles and fine wrinkles, silver curls lit from behind, intricate indigo knit cardigan. Soft fern fronds out of focus in the foreground; detailed hands and realistic skin texture. A candid 85mm color photograph with gentle shadows and no lettering.", | |
| "seed": 1234, | |
| "size": [ | |
| 2048, | |
| 2048 | |
| ], | |
| "canvas": [ | |
| 2048, | |
| 2048 | |
| ], | |
| "rng": "torch", | |
| "sigmas": [ | |
| 1.0, | |
| 0.9675236940383911, | |
| 0.8875485062599182, | |
| 0.75, | |
| 0.5327739119529724, | |
| 0.23200887441635132, | |
| 0.0 | |
| ], | |
| "steps": [ | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5 | |
| ], | |
| "dit": { | |
| "cache_dir": "cache", | |
| "cache_gb": 38, | |
| "bits": null, | |
| "group_size": 64, | |
| "mlp_chunk": 0, | |
| "query_chunk": 0, | |
| "kernel": "metal-qk-exact", | |
| "threads": 256, | |
| "quantized_path": null, | |
| "compile_blocks": true, | |
| "eval_every": 0, | |
| "keep_refiners": false, | |
| "weight_storage": "packed12", | |
| "async_blocks": false, | |
| "cache_refined_text": true, | |
| "prefetch_blocks": 4, | |
| "tune_matmul": true | |
| }, | |
| "encoder": { | |
| "cache_dir": "cache", | |
| "bits": null, | |
| "group_size": 64, | |
| "query_chunk": 0 | |
| }, | |
| "vae": { | |
| "tile_batch": 4, | |
| "dtype": "bfloat16", | |
| "compile_blocks": true | |
| }, | |
| "vae_backend": "mlx", | |
| "environment": { | |
| "platform": "macOS-27.0.1-arm64-arm-64bit", | |
| "machine": "arm64", | |
| "metal": { | |
| "device_name": "Apple M5 Pro", | |
| "max_recommended_working_set_size": 55662788608, | |
| "memory_size": 68719476736, | |
| "architecture": "applegpu_g17s", | |
| "max_buffer_length": 41747087360, | |
| "resource_limit": 499000 | |
| }, | |
| "versions": { | |
| "mlx": "0.32.4", | |
| "mlx-metal": "0.32.4", | |
| "numpy": "2.5.4", | |
| "safetensors": "0.8.0", | |
| "transformers": "4.57.6", | |
| "torch": "2.15.0", | |
| "Pillow": "13.0.0", | |
| "scikit-image": "0.26.0" | |
| }, | |
| "precision_environment": { | |
| "MLX_ENABLE_TF32": "0", | |
| "MLX_CONV_WINOGRAD": "0" | |
| } | |
| }, | |
| "wired_gb": 32, | |
| "timings": { | |
| "encode_s": 0.08218058408237994, | |
| "dit_setup_s": 0.0021450419444590807, | |
| "step_0_s": 10.038613541051745, | |
| "step_1_s": 10.278275415999815, | |
| "step_2_s": 10.234170750016347, | |
| "step_3_s": 10.295444874791428, | |
| "step_4_s": 10.20847308402881, | |
| "step_5_s": 10.264521708944812, | |
| "decode_s": 1.9153460001107305, | |
| "total_s": 63.443048041081056 | |
| }, | |
| "nonfinite_steps": [], | |
| "allow_nonfinite_diagnostic": false, | |
| "reference_images": [], | |
| "reference_sha256": [], | |
| "conditioning_cache_hit": true, | |
| "dit_effective": { | |
| "bits": null, | |
| "group_size": 64, | |
| "cache_limit_gb": 38.0, | |
| "checkpoint_fingerprint": "d92ff1655d366a65a0964dc770fb50a3db623de2f490371e82776a10e2d5d900" | |
| }, | |
| "dit_was_resident": true, | |
| "refiner_cache_hit": true, | |
| "dit_metrics": { | |
| "block_load_s": 0.0, | |
| "block_loads": 0, | |
| "block_wall_s": 61.21377325011417, | |
| "timing_note": "Weight loading can overlap GPU execution. block_wall_s and step timings measure elapsed time; block_load_s is CPU load time and is not additive." | |
| }, | |
| "memory_before_decode": { | |
| "active_gb": 28.067724749445915, | |
| "peak_gb": 29.89877963066101, | |
| "cache_gb": 0.8083806354552507, | |
| "process_physical_gb": 31.119941353797913, | |
| "process_lifetime_peak_physical_gb": 32.068702317774296 | |
| }, | |
| "valid_denoising": true, | |
| "memory": { | |
| "active_gb": 28.09522108733654, | |
| "peak_gb": 29.89877963066101, | |
| "cache_gb": 1.0468292646110058, | |
| "process_physical_gb": 30.6782146692276, | |
| "process_lifetime_peak_physical_gb": 32.068702317774296, | |
| "scope": "active/peak/cache: MLX allocator; process_*: macOS parent process including Metal, lifetime peak includes earlier requests; overlapping counters, do not sum" | |
| }, | |
| "output": "outputs/optimization-r3-compact/portrait/qk-fc2-native-norm-timed-0.png", | |
| "png_sha256": "32af5e3b95919e79e0019058ec396824c5861f9a43a4fa50c7b20348e8d81933", | |
| "finished_utc": "2026-11-12T09:44:30.829142+00:00", | |
| "physical_memory": { | |
| "sampled_peak_physical_bytes": 34173296232, | |
| "lifetime_peak_physical_bytes": 34433506920, | |
| "sample_interval_s": 0.1, | |
| "sample_count": 608, | |
| "scope": "Parent process only; includes Metal; excludes compiler XPC services. Counters overlap; do not sum." | |
| }, | |
| "outer_seconds": 63.4485142910853, | |
| "variant": "qk-fc2-native-norm", | |
| "repeat": 0, | |
| "phase": "timed", | |
| "case": "portrait", | |
| "canonical_pixel_sha256": "4226310bd1d79a0d0d4c0b572e2e7729541f5f171260cfeefd5e73b0a4196a47" | |
| } | |