Unlimited 1:1 consulting on the Scale plan*
Claude Code x HeyGen x Remotion

Produce AI video ads at scale without opening an editor

One Claude Code conversation writes the script, builds the motion design, generates a talking head of your digital twin and exports the cut. This guide walks through the pipeline: the brief as a data file, the narration budget, the HeyGen settings, the Remotion composition, and the two details that give an AI video away in two seconds.

9 steps · ~18 min readClaude Code · HeyGen MCP · RemotionClaude Fable 5.1
What you will build

This guide reproduces the pipeline behind the ad you saw: a motion-design background, a talking-head clip of a digital twin with a cloned voice, and the two composited into one vertical cut. Not a second of it was recorded, and no video editor was opened.

Everything runs from one Claude Code conversation. Claude writes the script, builds the background from a small data file, generates the avatar through the HeyGen MCP, composites both in Remotion and exports the cut. You write the brief and approve the script. That is the whole human contribution.

Three files come out of the pipeline, and each one can be checked on its own before you spend time on the next: demo.mp4 (the silent background), face.webm (the avatar, with transparency), final.mp4 (the cut). When something looks wrong, you know which of the three to reopen.

By the end you will have:

  • A brief that is a data file, so the next variant is a copy with different values
  • A narration budget that tells you, per scene, how many words the script gets, measured at 2.2 words per second on real renders
  • The HeyGen settings that make an avatar inset look native instead of pasted on
  • A Remotion composition where every placement is a prop, rendered from the terminal
  • The two details that give an AI video away in two seconds, and the fix for both

Everything here works with Claude Code, a HeyGen account and Node. Only HeyGen costs money.

Prerequisites

What you need before you start

01 · Claude Code

The whole pipeline is driven from one conversation. Any recent model works. This build used Fable 5.1.

02 · A HeyGen account

The only paid piece. The free plan watermarks the output, caps your monthly minutes and takes 9 to 10 minutes per render.

03 · Node 20+ and ffmpeg

Node runs Remotion. ffmpeg checks durations and transparency.

04 · Two minutes of yourself on camera, once

Front-facing, neutral background, good light. HeyGen turns it into the digital twin and clones the voice. You never film again.

Unlock the full guide

Enter your email to read the rest of the tutorial.

Copy-paste code. Any email works. Unlocks in your browser, so you only do this once.

Protected by Turnstile. No spam - one email per guide and you can unsubscribe any time.

Step 01

The architecture, and why the order matters

Five steps, three tools, one conversation. Claude owns all of them. You write the brief and approve the script.

Each step produces a file you can open on its own, so when the final cut is wrong you already know whether the background, the voice or the composition is at fault.

The one rule: the background is built first, and the script is written to fit it. The length is fixed by the brief, so the words have to bend. Do it the other way round and you will spend your evening trimming animations to catch a sentence that ran four seconds long.

Step 02

The brief is a data file, not a prompt

This is the decision the whole pipeline rests on. Every text on screen is a field in a small data file. The next variant is a copy of that file with other values, not another conversation and another round of eyeballing.

Ask Claude for the brief in this shape and it will fill it from a one-line request. Keep the scene kinds few: a title, a card of settings, a list of jobs completing, a closing line. Two kinds are enough to start.

Unlock above to read the full guide
Want us to build agents like this for you?

Want this pipeline built into your GTM motion?

ColdIQ builds AI-powered GTM systems for B2B companies every day, from prospecting infrastructure to the internal tooling that produces the content around it. If you want a team that ships working pipelines instead of slide decks, book a call.

Talk to us

Your GTM stack. One API key.

Stop managing 39 tools. Start shipping GTM from code.

Get StartedOr try the playground first

Free to start. No credit card required.