TutorialsProduct Updates

How to Create Marketing Videos With an AI Agent (Full Walkthrough)

A step-by-step walkthrough of using a Gamut AI agent to produce on-brand marketing videos from a simple prompt, with Remotion rendering and interactive feedback loops.

Headshot of Iddo Gino
Iddo Gino · Founder & CEO
How I Use an AI Agent to Create All My Marketing Videos — tutorial cover showing the Gamut agent UI rendering a video

Marketing teams spend hours in video editing tools, stitching together slides, adjusting animations, and exporting for different platforms. What if you could describe what you want in a prompt and have an AI agent produce the entire video for you?

That's exactly what we built at Gamut. In this post, I'll walk you through how I use a Gamut agent to create all of our marketing and product demo videos — from a simple text prompt to a fully rendered, on-brand video — without ever opening a video editor.

Watch the full walkthrough: using a Gamut agent to create marketing videos

Want to try this yourself? Download the Remotion Video Studio skill (.zip) and add it to your Gamut agent to start producing videos from prompts.

How It Works: Video as Code

The agent uses Remotion, a React-based framework that treats video as code. Every frame, animation, and transition is a React component. This means:

Because the video is just code, creating and editing it becomes a coding task — which is exactly what AI agents are built to do.

Step 1: Give the Agent a Prompt

Every video starts with a prompt. I explain what I want to show, the context, and any specific requirements. For example, here's what I provided for a recent LinkedIn video:

The agent reads everything, understands the goal, and starts planning the video structure.

Gamut agent interface showing the video creation prompt with LinkedIn post content and workflow instructions
Every video starts with a prompt describing the content, context, and references.

Step 2: Automatic Brand Extraction

One of the things that impressed me most: the agent doesn't just guess your brand style — it goes to your website and figures it out.

The agent visited gamut.so, ran JavaScript in the browser to extract:

This gives it a complete brand guideline to work from, ensuring every video stays on-brand without you having to maintain a separate style document.

The Gamut agent visiting the website to extract brand fonts and colors directly from the CSS
The agent visits your website and extracts fonts, colors, and visual style automatically.

Step 3: The Self-Improving Render Loop

This is where things get interesting. The agent doesn't just write the code and ship it. It enters a continuous improvement loop:

  1. Build the video script in Remotion
  2. Render the video
  3. Extract frames from key moments
  4. Review each frame visually — checking composition, readability, and timing
  5. Identify issues and fix them
  6. Re-render and review again

The agent keeps cycling through this loop, catching things like text that's too small, animations that feel off, or colors that don't match the brand. It's like having a video editor who does their own QA.

The agent's self-improving loop: rendering the video, extracting frames, and reviewing each one for quality
The agent renders, reviews frames, identifies issues, and fixes them in a continuous loop.

Step 4: Interactive Feedback

Once the agent delivers a version, you can preview it right in the Gamut app. But here's the best part — you can leave comments directly on the video.

Each comment is:

So instead of writing vague feedback like "the transition around the middle feels off," you can point at the exact frame and say "move this text up" or "this animation is too fast." The agent reads your comments and applies the fixes in the next iteration.

Interactive video feedback in the Gamut app with timestamped and positioned comments on specific frames
Leave comments directly on the video — timestamped and positioned so the agent knows exactly what to fix.

Multiple Video Styles, One Agent

The same agent handles completely different video styles. We've used it for:

For the product demos, the agent actually pulls the source code to faithfully replicate the product environment inside the video. This means the demos look exactly like the real product — because they're built from the same codebase.

Gamut agent creating MCP integration product demo videos in a different visual style
The same agent handles different video styles — from animated explainers to product demos.

Start Creating Videos With Your Own AI Agent

Download the video creation skill and add it to your Gamut agent to start producing on-brand marketing videos from simple prompts.