Edit your video with an AI avatar before you film it

Riley writes a script in Claude Code, has it build a mock video with his 3D avatar and cloned voice, then swaps in real camera footage and trims the mistakes for the final cut.

Riley Brown · YouTube · published Nov 23, 2026 · Content & Creative

Edit your video with an AI avatar before you film it — video by Riley Brown▶ Watch on YouTube
Prompt
I'm done writing the script. Turn it into a mockup video with my 3D avatar, using the purple block quotes as the visuals for each line. Match the overlays and captions to my past videos.

Sponsored

Advertise here →

Visual breakdown

Riley writes his script in Claude Code, has it build a mock video with his 3D avatar, and only films once he likes the draft. Claude then swaps the avatar for his real footage and cuts his mistakes.

The problem: Editing happens after filming, when changing the idea is expensive. He wants to see and refine the video before he films it.

From script to final cut

  1. Write scriptInside a Claude artifact in Claude Code, with a purple block quote for each imagined visual
  2. Style libraryHis best videos and all their files, kept on v2.video, described as the GitHub for video editing
  3. Build mock videoAvatar from real footage via MediaPipe, voice cloned with ElevenLabs, mouth matched by Sync LipSync 3
  4. Overlays and captionsClaude edits them in his exact style from past videos
  5. Film for realIf the mock looks like it would do well, he records with his camera
    Dropped: Ideas he doesn't like
  6. Final videoAvatar replaced by real footage, mistakes cut, animation timing adjusted, about 90% unchanged
InputsManual / stepsAI agentResult

    By the numbers

    ~90%of the mock stays the same

    Try the workflow

    Draft first with AI, then make the real thing yourself.

    1. Write your script in Claude Code and add a block quote with the imagined visual under each line
    2. Tell Claude Code you're done writing and want a mockup
    3. Review the mock video with your avatar and cloned voice
    4. Film the script with your camera and plug it into your computer
    5. Ask Claude for the final version with your footage, cutting the parts you messed up

    Takeaways

    • Use AI to visualize and refine ideas as drafts, then make the final version in a fully human way.
    • He doesn't post 3D avatars; they are a storyboarding tool only.
    • Every video teaches Claude his style, depending on what he changes and keeps.
    • Keep your past videos and their source files where Claude can read them.

    Distilled from the video’s captions

    How to try it

    1. Open Claude Code.
    2. Copy the prompt and fill in the [placeholders].
    3. Watch Riley Brown's video for the full walkthrough and setup.

    Related use cases

    Share