/magic-hour:magic-hour-character-replacefrom magic-hour
Replaces a subject in existing video or transfers performance onto a reference character using Magic Hour. Handles whole-character recasting and motion transfer, not face swaps.
Ships in magic-hour. 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.
Reuse a performance the user already likes. Accept “make my character do this” or “replace this performer”; infer the correct mode from what the user wants to preserve. Keep the reference and source footage distinct and complete the requested clip within the existing budget.
| Request | Mode | What to inspect |
|---|---|---|
| Put my character into this footage, keeping the setting | replace | Intended subject replaced, source action and surrounding scene retained |
| Make the character in my image perform this motion | animate | Reference character and image composition, transferred performance |
| Change only this person's face | Face Swap | Facial identity; body and costume are outside that operation |
| Same character in a newly invented scene | Image Editor → Image-to-Video | New approved still before motion |
Do not use a text prompt to invent a source performance that was already supplied. Character Replace has mode and subject-selection controls, plus model-dependent direction through style.prompt. Read the live schema for prompt support and its interaction with manual subject selection; a prompt does not replace the required video and character image. Do not fabricate camera, seed or strength settings.
Inspect the actual video interval, dimensions, cuts, subject count, visible limbs, occlusions and motion speed. Match the character reference to the visible body and framing when possible. A portrait cannot establish faithful unseen legs; complicated hand contacts and fast turns need a representative output check. Keep the original, rather than repeatedly feeding generated revisions back into the model.
For a named saved character, use list_saved_items (or authenticated GET /v1/saved-items through the existing API) with type: character, match the name and follow next_cursor as needed. Disambiguate multiple matches, inspect the primary IMAGE asset for performance-compatible framing, and pass its durable file_path as assets.image_file_path. Do not upload it again or pass the item ID. Preserve an explicitly supplied reference.
Use authorized footage and reference images. For a difficult or long source, generate a short representative interval before committing the remaining budget. Select the difficult action, not only the easiest stationary moment. Preserve any user-requested duration and review point.
For one unambiguous subject, use style.selection_mode: auto. For a specific subject in a crowd, use point and inspect a source frame to obtain position_x, position_y in original video pixels plus time_seconds. Coordinates from a resized preview must be scaled back. Time uses the source clock, including when start_seconds is nonzero. Never guess coordinates or add a cropped-clip offset twice. Ask only when the target person is ambiguous.
Use replace_character_in_video with assets.image_file_path, assets.video_file_path, the source interval, supported resolution and style.mode. Use the creation MCP at https://mcp.magichour.ai/; setup. API users should consult the live schema for /v1/character-replace. Check final interval cost against the existing authorization.
Upload local inputs through get_upload_urls, PUT raw bytes without the API bearer token, then pass file_path. Create once, save the project ID, and use wait_for_video_project. Resume the same project on a timeout. Keep returned download URLs intact and save the completed file.
Review the whole result beside both inputs: correct target, recognizable character, intended mode, head/body proportions, hands and feet, source gesture timing, contact with objects, occlusion boundaries, background and audio. Multiple attractive frames cannot establish a preserved performance. Check every cut; a changed face or extra limb is a failed requirement.
Measure the actual output interval and dimensions before assembly. Our replace-mode example kept a recognizable fox character but returned 5.375 seconds for a 0–5-second request. Compare the same source moments; do not assume matching frame numbers or silently retime a required performance.
The animate-mode example uses the same reference and performance but keeps the reference's studio setting, while replace mode keeps the source station. Use that difference to honor “keep my character's world” versus “put my character in this footage.” Both require timing and full-playback review; one simple head turn does not establish dance or complex-contact quality.
If the wrong person changes, fix subject selection. If body shape fails, improve framing/reference compatibility or simplify the source interval. If the scene changes unexpectedly, verify the mode before spending again. Repair only the failed shot within budget. Do not describe all motion as faithfully transferred merely because the job completed.
Deliver the finished clip, source/reference/mode retained in the existing project brief, and unresolved defects. Reuse the same reference for the next performance; reuse the accepted performance when only the character changes. Retain the selected saved-item ID and durable asset path privately for the next performance; refresh previews through the library rather than regenerating the character.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub magichourhq/skills --plugin magic-hour22 skills in this plugin
/ai-media-quality-reviewInspect generated images, video and audio before delivery using deterministic metadata, contact-sheet, black-frame and silence checks plus visual and listening review. Use to accept, reject or repair Magic Hour media outputs; it does not generate media or predict audience performance./ai-video-generationCreate finished AI videos when Magic Hour is requested or configured and suitable. Route approved images directly to motion, portraits plus audio to Talking Photo, video plus replacement audio to Lip Sync, and requests to dub a clip into another language to Video Translator. Preserve an explicitly requested alternative provider./creator-video-remixTurn a supplied reference video, format or creative premise into an original finished short with Magic Hour. Use for creator remixes, social video concepts, visual jokes, transformations and character-led clips; do not copy another creator's identity or unsupported factual claims./magic-hour-ad-variantsMake finished video-ad hook, angle or offer variants while reusing approved footage. Use when Magic Hour is requested or configured for ad variations or creative iterations, not for managing ad spend or publishing campaigns./magic-hour-body-swapPlace a supplied person into a scene image with Magic Hour Body Swap, preserving the intended identity and checking pose, scale and scene contact. Use for full-person photo placement; use Face Swap for only a face and Character Replace for an existing video performance./magic-hour-brand-kitCreate, extend or apply a reusable brand kit with Magic Hour imagery, exact logos and colors, editable layouts and a practical brand guide. Use for visual identities, brand books and coordinated branded assets when Magic Hour is the chosen media provider.Other plugins' skills for the same job