/mage:mage-lipsyncfrom mage
Animates a portrait photo to speak an audio clip using Mage's Lipsync app. Takes an image and up to 15 seconds of audio, generates a talking-head video with synced lip movements.
Ships in mage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn one image and one audio clip into a talking video: the subject's mouth follows the audio, and everything else about the image holds. This is the Lipsync app as a skill: the same prompt and models, run through the Mage connector.
get_model, estimate_cost, generate, get_request, list_characters, list_references, create_reference, and create_upload for local files. If they are missing, ask the user to connect Mage (Claude: Customize → Connectors → Add custom connector, https://mcp.mage.space/mcp; Claude Code: /mcp to sign in if the Mage plugin is installed, otherwise claude mcp add --transport http mage https://mcp.mage.space/mcp; others: https://www.mage.space/mcp), then wait.create_upload, when you can run commands), or earlier Mage results. Files attached to the chat never reach Mage: ask for a direct link.Both are required. Ask for whichever is missing.
The subject: the person or character that speaks, facing the camera with the mouth visible. An image link, or a saved character by @handle.
The audio: the speech the subject performs, up to 15 seconds.
@handle (list_references with kind: "audio").create_reference (kind: "audio", audio, and a name taken from the file name or the user's description), which returns its @handle. Mage trims it to 15 seconds, the same limit as the app. Saving is free; tell the user the handle it was saved under.seed_audio, duration "5" or "10"): quote the words and describe the voice, quote the price, then save the result with create_reference as above.Know the audio's length in seconds: measure it when you can run commands (ffprobe -v error -show_entries format=duration -of csv=p=0 clip.mp3), use the duration you asked Seed Audio for, or ask. Anything over 15 counts as 15.
Scene direction (optional): a new background, outfit, or mood, in the user's words.
The app's fixed prompt:
Generate a video of the subject in the reference image speaking the provided audio.
The subject's lip movements sync precisely to the audio for its full length. The subject keeps the exact appearance, framing, lighting, and setting of the reference image. The subject shows natural facial expressions and subtle head movement while speaking. The camera holds steady on the subject.
Build what you send in this order, with a blank line between parts:
Audio: @audio-handle with an image subject, or Subject: @character-handle. Audio: @audio-handle with a saved character.The app attaches the character and the audio directly. The connector attaches them from @handle mentions, which is the only reason for the last line.
cherry, model_id: "cherry-2-pro"), Mage's default for video. When the user asks for another model, use it.resolution: 480p, the cheapest. Offer 720p or 1080p with the price when the user wants a final.duration: the shortest option that covers the audio: "4", "5", "8", "10", or "15".aspect_ratio: 9:16, a talking-head framing.use_character_voices: false, so the chosen audio is the only voice.image, not first_image. A saved character is a mention only.Other models the app offers (Lemon, the other Cherry models, Plum, Plum Max): references/models.md.
{
"model_id": "cherry-2-pro",
"resolution": "480p",
"duration": "<covers the audio>",
"aspect_ratio": "9:16",
"use_character_voices": false,
"image": "<the subject image>",
"prompt": "<fixed prompt>\n\n<optional scene direction>\n\nAudio: @audio-handle"
}
get_model for the architecture, once per conversation, to confirm its fields, options, and rules.estimate_cost with the exact config. Tell the user the model, resolution, length, and price in Gems, and wait for a yes. Video is expensive and the price climbs with resolution and length.generate with a new UUID as idempotency_key, then get_request with wait_seconds: 120, repeated quietly until the status is completed, failed, or cancelled. Video takes minutes.duration and resolution are strings, written exactly as get_model lists them ("4", "480p", and on Plum "768P").
Deliver the link with the model, resolution, length, and Gems. Tell the user to check the mouth against the audio at full speed. Profiles and covered mouths don't sync well: if the result is off, a front-facing image is the first thing to change.
| Code | What to do |
|---|---|
insufficient_gems | Give the price and the balance; Gems are added at https://www.mage.space/api?tab=billing. |
invalid_config | The message names the field, value, or @handle. Fix it from get_model and retry with a new key. |
content_blocked | Mage's policy or the model's filter refused it. Never try to slip past a filter. |
too_many_requests | 20 generations are already running. Wait, then submit again. |
generation_failed | Usually transient and refunded. Retry once with a new key. |
references/models.md: every model the app offers for lip sync, with ids, resolutions, durations, and the settings every model takes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lipsync, talking-head, portrait-animation, mage-ai, video-generation
30 skills in this plugin
/mage-ad-localizerLocalize static ads into other languages and markets with Mage: translate
every line of on-image text naturally (not word for word), keep the offer,
brand voice, product, logo, fonts, and layout, and adjust line breaks,
number and currency formats, and right-to-left layouts so each version
reads as native. Uses GPT Image 2.5 Flare for precise text replacement.
Use when: "translate this ad", "localize this ad", "Spanish and German
versions", "adapt this ad for Japan", "make this ad in French", "ad in
Arabic", "international versions of my ad", "market-specific ad copy".
NOT for: new creative variations (use mage-ad-multiplier), resizing for
placements (mage-ad-resizer), translating video voiceovers, or documents
and websites.
/mage-ad-multiplierTurn one ad into many independent variations with Mage: new talent,
wardrobe, setting, background, color story, or headline, while the product,
brand, layout, and every untouched element stay exactly as they were.
Works on static image ads (Mango 4, GPT Image 2.5 Flare for headline
changes) and on video ads (Cherry 2 Pro edits that keep motion, framing,
cuts, timing, and audio). Use when: "make variations of this ad",
"multiply this ad", "ad variants", "creative testing", "A/B test
versions", "new talent / new model in this ad", "change the setting",
"10 headline variants", "refresh this creative", "same ad with different
people". NOT for: resizing an ad for placements (use mage-ad-resizer),
translating an ad (mage-ad-localizer), creating a first ad from a product
photo (mage-product-photoshoot ad_creative_pack), or UGC videos from
scratch (mage-ugc-video).
Other plugins' skills for the same job
npx claudepluginhub mage-space/skills --plugin mage