If you ask Claude Code, Cursor, Codex, or Google Antigravity to generate a hero image, a short looping background video with sound, a spoken line, or a soundtrack directly inside your repo, most setups force you to juggle paid cloud API keys, credit limits, and third-party uploads.

If you are on an Apple Silicon Mac (16 GB+ unified memory), you do not need to write a custom Python wrapper or pay per-clip cloud bills. Phosphene (free, MIT open source, Apple Developer ID signed macOS app powered by Apple MLX) ships with a built-in local MCP server, CLI, local HTTP API, universal Agent Skill, and Google Antigravity plugin out of the box.

Once your models are downloaded, your coding agent generates video with synchronized sound, images, speech, and songs 100% locally on your Mac — zero bytes uploaded, zero per-clip charges.

Real Outputs Generated Locally on Apple Silicon

Here are real clips rendered offline on a Mac with the exact engines your coding agent can invoke through MCP:

1. Text-to-Video with Synchronized Audio (LTX-2.5)

The Drowned Ballroom — 10-second LTX-2.5 clip with underwater ambience rendered locally on Mac

Watch the rendered MP4 (with synchronized sound): The Drowned Ballroom — LTX-2.5 local Mac render

2. Talking Character Dialogue & Lip-Sync (Hailuo H3)

The Caravan — 10-second talking character scene with lip-synced dialogue rendered locally on Mac

Watch the rendered MP4 (with synchronized speech & desert ambience): The Caravan — Hailuo H3 local Mac render

3. Video-to-Video Remake (v5.0.104, LTX-2.5 & Hailuo H3)

Phosphene 5.0.104 Remake — swap who is in a clip while preserving motion, camera, and audio

Watch the 4-way Remake demo MP4: One dance, Remade four times locally on a Mac

1-Command Setup for Coding Agents

Phosphene exposes a local-only MCP server (phosphene_status, phosphene_make_video, phosphene_make_image, phosphene_make_speech, phosphene_make_music, phosphene_open_cut, phosphene_list_jobs, phosphene_wait, phosphene_fetch, phosphene_stop) bound to 127.0.0.1.

Option A: Universal Agent Skill (Claude Code, Codex, Cursor, Windsurf & 40+ agents)

npx skills add mrbizarro/phosphene-skills 

Option B: Claude Code Plugin Marketplace

/plugin marketplace add mrbizarro/phosphene-skills /plugin install phosphene@phosphene-skills 

Option C: Google Antigravity Plugin

Phosphene ships a strict-validated native Antigravity plugin (plugins/phosphene-antigravity in mrbizarro/phosphene-skills) that wires both the phosphene skill and the local MCP server automatically.

Option D: Direct MCP JSON (Cursor / Windsurf / any MCP client)

{ "mcpServers": { "phosphene": { "command": "phosphene-mcp" } } } 

Full setup steps, CLI flags, and local HTTP API endpoints are documented at phosphene.video/docs/agent-tools/.

What Your Agent Can Actually Generate Locally

Media type Local MLX engines Practical coding-agent uses
Video with sound LTX-2.5 & Hailuo H3 (from 16 GB RAM) + Remake Landing-page hero loops, product demos, storyboard pre-vis, video-to-video character swaps
Design & UI images Ming-Image 0.2 Design (MIT, sharp on-image text & transparent RGBA PNGs), FLUX 3 Klein, P-H3-Image, Qwen-Image-Edit App icons, posters, transparent-background assets, OG cards, single-image edits
Speech & Lip-sync Local TTS + voice cloning + H3/LTX lip-sync Voice-overs, tutorial narration, talking avatars
Songs & Scores YuE2 Music Studio (from 16 GB RAM) Original lyrics-to-song tracks and background scores
Timeline & Captions Built-in Editor (phosphene_open_cut) Auto .srt or burned-in captions, clip assembly, DaVinci Resolve / Premiere export

Practical Architecture Notes for Engineers

  1. Async queue pattern (make_* → wait → fetch): Local video renders take minutes, not milliseconds. Phosphene's MCP tools return a job_id immediately so your coding agent can keep editing code while your Mac's GPU renders in the background, then fetch the finished .mp4 or .png directly into public/assets/.
  2. Hardware-aware guardrails: phosphene_status reports your Mac's exact chip, unified memory, installed engines, and disk headroom so your agent never queues a resolution or model that would OOM your machine.
  3. 100% local & auditable: Bound strictly to localhost, signed & notarized macOS app (bundled Developer-ID signed uv in v5.0.104, zero unsigned binary warnings in Little Snitch), and external SSD model storage supported natively in Settings.

Links & Source

(Licence note: Phosphene's app and agent tools are MIT open source; model weights keep their own licences — Hailuo H3's MiniMax Community License excludes the EU, UK, South Korea, and US, while LTX-2.5, Ming-Image 0.2 Design, FLUX 3 Klein, and YuE2 are unaffected.)