Skip to content

Instantly share code, notes, and snippets.

@DanielHauschildt
DanielHauschildt / README.md
Last active September 5, 2026 00:09
LTX-2.5 text-to-video locally on Apple Silicon in one command — with audio, no ComfyUI/CUDA. 16x faster than PyTorch-on-MPS (53s vs 853s) via macOS 26 watchdog + eval-guard fixes.

LTX-2.5 on Apple Silicon, one command

Generate video — with audio — locally on your Mac. No ComfyUI, no CUDA. The first run bootstraps everything itself: the MLX runtime, the Python env, and a one-time ~36 GiB weight download.

curl -fsSL https://gist.githubusercontent.com/DanielHauschildt/9ad1d7cef482ed508a121881280b74dd/raw/generate -o generate
chmod +x generate
./generate "A wide shot frames a rainy city intersection at dusk, neon signs reflecting on wet asphalt. A young woman in a yellow raincoat walks toward camera, gripping a folded newspaper, while cars hiss past behind her. Soft synth music and distant traffic fill the air. A hard cut transitions to a medium close-up of her face under the hood, raindrops catching the neon as she looks off-screen left; the synth score continues across the cut, traffic muffled. She whispers, “He's late.” Another hard cut jumps to a low-angle shot of a man's scuffed boots stepping into a puddle at the curb; the music drops to a low drone. He lifts his head