6 min read

Make a product video in T3 Code with Remotion

By Founder & Research Lead, Kalaris Labs · Updated

T3 Code is a desktop app for running coding agents such as Claude Code and Codex side by side. It uses the agent's own configuration, so you connect MCP servers to the agent, not to T3 Code.

That makes setup one command for whichever agent you run. After that, each thread can build a video.

Want only the install and a few prompts? The T3 Code launch video page has them on one screen.

Why T3 Code suits video work

  • Several threads at once: try two templates in parallel and keep the better cut.
  • It uses the agent's own MCP setup, so nothing is configured twice.
  • A desktop view of diffs and output while the agent renders.
  • Works with Claude Code, Codex and other agents it supports.

Start a Remotion project

Remotion turns React components into video: every frame is a render of your component at that frame number, so T3 Code edits a video the way it edits any other code. You need Node.js. Ask T3 Code to scaffold the project, or run it yourself:

npx create-video@latest

Give T3 Code a reference to work from

A blank prompt gets a generic video. A real launch video measured frame by frame gets one with a rhythm: when each shot starts, how it enters and how much moves. The library at https://kuchi.kalarislabs.com/mcp is a free MCP server with no sign-in and no API key. Add it to T3 Code:

1. Running Claude Code in T3 Code? Add Kuchi to Claude Code from your shell.

claude mcp add --transport http kuchi https://kuchi.kalarislabs.com/mcp

2. Running Codex? Add it to Codex CLI instead.

codex mcp add kuchi --url https://kuchi.kalarislabs.com/mcp

3. Another agent? Follow its guide on this site (Grok Build, Pi, Muse Code, OpenCode, Cursor and more), then start a new thread in T3 Code.

4. Paste the setup prompt from this page into the thread.

Then paste the setup prompt, so the agent knows how to use the library:

Setup prompt
Connect the Kuchi MCP server at https://kuchi.kalarislabs.com/mcp (Streamable HTTP, no sign-in) and confirm it works by listing its tools.

Kuchi is a library of real product-launch videos to use as inspiration templates. When I want a launch video, read kuchi_get_workflow and follow it: get a short list with kuchi_suggest_templates and show me each one's poster and link so I can choose, in chat or by picking a video on kuchi.kalarislabs.com and pasting its link. Once I pick one, study it with kuchi_get_breakdown, look at its storyboard and note what each shot shows, then call kuchi_plan_remake with my product details and your shot analysis, and ask me for my logo, screenshots and anything else it lists as missing. Build to the blueprint's frames. Before you deliver, run kuchi_check_remake and compare your frames with the reference. Copy only the reference's motion and taste; everything on screen comes from my product.

The prompts, in order

  1. In a new thread: suggest three launch video templates for this product and show me the posters.
  2. Open a second thread on the same repo with a different template, so I can compare.
  3. In each thread, plan the remake with my assets and build it in Remotion.
  4. Render both, then check each against its reference.
  5. Keep the better one and delete the other branch.

Writing one shot in Remotion

A Remotion video is a React component rendered once per frame. Inside a shot, useCurrentFrame() returns the frame number counted from the start of that shot's <Sequence>, and useVideoConfig() gives the fps and size. Everything that moves is a function of that number, which is why T3 Code can match a reference to the frame: an entrance that takes 12 frames in the reference takes exactly 12 frames in yours.

The blueprint says how each shot enters. Each entrance has a direct translation:

Blueprint `enters`In Remotion
cutNo entrance animation: the shot is fully on screen at its first frame.
transitionAnimate over the first frames: interpolate(frame, [0, 12], [0, 1], { extrapolateRight: 'clamp' }) for opacity, or a spring() for scale or position.
holdSame scene as the shot before: keep the layout and resume the motion where it stopped.
blank_black, blank_whitePut a frame or two of solid black or white between the shots, as the reference does.

Here is a product-screen shot that enters with a short transition, written the way T3 Code should write every shot: assets from public/ through staticFile(), timing from the frame number, nothing random.

src/shots/Shot3.tsx
import { AbsoluteFill, Img, interpolate, spring, staticFile, useCurrentFrame, useVideoConfig } from 'remotion';

// Blueprint shot 3: kind ui_screen, enters "transition", motion "medium".
export const Shot3 = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();
  const opacity = interpolate(frame, [0, 12], [0, 1], { extrapolateRight: 'clamp' });
  const rise = spring({ frame, fps, config: { damping: 200 } });

  return (
    <AbsoluteFill style={{ background: '#0b0b0f', alignItems: 'center', justifyContent: 'center' }}>
      <Img
        src={staticFile('screens/dashboard.png')}
        style={{ width: '78%', borderRadius: 16, opacity, transform: `translateY(${(1 - rise) * 40}px)` }}
      />
    </AbsoluteFill>
  );
};

For a screen recording use <OffthreadVideo src={staticFile('screens/demo.mp4')} /> instead of <Img>. Never use Math.random() or the clock inside a shot: Remotion renders frames in parallel and out of order, so anything not derived from the frame number flickers. Use Remotion's random(seed) when you need variation.

Preview, check and render

Open the Remotion Studio to scrub through the video while T3 Code works, render single frames to compare with the reference at the times the check gives, then render the file. Launch stands for your composition id.

npx remotion studio
npx remotion still Launch out/frame-90.png --frame=90
npx remotion render Launch out/launch.mp4

What trips people up in T3 Code

  • Adding the server in T3 Code's settings. Add it to Claude Code or Codex; T3 Code reads theirs.
  • Two threads writing to the same folder. Give each its own branch or folder.
  • Starting the thread before the agent has the server. Start a new thread after adding it.

Questions

What is T3 Code?

A desktop app for running coding agents like Claude Code and Codex, with several threads side by side.

How do I add an MCP server in T3 Code?

Add it to the agent T3 Code runs: claude mcp add for Claude Code, or codex mcp add for Codex.

Can I compare two video drafts?

Yes. Run one thread per template on separate branches and render both.