/mage:mage-video-character-swapfrom mage
Replaces the entire person in a video with a different character (face, hair, body, outfit) while preserving original motion, camera, and background. Uses Mage's Video Character Swap app.
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.
Replace the entire person in a video with another character, body and styling included, keeping the motion, camera, and background. This is the Video Character Swap app as a skill: the same prompt and models, run through the Mage connector.
get_model, estimate_cost, generate, get_request, list_characters, 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. A page that plays a video (YouTube, Instagram, a Drive preview) is not a file.ffprobe -v error -show_entries format=duration -of csv=p=0 clip.mp4); otherwise ask the user how long it is. estimate_cost measures a clip that is a create_upload URL or an earlier Mage result, and answers requires_media_measurement for a clip on another host: upload it with create_upload to price it.Both are required. Ask for whichever is missing.
references/models.md).@handle (list_characters shows them; build one with mage-character-builder or save one with mage-characters).The app's swap prompt:
Replace the entire person in the video with the character from the reference image.
Modify the whole figure (face, hair, skin, body shape, proportions, and the complete outfit including clothing, footwear, and accessories) to match the character in the reference image in every frame, while preserving the original pose, motion, facial expressions, lip movements, camera angle, framing, and composition of the video.
Carry over the character's full appearance from the reference image — hairstyle, hair color, skin tone, build, and the outfit's garments, colors, and materials — throughout the video.
Match the lighting direction, shadows, motion blur, and color grading of the video so the swapped character blends naturally into the scene in every frame.
Seamlessly blend the replaced character into each frame. Keep the background, other subjects, and all remaining visual content identical to the source video.
On a Cherry model, which is the default, the app puts that whole prompt inside this wrapper, in the slot. Send it the same way:
Use the provided reference video as the source of truth. Recreate its visual content as closely and faithfully as possible from beginning to end.
Preserve the shot sequence, timing, camera angle, camera movement, framing, composition, subject identity, poses, actions, body movement, facial expressions, environment, background, lighting, color grading, and visual style of the reference video.
Apply only the following requested change:
<the change>
Make the minimum changes necessary to fulfill the request. Everything not explicitly mentioned in the requested change must remain consistent with the reference video. Do not restage the scene, reinterpret the action, alter the camera or motion, add or remove unrelated subjects or objects, or introduce unrelated visual changes unless the request explicitly requires it.
image.image. Add one line after the whole wrapped prompt, separated by a blank line, so Mage attaches the character: Reference: @handle. The prompt still says "the reference image"; the character's image is that reference, as in the app.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 and aspect_ratio out: on Cherry 2 Pro the output follows the clip's length and shape.use_character_voices: false.Other models the app offers (Lemon, the other Cherry models, Plum, Plum Max), with their clip limits, fields, and settings: references/models.md. Read it before using any model but Cherry 2 Pro.
{
"model_id": "cherry-2-pro",
"resolution": "480p",
"videos": [
"<the clip>"
],
"image": "<the reference image>",
"use_character_voices": false,
"prompt": "<the wrapped prompt>"
}
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 watch the whole clip at full size. The swap follows the motion in the source, so it works best when the original person is clearly visible throughout. If only the face should change, use mage-video-face-swap.
| 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. |
requires_media_measurement | The clip is on a host estimate_cost can't measure. Upload it with create_upload and price again. |
references/models.md: every model the app offers for this, with clip limits, fields, settings, the Cherry wrapper prompt, and audio.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub mage-space/skills --plugin mage30 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).