Files
LocalAI/examples/mlx-video/README.md
Ettore Di Giacinto 21df4a120a feat(mlx): add Apple Silicon video backend
Add a Darwin-only MLX-Video backend for LTX-2 and converted Wan checkpoints, expose it through the existing video API, and wire packaging, discovery, tests, docs, and an example.

Assisted-by: Codex:gpt-5
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-09-11 21:52:41 +00:00

27 lines
619 B
Markdown

# MLX-Video on Apple Silicon
Install the backend and start LocalAI with the example model configuration:
```bash
local-ai backends install mlx-video
local-ai run --models-path ./examples/mlx-video
```
Generate a short video:
```bash
curl http://localhost:8080/video \
-H 'Content-Type: application/json' \
-d '{
"model": "ltx2-mlx",
"prompt": "Ocean waves at golden hour, locked camera",
"width": 768,
"height": 512,
"num_frames": 49,
"fps": 24
}'
```
MLX-Video and its models require substantial unified memory. Reduce the canvas
and frame count first if generation exhausts memory.