EveryDev.ai
Subscribe
Home
Tools

3,569+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. h3.c
    h3.c icon

    h3.c

    Local Inference

    Native MiniMax-H3 inference engine for Apple Silicon Macs, enabling prompt-to-video/audio generation with Metal GPU acceleration.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT License. Self-host on Apple Silicon Mac with the MiniMax-H3 model checkpoint.

    Engagement

    Available On

    macOS
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Local InferenceVideoAudio

    Alternatives

    SupertonicMiso TTS 8BSteno
    Developer
    antirezantirez is the creator of Redis and an independent open-sour…

    Listed Aug 2026

    About h3.c

    h3.c is a native C inference engine for the MiniMax-H3 video-audio generation model, built specifically for Apple Silicon Macs using Metal GPU acceleration. Created by Salvatore Sanfilippo (antirez), the project is open source under the MIT License and hosted on GitHub. It targets M3 Max and M5 Max hardware and supports end-to-end prompt-to-video/audio generation, first/last-frame conditioning, and ordered Ref2VA image/video/audio references.

    What It Is

    h3.c is a local inference runtime for MiniMax-H3, a 33B diffusion transformer (DiT) model capable of generating short video clips with synchronized audio from text prompts. Rather than relying on Python frameworks or cloud APIs, it is written in C and uses Apple's Metal and MPSGraph APIs directly, making it a self-contained binary that runs the full generation pipeline on Mac hardware. The project is structured as a sequence of working vertical slices, progressing from model metadata and Metal block parity through prompt encoding, media generation, and reference conditioning.

    Core Capabilities

    • Prompt-to-video/audio: Generates H.264 video with 32 kHz stereo AAC audio from text prompts, using a Context-IR-style description format covering subject, action, camera, lighting, and sound.
    • First/last-frame conditioning (FL2VA): Anchors the generated clip to specific start and end images using the released visual VAE encoder and Qwen3-VL vision tower.
    • Ordered Ref2VA references: Accepts image, silent video, video-with-audio, and standalone audio references in command-line order, exposing them to the model as <Picture N> or <Video N> tokens.
    • Interactive session: Without a -p prompt flag, the binary starts an Iris-style REPL that keeps BF16 prompt conditioning, the prepared DiT, and the video decoder in memory across multiple generations.
    • SSD streaming: --ssd-streaming reduces DiT unified-memory use from ~36.5 GiB to ~2.0 GiB by keeping only two transformer blocks resident and reading ahead from SSD while the GPU runs the current block.

    Performance Architecture

    The engine implements a layered set of speed/quality controls that can be combined independently:

    • Denoising passes (--steps): Default 20; 4–7 passes for fast previews; 50 for reference quality.
    • Whole-denoiser reuse (--reuse): Extrapolates skipped velocity evaluations; --reuse 2 at 20 steps runs 11 fresh DiT evaluations instead of 20.
    • Layer thinning (--layers): Ranks AdaLN gates and drops tail blocks; --layers 45 reduces both compute and resident transformer weights.
    • Token reduction (--token-reduction): Pairs adjacent horizontal video tokens inside middle DiT blocks; measured 28.3% denoise time reduction on M5 Max at 512×512.
    • Internal canvas scaling (--render-width/--render-height): Runs DiT and VAE at a lower resolution, then upscales with vImage; 384→512 measured 33% DiT time reduction.
    • int8 MLP and QKV quantization: On M5, the default path uses native Metal 4 TensorOps int8 for MLP, QKV, and attention-output projections; a fixed 50-layer, 19-transition 512×512 render measured 36.30 s (BF16 MPS) vs. 19.18 s (full int8 path) on M5 Max.

    Metal 4 TensorOps are used automatically on M5 GPUs for QKV and attention-output projections at sequence lengths up to 2,048. The DiT core is split across two ordered Metal command buffers so GPU execution of the first half overlaps CPU encoding of the second.

    Supported Resolutions and Durations

    Width and height must each be multiples of 32 and their product must not exceed 768×1344 pixels. Validated canvases include 512×512, 768×768, 1344×768, 768×1344, and 1024×768. Frame counts align to the H3 temporal shape 5 + 17*n; --seconds N converts at 24 fps and rounds up to the next legal shape. The released workflow targets roughly 4–15 second clips (107–362 frames).

    Current Status

    The repository was created in August 2026 and had 1,803 stars and 116 forks as of mid-August 2026, reflecting rapid early adoption. The README describes the project as actively under incremental development, with current work focused on H3-specific Metal performance and memory optimization on M3 Max and M5 Max. All major generation paths — prompt-to-video/audio, first/last-frame conditioning, and ordered Ref2VA references — are described as working end to end. The project is MIT-licensed and requires the MiniMax-H3 Hugging Face snapshot, FFmpeg, and FFprobe to be available locally.

    h3.c - 1

    Community Discussions

    Be the first to start a conversation about h3.c

    Share your experience with h3.c, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT License. Self-host on Apple Silicon Mac with the MiniMax-H3 model checkpoint.

    • Full MiniMax-H3 inference engine source code
    • Prompt-to-video/audio generation
    • First/last-frame and Ref2VA conditioning
    • Interactive REPL session
    • SSD streaming mode

    Capabilities

    Key Features

    • Native MiniMax-H3 inference on Apple Silicon
    • Prompt-to-video and audio generation
    • First/last-frame conditioning (FL2VA)
    • Ordered Ref2VA image/video/audio references
    • Interactive REPL session with persistent model state
    • SSD streaming for low-memory operation
    • Metal 4 TensorOps int8 quantization on M5
    • Token reduction for faster inference
    • Internal canvas scaling with vImage upscale
    • Layer thinning with AdaLN gate ranking
    • Whole-denoiser and core-reuse velocity extrapolation
    • Live frame preview in Kitty/Ghostty/iTerm2 terminals
    • H.264 video with 32 kHz stereo AAC audio output
    • Profiling mode with per-phase Metal timing
    • Deterministic seeded generation

    Integrations

    MiniMax-H3 (Hugging Face checkpoint)
    FFmpeg
    FFprobe
    Apple Metal
    Apple MPSGraph
    Apple MPS (Metal Performance Shaders)
    Qwen3-VL vision tower
    BigVGAN/AudioVAE
    vImage
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate h3.c and help others make informed decisions.

    Developer

    antirez

    antirez is the creator of Redis and an independent open-source developer known for building high-performance, minimalist systems software. The ds4.c project reflects a focused approach: one model, one platform, end-to-end quality over generality. antirez develops with strong AI assistance while keeping humans in charge of ideas, testing, and debugging.

    Read more about antirez
    WebsiteGitHub
    2 tools in directory

    Similar Tools

    Supertonic icon

    Supertonic

    Lightning-fast, on-device text-to-speech system powered by ONNX Runtime that runs entirely locally with no cloud dependency, supporting 31 languages across Python, JavaScript, mobile, and native runtimes.

    Miso TTS 8B icon

    Miso TTS 8B

    An 8-billion parameter open-source text-to-speech model designed for high-quality, highly emotive conversational speech generation with voice cloning support.

    Steno icon

    Steno

    Privacy-first, open-source AI meeting notetaker that records, transcribes, and summarizes conversations entirely on-device with no cloud, no bots, and no data leaving your machine.

    Browse all tools

    Related Topics

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    163 tools

    Video

    AI tools that generate or edit video — from text-to-video and animation to avatars, dubbing, and short-form clips.

    80 tools

    Audio

    AI tools that generate or edit audio — music, sound effects, voice and speech, and podcast production.

    31 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions