DEVICES · SOFTWARE · TOOLS · RESOURCES · ARTICLES
Support Us 中文 EN
VKEFUN Devices & technology archiveSINCE 2026
Notices

Generate AI Videos Locally on Mac with LTX-2.5

Generate videos with audio on an Apple Silicon Mac using LTX-2.5 distilled and MLX Q8. Follow the installation and model authorization steps, use the local interface, and reference settings tested on an M4 Max with 64GB memory.

Generate short videos with audio on an Apple Silicon Mac using LTX-2.5 22B distilled, MLX Q8, and Local Video Lab. Install the environment and download the weights once, then enter a prompt in the browser. Inference runs on your Mac.

1 Prepare your Mac and download the source package

  • An Apple Silicon Mac running macOS 14 or later. The settings below were tested on an M4 Max with 64GB memory and macOS 15.8.1.
  • Allow 80GB of free disk space. The required weights occupy approximately 43.49GB.
  • Installation requires access to GitHub, PyPI, and Hugging Face.

Download the Local Video Lab source package, extraction code xkx9. Choose VKE-Local-Video-Lab-20261103.zip, double-click it to extract, and place the enclosed VKE-Local-Video-Lab folder in Downloads.

The package includes the browser interface, installation and service scripts, a pinned MLX engine, and the model download manifest. Download the weights using your own authorized account in step 3. The interface labels are in Chinese; the instructions below include the labels you need.

2 Install the environment

Open Terminal and run:

cd "$HOME/Downloads/VKE-Local-Video-Lab"
chmod +x *.command scripts/setup.sh
./scripts/setup.sh

Continue when you see 环境已就绪 (environment ready). The script installs uv, Python 3.12.16, the MLX dependencies, and ffmpeg inside the project folder. Homebrew and changes to your system Python are unnecessary. Keep the folder in this location afterward.

3 Authorize and download the model

  1. Sign in to the LTX-2.5 MLX Q8 model page, review the terms, and obtain access.
  2. Using the same account, open Access Tokens and create a token with read access to this model. Use a Read token or a fine-grained token that permits reading this model.
  3. In the same Terminal window, run:
./授权下载模型.command

Paste the token into the hidden input prompt. No characters appear while you enter it. Answer n when asked whether to add it to Git credentials.

Wait for downloading and verification to finish and for 模型已准备好 (model ready) to appear. Signing in through the browser does not authenticate the command line. If downloading is interrupted, run the same script again to resume.

Credentials are stored in .cache/huggingface/ inside this folder. Do not share that directory. Once all weights are downloaded, generation can run offline.

4 Generate your first video

Run:

./启动视频实验室.command

Your browser opens Local Video Lab. For subsequent sessions, you can double-click this start script in Finder.

  1. Click 窗边的猫 (cat by the window), or paste the prompt below.
  2. Select 快速试镜 (quick draft): 512×320, approximately 2 seconds.
  3. Expand 更多设置 (more settings). Set 种子 (seed) to 42 and leave 始终省内存 (always use low-memory mode) off.
  4. Click 开始生成 (generate). Wait for 生成完成 (completed), then play or download the result.
A fluffy orange cat sits on a wooden windowsill in warm afternoon sunlight. It slowly turns its head toward the camera and blinks gently. Soft curtains move in a light breeze. Close-up, static camera, shallow depth of field, realistic fur, peaceful atmosphere. Quiet room ambience, no speech, no music.

Local Video Lab showing the prompt, output settings, and generated video

Use 复用 (reuse) to restore a previous job's prompt, seed, and settings. A fixed seed helps compare settings; changing software versions or the runtime environment can still change the output.

5 Increase resolution and duration

Confirm that the two-second draft works before increasing the settings. All outputs below use 24 FPS.

PresetActual outputM4 Max 64GB inference time
Quick draft · 快速试镜512×320, 49 frames, 2.04 secondsApproximately 39 and 51 seconds in two runs
Standard · 日常测试768×512, 97 frames, 4.04 secondsApproximately 1 minute 51 seconds
HD · 高清长片1280×704, 145 frames, 6.04 secondsApproximately 11 minutes 29 seconds

These are local sample timings, excluding the initial download. The HD sample used an animated boy on a flower-covered hillside; the prompt and system load also affect speed. Select 高清长片 for an HD short clip. Memory-saving settings are enabled automatically.

Three frames from the 768×512 orange-cat sample

The 分辨率 (resolution) and 视频时长 (duration) controls are independent. The interface offers up to 1920×1088 and 20 seconds. That maximum combination has not been tested; increase settings gradually from the six-second HD preset. Frame count is seconds × 24 + 1, so playback lasts approximately 0.04 seconds longer than the selected integer duration.

Describe one shot per prompt: the subject, action, environment, and camera movement. Start with one subject, a static camera, and subtle motion, then add complexity once the result works.

6 Save results and stop the service

Click 下载视频 (download video) to save the MP4. The original files also remain in:

VKE-Local-Video-Lab/outputs/<job-id>/
  video.mp4       Generated clip
  job.json        Prompt, seed, and actual settings
  run.log         Generation log
  metrics.json    Inference time and memory metrics

Closing the webpage or the startup window leaves the background job running. Click 取消生成 to cancel the current job. To stop the entire service, run:

./停止视频实验室.command

Troubleshooting

  • 401 or 403 during model download: Confirm that your account has model access and that the token belongs to that account with the required read permissions. Run the authorization script again.
  • Out of memory or inference exits: Close memory-intensive applications, switch to the quick-draft preset, and enable 始终省内存 in more settings.
  • The webpage does not open: Check logs/server.log. If port 8765 is occupied, run .venv/bin/python app.py --port 8766 --open from the project folder and use the address that opens.
  • Startup fails after moving the folder: Restore the folder to its original installation path, then run the start script.
  • An individual job fails: Read its run.log and keep job.json to retry with the same prompt and settings.

The bundled engine is ltx-2-mlx, pinned to commit 895201df379b079c2154738bcf92005b7a371923. The weights are pinned to 746ca9aacb697d2c739f544d68b584214dedcc75. The engine uses the MIT license; model use is governed by the terms on the model page.

READER CORRESPONDENCE

Comments (0)

Sign in to comment or reply. Submissions appear after moderation.

No comments yet.

Click again or press Esc to close