Agent templatev1.0Updated 2026-11-25

Genjutsu Studio

Send a video and 1-4 photos in one message: the people in its first 4-15 seconds become your characters - people, pets, mascots or products - with the same moves, camera and timing.

  • The people in your clip become your characters: people, pets, mascots or products
  • The same moves, camera and timing, with the clip's own sound
  • Every photo checked before any video model runs

By FlyMy.AI templates/genjutsu-studio v1.0

Genjutsu Studio: Genjutsu Studio with Gemini 3.8 Flash Vision, Media editor: cut and sound, Depth Anything Video, Seedance 2.5 reference-to-video
Genjutsu Studioclaude-haiku-5-5
Gemini 3.8 Flash VisionMedia editor: cut and soundDepth Anything VideoSeedance 2.5 reference-to-video

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Genjutsu Studio in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/templates/genjutsu-studio/template.txt and help me set up Genjutsu Studio using my own connections. Ask for the missing inputs and budget before running it.

Proof

  • 2 catstwo people in a phone video became two cats on the reference, with the moves, camera and sound kept
  • ~5 minfor a 5-second job at 480p, most of it the video model
  • $0.77a 5-second job at 480p, with the two video models at list prices
  • $0.026measured for the agent, the checks, the cut and the sound
  • $0.10794/sSeedance 2.5 reference-to-video at 480p, list price
  • Publicreference project to clone
1agentone character swap agent
4toolspriced below
on demandrunsone chat message a job
$0.77for 5 s at 480p, at list pricesestimate

What it does

  • Every photo is checked with Gemini 3.8 Flash Vision before any video model runs: a famous person, a child or nudity stops the job, with the reason.
  • Then Gemini 3.8 Flash Vision watches the video: frames per second, vertical or horizontal, every person, every hard cut, the place and the light.
  • Only the chosen seconds go to Depth Anything Video, which makes a grey depth video: shapes and movement, no faces, clothes or colours.
  • Seedance 2.5 reference-to-video runs once, with the depth video as the motion reference and your photos as the reference images.
  • The clip's sound goes back on, and the chat gets the new video, the depth video, the prompt, the settings and what each paid step cost.

Ideal for Creators, marketers and brands who want the people in a short clip replaced by a mascot, a pet, a product or another person.

Connects to

  • Gemini 3.8 Flash Visionusual ratebuilt in
  • Media editor: cut and soundusual ratebuilt in
  • Depth Anything Video$0.04 / secondbuilt in
  • Seedance 2.5 reference-to-video$0.10794 / s, 480pbuilt in

Project diagram

from the reference project
Project diagram of Genjutsu StudioINPUTS AND TIMERSLEADTOOLSOUTPUTSYour video, MP4 orMOV1-4 photos of thecharactersWho becomes whom,seconds, qualityGenjutsu Studioclaude-haiku-5-5Gemini 3.8 FlashVisionusual rateMedia editor: cutand soundusual rateDepth AnythingVideo$0.04 / secondSeedance 2.5reference-to-video$0.10794 / s, 480pNew video with itssoundPrompt, settingsand costsGrey depth videoBUDGET RULE / Photos checked before any video model runs; Seedance 2.5 runs once; the depth model gets only the clip.
  1. Inputs
    Your video, MP4 or MOV1-4 photos of the charactersWho becomes whom, seconds, quality
  2. Lead agent
    Genjutsu Studioclaude-haiku-5-5
  3. Tools
    Gemini 3.8 Flash Visionits usual rate: every photo and the video are checked; $0.026 with the agent and the editing for a 5-second job, measured 2026-11-25Media editor: cut and soundits usual rate: it cuts the chosen seconds and puts their sound back; part of the $0.026 measuredDepth Anything Video$0.04 per processed second at list price; it reserves by the length of the video it gets, so only the clip goes to itSeedance 2.5 reference-to-videofrom $0.10794 per second of video at 480p, list price; runs once per job
  4. Outputs
    New video with its soundGrey depth videoPrompt, settings and costs
The diagram as text
  • Inputs: Your video, MP4 or MOV, 1-4 photos of the characters, Who becomes whom, seconds, quality
  • Lead: Genjutsu Studio (claude-haiku-5-5) uses Gemini 3.8 Flash Vision, Media editor: cut and sound, Depth Anything Video, Seedance 2.5 reference-to-video
  • Tool: Gemini 3.8 Flash Vision - its usual rate: every photo and the video are checked; $0.026 with the agent and the editing for a 5-second job, measured 2026-11-25 (built into FlyMy.AI)
  • Tool: Media editor: cut and sound - its usual rate: it cuts the chosen seconds and puts their sound back; part of the $0.026 measured (built into FlyMy.AI)
  • Tool: Depth Anything Video - $0.04 per processed second at list price; it reserves by the length of the video it gets, so only the clip goes to it (built into FlyMy.AI)
  • Tool: Seedance 2.5 reference-to-video - from $0.10794 per second of video at 480p, list price; runs once per job (built into FlyMy.AI)
  • Output: New video with its sound (from Media editor: cut and sound)
  • Output: Grey depth video (from Depth Anything Video)
  • Output: Prompt, settings and costs (from Genjutsu Studio)

Day one

from the reference project
  • 01CloneOne agent on Claude Haiku 5.5 with its welcome chat; nothing to connect.free
  • 02Answer onceAttach the video and 1-4 photos; say who becomes whom, how many seconds and which quality.free
  • 03Make the videoPhotos checked first, then the video watched, the chosen seconds cut, a depth video made, Seedance 2.5 run once and the clip's sound put back.~$0.77 at list prices, 5 s at 480p

How it runs

templates/genjutsu-studio v1.0

Runs when you answer its chat: one message with the video, the photos and your choices. A 5-second job at 480p took about 5 minutes on the reference, most of it in the video model (measured 2026-11-25).

The agent team

from the reference project

Genjutsu StudioCharacter swaplead

Checks the photos, watches the video, cuts the chosen seconds, makes the depth video, runs Seedance 2.5 once and puts the clip's sound back, all from one chat message.

Gemini 3.8 Flash VisionMedia editor: cut and soundDepth Anything VideoSeedance 2.5 reference-to-video
Instruction excerpt

You take a short video and swap the people in it for new characters from photos: people, pets, mascots or products. The moves, the camera and the timing stay the same. Only the characters change.

Budget: your project budget

on demand, in its chatclaude-haiku-5-5last run $0.026 on 2026-11-25 (the agent, checks and editing of a 5-second job at 480p; the two video models add $0.74 at list prices)

You will be asked

once, in one message
  • Which video?MP4 or MOV, attached to the message; it uses the seconds you choose from the start.dance.mp4
  • Which photos?1 to 4 photos of the new characters, attached: people, pets, mascots or products.2 cat photos
  • Who becomes whom?Say it by how the people look.the girl with long brown hair becomes photo 1
  • How many seconds?From the start of the video, 4 to 15.5 (default)
  • Which quality?480p or 720p.480p (default)

Keys and passwords never go into the chat: you connect accounts on their own pages.

What it costs

Estimate from the published rates, checked 2026-11-25

0%template markup or purchase feeUsage pricing →

Price of one run
ItemUnit pricePer runCost
Seedance 2.5 reference-to-videofrom $0.10794 per second at 480p, list price5 seconds, once$0.54
Depth Anything Video$0.04 per processed second, list pricethe 5-second clip$0.20
Agent (Claude Haiku 5.5), Gemini 3.8 Flash Vision checks, the cut and the soundusual rates, measuredone job$0.026
One job, 5 seconds at 480p, at list prices$0.77

The two video models are at list prices from their model pages, checked 2026-11-25; the $0.026 for the agent, the checks and the editing was measured on the reference the same day. The depth model reserves its price by the length of the video it receives, so only the clip goes to it. Rates for 720p are on the Seedance 2.5 page. The chat shows what each paid step cost.

What stays yours

the same for every template

Your connections stay yours

A copy never carries the author's keys or connections.

Nothing runs until you answer

Clone creates the agents and a setup chat; nothing bills before your reply.

A budget you set

Choose the budget before the first run. Review usage in your own project.

Versions

a copy keeps the version it was made from
  • v1.02026-11-25First public template: one agent on Claude Haiku 5.5 checks the photos, watches the video, cuts the chosen seconds, makes a grey depth video, runs Seedance 2.5 reference-to-video once and puts the clip's sound back.

Other ways to start

01 - Clone in FlyMy.AI

Open the reference project and press Clone; a setup chat asks once.

Clone this project
02 - Your Claude or Codex

Connect FlyMy.AI with skill.md and paste the request below.

03 - API and SDK

Agents MCP projects_copy with fleet:e78adde2-aa44-4889-9bf7-2cbdeb203bcf, or client.projects.copy.

FAQ

Is this a working project or just a brief?

A working, public reference project with one agent on Claude Haiku 5.5. Clone it and answer its welcome chat in one message: attach the video and the photos and add your choices. A 5-second job at 480p took about 5 minutes on the reference (measured 2026-11-25).

What do I send?

One message with the video (MP4 or MOV) and 1 to 4 photos of the new characters attached, who becomes whom by how the people look (for example "the girl with long brown hair becomes photo 1"), how many seconds from the start (4 to 15, default 5) and the quality: 480p (default) or 720p. Everything comes in that one chat message; there are no variables to fill in.

What changes and what stays?

Only the characters change: the people in the chosen seconds become the characters from your photos - people, pets, mascots or products. The moves, the camera and the timing stay the same, and the sound of those seconds goes back on the new video.

Which photos does it refuse?

It checks every photo with Gemini 3.8 Flash Vision before any video model runs, and stops and says why if a photo shows a famous person, a child or nudity. If a model refuses, it stops and says so; it never looks for a way around.

What is the depth video for?

It cuts the chosen seconds from the start of your video, and Depth Anything Video (VDA-Large, greyscale, 480p) turns that clip into a grey depth video: shapes and movement, no faces, clothes or colours. Seedance 2.5 reference-to-video takes it as the motion reference and your photos as the reference images. The depth video comes back in the chat with the result.

What does a job cost?

About $0.77 for 5 seconds at 480p, with the two video models at list prices: Seedance 2.5 reference-to-video $0.54 ($0.10794 per second at 480p) and Depth Anything Video $0.20 ($0.04 per processed second), plus $0.026 measured on the reference on 2026-11-25 for the agent, the Gemini checks, the cut and the sound. The depth model reserves its price by the length of the video it receives, so only the clip goes to it. The chat shows what each paid step cost.

How long does a job take?

About 5 minutes for 5 seconds at 480p on the reference, most of it in the video model (measured 2026-11-25). A 10-second clip at 480p took about 10 minutes on the project the template was made from, 7.6 of them in the video model.

Does it sync lips or change voices?

No. It puts the original sound of the chosen seconds back on the new video; there is no lip sync and no new voice.

Can I use it from Claude Code, Codex or Cursor?

Yes, through the FlyMy.AI Agents MCP: copy the template with projects_copy, then answer the copy's welcome chat with append_message, or run the copy with run_agent and one message that carries public links to the video and the photos plus your choices. Follow it with get_run; get_execution_price gives the itemised price.

Illustrative example, not a live result
video: <your video>, the first 5 seconds, <vertical or horizontal>, <frames per second>
photos: photo 1, photo 2
who becomes whom: the girl with long brown hair becomes photo 1; <the second person> becomes photo 2
photo check (Gemini 3.8 Flash Vision): <passed, or why it stopped>
video read: <every person, every hard cut, the place and the light>
depth video: <link>, greyscale, 480p, made from the 5-second clip
prompt: <the English prompt it wrote>
settings: Seedance 2.5 reference-to-video, task reference, 480p, 9:16, seed 42, no watermark, safety checker on
new video: <link>, 480p, 9:16, with the sound of the same 5 seconds
cost: <what each paid step cost>
went wrong: <anything, in plain words>

Sources

Content and connection guidance checked 2026-11-25. See linked documentation for current availability and prices.