/varg:scene-recast-videofrom varg
Remakes a reference video clip with new characters using video models (Seedance 2.5, MiniMax H3, Wan 3). Covers trimming, character references, recast prompts, motion-only plates, and frame-by-frame comparison.
Ships in varg. 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.
A video model with a video reference copies what is hard to write in a prompt (blocking, timing, camera, cuts) and takes who and what is on screen from your images. Creators call it motion control or a remake. The method below is read from the public posts of @Arminn_Ai (X, September to November 2026), who describes it as: "You give it a reference clip plus your own character references and a prompt, and it generates your version while keeping the motion, timing and framing of the original" and "just the source video + refs + prompt. A 30 s render takes about 5 min. Easier shots can land in one try, harder ones usually need a few prompt passes." His tool is Higgsfield Genjutsu, which he says runs on Seedance 2.5; the same inputs work on varg.
Generation runs on varg: REST https://api.varg.ai/v2 (the varg-ai skill) or the MCP server https://mcp.varg.ai/mcp. Price every run first (POST /v2/estimate or estimate_cost).
find-movie-clips (clip databases, download, the scene split into uncut takes). A link: media-download.varg-character-design, character-passport). Who replaces whom, by position: "the man on the left in the black coat".ai-parody-video. A real person in the cast needs their consent or a clear, labelled parody of a public figure; a provider block is a no, not a puzzle.ffprobe -v error -show_entries format=duration -of csv=p=0 scene.mp4
# cuts: every shot must be 15 s or shorter for Recast, and a run holds about 3 to 6 cuts well
ffmpeg -i scene.mp4 -vf "select='gt(scene,0.3)',showinfo" -an -f null - 2>&1 | grep -o 'pts_time:[0-9.]*'
# trim on a cut, 24 fps, 720p, no audio (new dialogue comes from the model or from the edit)
ffmpeg -ss 12.0 -to 27.0 -i scene.mp4 -an -r 24 -vf "scale=-2:720" -c:v libx264 -crf 18 plate.mp4
crop=iw:ih*0.86:0:0); text in the plate comes back as garbled text.Short when the clip carries the direction. The structure Armin posts for his remakes, with the slots opened up:
Replace <who or what in @video1, by position and clothing> with the exact <person/object> from
@image1. Copy it exactly as shown: <face, hair, glasses, build, outfit / make, model, colour,
details>. Do not change, redesign or swap it for anyone else.
Replace <second target> with the exact <person> from @image2: <details>.
Keep the original environment, <named set pieces>, lighting, camera movement, framing, timing
and scene progression from @video1. Everyone else stays as they are.
<Dialogue, in order: who says it, the line in quotes, the tone.>
<One line for the new event, if any: "At the end, the man at the fountain turns and is <...>">
Photorealistic, cinematic, natural motion. No extra cuts, no camera jumps, no distortion, no
warped faces, no changing outfit, no different person, no subtitles, captions, watermarks or
text, no extra objects, no AI artifacts.
| Route | Send | Use it when |
|---|---|---|
MiniMax H3 Max Recast, minimax_h3_max_recast | files: the video (5 to 30 s, no shot over 15 s), then up to four photos; optional prompt ("the man becomes the wizard from the photo"); provider_options.fal.enhance_realism: true | Start here. Only the people change: room, props, camera and every move stay. Output at 768p or 1080p. |
Seedance 2.5 with a video reference, seedance_2_5 | files: the plate, then the images (@video1, @image1…), up to 3 videos and 9 images, 4 to 30 s, provider_options.piapi.input.omni_reference_task_type: "reference" | When more than the people should change (set, style, an added event), or you want native audio. The scene is redrawn from the plate, so small set details shift. |
Wan 3, fal:alibaba/wan-3.0/reference-to-video | reference videos (up to 5), images (up to 10), audio (up to 5), 2 to 30 s, 1080p | A second opinion, or when you also bring a voice clip. Not tested here. |
# Recast: the plate and one character sheet
curl -s -X POST https://api.varg.ai/v2/tools/video/call -H "Authorization: Bearer $VARG_API_KEY" \
-H "Content-Type: application/json" -d '{
"model": "minimax_h3_max_recast",
"prompt": "the man becomes the old wizard from the reference photo",
"files": [{"url":"PLATE_MP4"},{"url":"CHARACTER_SHEET"}],
"resolution": "720p"}'
# Seedance 2.5: the plate as a motion reference
curl -s -X POST https://api.varg.ai/v2/tools/video/call -H "Authorization: Bearer $VARG_API_KEY" \
-H "Content-Type: application/json" -d '{
"model": "seedance_2_5",
"prompt": "Reference @video1 for the motion, camera movement and framing. <Character> from @image1 performs exactly the same <action> as the man in @video1, same timing, in the same <room>. One continuous handheld take, no cuts.",
"files": [{"url":"PLATE_MP4"},{"url":"CHARACTER_SHEET"}],
"aspect_ratio": "9:16", "resolution": "480p", "duration": 10, "audio": false,
"provider_options": {"piapi": {"input": {"omni_reference_task_type": "reference"}}}}'
One plate (a 10 s stock clip of a man dancing in a kitchen, one take, 720x1280), one character sheet (an invented wizard: face close-up plus three full-body views on grey), one run on each route, no retries:
| Recast | Seedance 2.5, reference task | |
|---|---|---|
| Result | Same moves second by second, same kitchen down to the posters, face and costume from the sheet | Same moves second by second, face and costume from the sheet, kitchen redrawn close to the plate |
| Output | 768x1344, 10 s, no audio (the plate had none) | 480x854, 10 s |
| Cost | $3.00 | $2.48 at 480p |
What failed on the way, so you do not pay to learn it:
omni_reference_task_type: "edit") rejects the job unless aspect_ratio is "adaptive" and duration is -1. The varg body does not accept a top-level duration below 1, so leave it out and put both inside provider_options.piapi.input.piapi:seedance-2.5) answered "Content moderation violation" three times: for the stock clip in edit and in reference mode, and for a clip of an AI-made character. It refuses a photoreal person in the reference video, licensed or generated. The seedance_2_5 alias routes the same request to a tier that accepts it.estimate_cost gives the ceiling: Recast showed $9.00 and charged $3.00.Draft on Seedance at 480p, check (section 6), then rerun the keeper at 720p or 1080p with the same inputs. Model facts and limits: varg-previz/references/seedance-v2v.md. Armin's own comparison of the two engines he uses: the Seedance tool "is more accurate on motion control and timing", the MiniMax one "drops the timing on some frames" and "wins on cost"; Seedance "goes up to 30 seconds in one clip". On the single-take test above the two were level on timing.
# same second from both, side by side, one row per 2 s
ffmpeg -i plate.mp4 -i take.mp4 -filter_complex \
"[0:v]fps=1/2,scale=480:-2[a];[1:v]fps=1/2,scale=480:-2[b];[a][b]hstack,tile=1x8" -frames:v 1 check.jpg
| What you see | Fix |
|---|---|
| The new character looks like the original actor | The reference is too small or too far from the plate's angle. Add a second angle; describe face, hair and glasses in the prompt; crop the reference tighter. |
| The plate's costume or colours leak in | Use a motion-only plate: greyscale (ffmpeg -i plate.mp4 -vf hue=s=0 plate_grey.mp4) or a depth pass, and say "@video1 is a motion plate. Use it for pose, timing, lips, hands, camera and framing. Do not copy its colour or its look. All colour comes from @image1." |
| Detail degrades as the clip moves away from frame 1 | First-frame lock: edit frame 1 of the plate on an image model into your version (new cast in place, same composition), send it as @image1 with the plate, and write "@image1 is the first frame". Armin: with one locked frame "unwanted details start popping up" later in the clip; several locked frames act "as a proper motion control between them", at some risk to colour consistency. |
| Cuts land late or a shot is missing | Fewer cuts per run (split the plate), and write "N shots, hard cuts exactly as in @video1". |
| The job is refused | Read the reason. Known footage or a known face: the provider has said no to this input. Change the idea (an original scene shot in the style, your own lookalike character, a different clip), do not hunt for a setting that slips it through. |
| A hand, a prop or the crowd breaks in one stretch | Rerun, or keep the take and cut around those seconds. |
A depth or greyscale plate carries movement and drops the source's look. Creators on X also use it to get known scenes past a provider's copyright check; that is bypassing moderation, which providers' terms forbid, and it is not what this skill uses the plate for.
ffmpeg -i plate.mp4 -i take.mp4 -filter_complex \
"[0:v]scale=1440:-2[a];[1:v]scale=1440:-2[b];[a][b]vstack" -c:v libx264 -crf 17 -an stacked.mp4
multi-angle-monologue, video-sound). Music and effects last.caption-styles). They carry the joke with the sound off.topaz_video on the final cut, once.ai-parody-video.| Step | Runs | About |
|---|---|---|
| MiniMax H3 Max Recast, 3 plates of 10 s, 2 passes each | 6 | $18 (measured: $3.00 for 10 s at 768p) |
| Or 480p drafts on Seedance 2.5, 3 plates of 10 s, 2 passes each | 6 | $15 (measured: $2.48 for 10 s at 480p) |
| Seedance keepers at 720p or 1080p | 3 | check estimate_cost |
| Upscale | 1 | from $0.50 |
ai-parody-video (the joke, the format, the rules), multi-angle-monologue, media-download, varg-character-design, character-passport, varg-previz (your own blockout as the plate), video-animate, caption-styles, video-sound, media-judge, varg-ai.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-remake, motion-control, character-swap, scene-recast, ai-video
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
83 skills in this plugin
/ad-creative-testingTurn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the same, whether an ad is fatigued, when to kill an ad, or how to scale a winner. NOT for producing the videos (use ecommerce-video-ads, ecommerce-video-edit or product-video-hooks) or for media-buying account setup./ai-ad-compliance-checkTurns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on each platform. Use when someone asks "is this ad allowed", "will TikTok Shop reject this", "check my AI ad for compliance", "do I need an AI label", "can an AI avatar say it used the product", or before publishing AI product ads, UGC or testimonials. Not legal advice, and not for writing the ad (use ecommerce-video-ads or tiktok-shop-video).Other plugins' skills for the same job