Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

H3 Image MLX

Generate and edit images locally with MiniMax H3 Image and the Comfy-Org INT8 ConvRot weights. The runtime accepts ordered reference files and runs the text encoder, optional reference VAE, six-step DiT and image decoder in separate processes.

Install

Use Python 3.11+ on an Apple Silicon Mac with Metal. In a fresh environment, install the alpha release:

uv venv --python 3.13
uv pip install 'h3-image-mlx==0.1.0a1'
source .venv/bin/activate

Model files

Supply a directory containing these five files. Their source revisions, sizes and SHA-256 digests are pinned in the package's weights.json. You can reuse an existing model directory or link to its files. A fresh download needs 49.30 GB of disk space. The runtime loads all weights locally. Review the MiniMax model license for its territorial, use and distribution terms before fetching or using the model.

diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors
text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors
vae/minimax_h3_image_vae_fp16.safetensors
vae/config.json
tokenizer.json
h3-image-mlx verify --models ./models
# To fetch the five files into an empty directory, select a source:
h3-image-mlx fetch --models ./models --source modelscope
# --source huggingface selects the pinned Hugging Face files instead.

Generate and edit

h3-image-mlx generate --models ./models --prompt 'A yellow enamel teapot on a blue wooden table' --output teapot.png
h3-image-mlx generate --models ./models --reference teapot.png --reference bird.png \
  --prompt 'Edit <Picture 1>. Replace the cup with the bird from <Picture 2>.' --output edit.png
from h3_image_mlx import generate

im = generate("A red fox in fresh snow", models="./models", width=1024, height=1024,
              seed=42, dit_mode="stream")
im.save("fox.png")

Images are RGB. Use multiples of 32 from 256 to 4096 for each dimension. Pass up to 16 references in order using repeated --reference or the references argument. The original desktop pipeline completed single- and two-reference edits on the M5 Pro; its 16-reference run reached denoising step three before cancellation.

Hardware and memory

--backend auto selects the W8A8 TensorOps kernel on M5/M6 and the experimental portable path on earlier Apple GPUs. M5 Pro 48 GB is the physically tested hardware. M1–M4 and M6 need on-device validation. Explicit choices are w8a8 and portable.

--dit-mode stream reads DiT weights one layer at a time; resident keeps them between denoising steps. The default auto streams when using the portable backend, on machines with less than 32 GiB, or above 8192 packed sequence rows. This selection heuristic does not establish minimum supported machine memory.

Existing installations with the four weight and tokenizer files can run fetch once to verify them and add the 1,826-byte VAE configuration.

Attribution

This project’s own runtime code is licensed under Apache-2.0. The model and third-party kernels retain their respective licenses.

MiniMax developed H3 Image. Comfy-Org provides the pinned quantized weights. The VAE configuration downloads separately from the official VAE config. The upstream model agreement and attribution are included in the package. The three W8A8 Metal source files come from mlx-serve with their MIT license.

Metadata

Release files for h3-image-mlx 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for h3-image-mlx 0.1.0a1
File Size Uploaded Provenance Actions
h3_image_mlx-0.1.0a1.tar.gz 35.9 kB With provenance Details for h3_image_mlx-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for h3-image-mlx 0.1.0a1
File Interpreter ABI Platform Actions
h3_image_mlx-0.1.0a1-py3-none-any.whl Python 3 none any Details for h3_image_mlx-0.1.0a1-py3-none-any.whl

Total release size: 73.8 kB

Release files / h3_image_mlx-0.1.0a1.tar.gz

Download URL h3_image_mlx-0.1.0a1.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fac5768efd1bc8c874227f31bdc4dd39276be37809431df3935d4a95f33d8c0e
BLAKE2b-256 checksum
How to use checksums
b359975d404bffd1a3c6576317be7d316232f70e6779095fc22b01a66b88fd30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / h3_image_mlx-0.1.0a1-py3-none-any.whl

Download URL h3_image_mlx-0.1.0a1-py3-none-any.whl
Size 37.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bcd8f0947557c1f7004929a0dd1de450df0062638d91af436e1c9aeeae713ce
BLAKE2b-256 checksum
How to use checksums
c687e9aea3554adc26e75073b55d1248dcbce1bcab51e15a2bcb1c5a48197ad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for h3-image-mlx 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for h3_image_mlx-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page