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.

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

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

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

v5.0.104, LTX-2.5 & Hailuo H3) Watch the 4-way Remake demo MP4: One dance, Remade four times locally on a Mac

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.

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

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.

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

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

| 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 |

make_* → wait → fetch): 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/. 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.uv in v5.0.104, zero unsigned binary warnings in Little Snitch), and external SSD model storage supported natively in Settings. (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.)

原文来源:dev.to