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 comparisons/edit-example/record.json from devin-lai/MiniMax-H3-Image-mlx: direct link, hf CLI and curl.
- Browser
- Download file 3.04 kB
-
https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx/resolve/main/comparisons/edit-example/record.json
- Command line
-
hf download hf://devin-lai/MiniMax-H3-Image-mlx/comparisons/edit-example/record.json
-
curl -L -o record.json https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx/resolve/main/comparisons/edit-example/record.json
3.04 kB
| { | |
| "prompt": "Change the cobalt blue glass perfume bottle in <Picture 1> to deep emerald green glass. Preserve the pale engraved NIGHT TIDE label, exact lettering, bottle shape, cap, stone backdrop, composition, lighting and shadows. The glass should be visibly green with realistic emerald highlights and reflections.", | |
| "seed": 42, | |
| "size": [ | |
| 1024, | |
| 1024 | |
| ], | |
| "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": "native", | |
| "threads": 256, | |
| "quantized_path": null | |
| }, | |
| "encoder": { | |
| "cache_dir": "cache", | |
| "bits": null, | |
| "group_size": 64, | |
| "query_chunk": 0 | |
| }, | |
| "vae": { | |
| "tile_batch": 1, | |
| "dtype": "bfloat16" | |
| }, | |
| "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" | |
| } | |
| }, | |
| "timings": { | |
| "encode_s": 28.711510707857087, | |
| "dit_setup_s": 0.3510471251793206, | |
| "step_0_s": 32.27381366607733, | |
| "step_1_s": 18.178750790888444, | |
| "step_2_s": 17.952110541053116, | |
| "step_3_s": 17.822316124802455, | |
| "step_4_s": 17.744772125035524, | |
| "step_5_s": 17.770629958016798, | |
| "decode_s": 4.267031416995451, | |
| "total_s": 157.7393269999884 | |
| }, | |
| "reference_images": [ | |
| "experiments/reference-bottle.png" | |
| ], | |
| "reference_sha256": [ | |
| "96d23a5fb97d8dbff46990ec6c13a8caf8573f2b4d41820c9cae0efc3d0b872c" | |
| ], | |
| "conditioning_cache_hit": false, | |
| "dit_effective": { | |
| "bits": null, | |
| "group_size": 64, | |
| "cache_limit_gb": 38.0, | |
| "checkpoint_fingerprint": "d92ff1655d366a65a0964dc770fb50a3db623de2f490371e82776a10e2d5d900" | |
| }, | |
| "dit_was_resident": false, | |
| "dit_metrics": { | |
| "block_load_s": 16.658172828843817, | |
| "block_compute_s": 105.10201758518815, | |
| "block_loads": 52 | |
| }, | |
| "memory_before_decode": { | |
| "active_gb": 36.05878337472677, | |
| "peak_gb": 37.71541484631598, | |
| "cache_gb": 0.9982056273147464 | |
| }, | |
| "memory": { | |
| "active_gb": 36.81037116795778, | |
| "peak_gb": 37.71541484631598, | |
| "cache_gb": 0.31941457837820053 | |
| }, | |
| "output": "outputs/suite/edit/native-0.png", | |
| "png_sha256": "9df3f80efa5ef9f078c9acda81febdbc2d5d706f3c85c574fdfd9fd274b71304" | |
| } | |