How to Write a Motion Graphics Prompt for Claude: Free Template and Examples
A one-line prompt gives you a different video every time. A prompt with seven fixed blocks gives you the same scene, with your content, whenever you run it. Copy the template, fill in the brackets, and use the worked examples as a model.
Updated 10 min read
On this page
A motion graphics prompt that works is a short spec, not a wish. It fixes seven things the model would otherwise invent: the goal, the format, the exact on-screen text, a timeline in seconds, the motion rules, the style, and a banned list with a self-check. Below you will find a free template with every field in brackets, two complete worked examples (a 10-second key number for Remotion and a 12-second vertical list for HyperFrames), the lines to add for each tool, and follow-up prompts for the problems that come up most.
Why one-line prompts give a different video every time
Every decision you leave out is made again on each run: the duration, the layout, the font, the colors, the easing curve, the effects. Two runs of “animate my top three tips” give you two different videos, and neither is likely to match the rest of your edit. That is fine for exploring ideas and useless for a series.
A prompt reproduces when it fixes the decisions that matter in writing, with a number wherever a number is possible. The code may still differ in small ways from one run to the next, but the scene, its rhythm and its look stay the same. That is what lets you reuse one chapter card for every chapter, or change a single figure in a key number without redesigning the scene.
The seven blocks of a prompt that reproduces
| Block | What it fixes | Example |
|---|---|---|
| Goal | What the viewer must understand, and where the scene plays | “A 10-second scene for a YouTube video that makes one revenue figure land” |
| Format | Tool, size, frame rate, duration and background | “Remotion, 1920x1080, 30 fps, 10 s, dark navy background” |
| Exact text | Every word and number on screen, in order | “$10,000”, “in monthly revenue” |
| Timeline | When each element starts, how long it moves, the hold and the exit, in seconds | “0.4–3.4 s: the number counts up” |
| Motion rules | Durations, easing, overlap and camera | “Every move at least 2 s, bell-shaped easing” |
| Style | Palette, fonts, depth and references | “Accent #2F80FF, Inter Tight 700” |
| Banned list and self-check | What must not appear, and which frames to verify | “No particles. Check stills at 1 s, 4 s and 9.5 s” |
The order matters less than the completeness. Keep the headings in your prompt anyway: they help Claude map each instruction to a part of the code, and they make the plan it proposes in plan mode easy to check against your brief.
The free template
Copy it, replace every bracket, and delete the lines you do not need.
GOAL
Make a [duration]-second motion graphics scene for [where it plays:
a YouTube video / a Short / a course].
The viewer must understand: [the one idea, in one sentence].
FORMAT
- Tool: [Remotion / HyperFrames / one self-contained HTML file].
- Size: [1920x1080 (16:9) / 1080x1920 (9:16) / 1080x1080 (1:1)] at [30] fps.
- Background: [solid #______ / transparent, because it goes over footage].
EXACT TEXT (use exactly as written, add nothing)
- [Element 1]: "[text]"
- [Element 2]: "[text]"
- [Element 3]: "[text]"
- Numbers: [value, prefix, suffix, thousands separator, decimals].
TIMELINE (seconds)
- [0.0]-[x]: [what enters, from where, and how]
- [before x]-[y]: [next element; it starts before the previous move ends]
- [y]-[z]: hold the finished layout; the camera keeps drifting
- [z]-[end]: exit over 2 seconds
MOTION RULES
- Every move lasts at least 2 seconds.
- Speed follows a bell curve: slow start, fast middle, slow end
([easing value for your tool]).
- Moves overlap; never animate everything at once.
- One focal point at a time. Real 3D depth. The camera never stops.
STYLE
- Palette: background [#______], text [#______], accent [#______].
- Font: [family] [weights], loaded from [a local file / Google Fonts].
- Look: [for example: dark navy, frosted glass cards, soft depth of field].
- Reference: [a link, or one line describing a look you like].
BANNED
[particle bursts, lens flares, random glows, crossfades, bounce or elastic
easing, text in corners, emoji, placeholder text]
SELF-CHECK BEFORE YOU FINISH
Render stills at [1 s], [the busiest moment] and [the final hold].
Check that no text is clipped, nothing overlaps by accident, the focal point
is clear and every value above is respected. Fix, then check again.Worked example 1: a 10-second key number in Remotion
A full-screen 16:9 scene for a long-form video. The values are examples; the structure is the point. You can see live scenes like this, and type your own text into them, in the library.
GOAL
Make a 10-second motion graphics scene for a YouTube video about a product
launch. The viewer must feel the size of one figure: monthly revenue six
months after launch.
FORMAT
- Tool: Remotion with TypeScript. One composition, id "KeyNumber".
- Size: 1920x1080 at 30 fps, 10 seconds (300 frames).
- Background: deep navy #0A1226 with a faint dot grid.
EXACT TEXT (use exactly as written, add nothing)
- Number: "$10,000", counting up from $0, comma as thousands separator,
no decimals. Use tabular figures so the digits do not jitter.
- Label under the number: "in monthly revenue"
- Second line: "six months after launch"
TIMELINE (seconds)
- 0.0-3.4: the camera pulls back from close on the center to the full frame.
- 0.4-3.4: the number counts up and lands exactly on $10,000.
- 0.6-3.4: a thin circular gauge draws itself clockwise around the number.
- 2.0-4.4: the label rises 40 px into place as it fades in.
- 2.6-5.0: the second line fades in under the label.
- 3.0-10.0: the camera pushes in slowly with a slight orbit; it never stops.
- 5.0-8.0: hold the finished layout.
- 8.0-10.0: exit: everything recedes in depth and fades out.
MOTION RULES
- Every move lasts at least 2 seconds.
- Easing: Easing.inOut(Easing.cubic) on every interpolate(), the count included.
- Moves overlap exactly as written above.
STYLE
- Palette: background #0A1226, text #FFFFFF, accent #2F80FF.
- Font: Inter Tight 700 for the number, 500 for the two lines, loaded from
a local file before the first frame.
- Look: the gauge has a soft light; nothing else glows. Real depth: the dot
grid sits far behind the number and moves less than it when the camera moves.
BANNED
Confetti, particle bursts, lens flares, glow on the text, bounce or elastic
easing, crossfades, any text not listed above.
SELF-CHECK BEFORE YOU FINISH
Render stills at frames 30, 120, 210 and 285 (1 s, 4 s, 7 s and 9.5 s).
Check that the number is never clipped, the label never touches the gauge
and the final value reads exactly "$10,000". Fix, then check again.Here is what each block contributes, and why it is written the way it is:
- Goal names the one feeling the scene must create. When there is a choice between two layouts, this is the sentence that settles it.
- Format pins the composition id, the size and the frame count, so the stills in the self-check land on predictable frames: at 30 fps, frame = seconds x 30.
- Exact text includes the formatting rules: separator, decimals, tabular figures. Without them, a count-up can show decimals on its way to the final value, or jitter sideways as the digits change width.
- Timeline: the count, the gauge and the camera pull-back all finish together at 3.4 seconds, so the number lands with everything else. The label and the second line start before that move ends instead of waiting for it, and the slow push-in begins at 3.0 seconds, before the pull-back is over, so the camera never stops.
- Motion rules put one curve on everything, the count included, so the number decelerates into its final value instead of stopping dead.
- Style allows exactly one glow, on the gauge, and gives the background a job: depth. Saying where light is allowed is the simplest way to keep it from appearing everywhere.
- Self-check lists frames rather than impressions: 30, 120, 210 and 285, which are 1, 4, 7 and 9.5 seconds.
Worked example 2: a 12-second vertical list in HyperFrames
A transparent 9:16 overlay for a Short, built to sit over your own footage. Compare its rhythm with the live feature pills stack, a vertical scene built for Shorts.
GOAL
Make a 12-second motion graphics overlay for a YouTube Short that lists
three steps. The viewer must remember the order of the steps.
FORMAT
- Tool: HyperFrames (HTML and a paused GSAP timeline registered on
window.__timelines). Run lint and check before rendering.
- Size: 1080x1920 at 30 fps, 12 seconds.
- Background: transparent, because it goes over my footage. Render a MOV
(ProRes 4444) with --format mov.
EXACT TEXT (use exactly as written, add nothing)
- Title: "Plan a video in three steps"
- Step 1: "Write the one idea"
- Step 2: "Mark the scenes in your script"
- Step 3: "Build each scene once"
TIMELINE (seconds)
- 0.0-2.4: the title rises out of a soft blur into the upper third.
- 1.4-3.8: card 1 arrives from depth and settles under the title.
- 2.4-4.8: card 2 arrives the same way.
- 3.4-5.8: card 3 arrives the same way.
- 0.0-12.0: the camera drifts slowly forward with a slight rotation;
it never stops.
- 5.8-10.0: hold; every card is sharp and readable.
- 10.0-12.0: exit: the cards recede into depth and fade out.
MOTION RULES
- Every move lasts at least 2 seconds; ease power3.inOut everywhere.
- Each card starts 1 second after the previous one, before it has landed.
- Real 3D depth with CSS perspective. One focal point at a time: the card
in motion is sharp, cards still far away are slightly out of focus.
STYLE
- Cards: frosted glass, white at 10% opacity, 1 px white border at 20%,
24 px corner radius. Step numbers in the accent color.
- Palette: text #FFFFFF, accent #8B4BFF. No background color anywhere.
- Font: Inter Tight 600, declared with @font-face from a local file.
- Safe zone: keep all text in the central area, away from the bottom and
right edges where the Shorts interface sits. Minimum text size 48 px.
BANNED
Emoji, icons in the cards, particle effects, crossfades, bounce or elastic
easing, a background fill of any kind.
SELF-CHECK BEFORE YOU FINISH
Run npx hyperframes snapshot --at 1,4,8. Check the stills over a dark and a
light background to confirm the transparency, check that no card touches the
edges, and check that the three steps read in order. Fix, then check again.Two details make this one work as an overlay. The background is never painted, which is what keeps the MOV transparent (HyperFrames rendering guide (opens in a new tab)). And the safe-zone line moves the text away from the parts of the screen the Shorts interface covers, a detail that should never be left to chance.
Adapt the template to other scene types
The seven blocks work for every kind of scene; what changes is the shape of the timeline.
- Chapter title: one entrance, a long hold, one exit. Fix the position and size in the style block so every chapter card lands in the same place.
- Comparison: the two sides enter about a second apart, then focus shifts to the side that wins while the other dims.
- Process: one beat per step, with the connector to the next step drawing itself while that step arrives.
- Kinetic type: list the words in order with the second each one appears, matched to your voice-over, and keep one entrance style for the whole line.
- Call to action: a short overlay with a transparent background; put the hold where you say the words.
Writing the timeline: seconds, overlaps and holds
The timeline is the block that changes results the most, and the easiest one to skip. Write absolute times in seconds rather than “then” and “after that”.
- Starts and durations. Give each element a start time and a move duration. With every move lasting at least 2 seconds, the arithmetic stays simple.
- Overlap. Start each element before the previous move ends. For a list with 2.4-second entrances, one start per second keeps two cards in motion at once: start = first start + item index x 1 s.
- The hold. Once the last move lands, keep the layout on screen long enough to read it, roughly the time it takes to read the text aloud, while the camera keeps drifting.
- The exit. 2 seconds, eased like everything else. The total duration is the end of the exit.
Worked out for five list items with the first card at 1.4 seconds: the last card starts at 5.4 s and lands at 7.8 s, the hold runs to about 11 s, and the exit ends at 13 s. That is your duration.
Describing motion with numbers
| Instead of | Write |
|---|---|
| “Fast”, “smooth” | “2.4 s, power3.inOut”, or the equivalent curve for your tool |
| “Staggered” | “Each card starts 1 s after the previous one” |
| “Slides in” | “Rises 40 px as it fades in”, or “arrives from 1,200 px behind the camera” |
| “Cinematic camera” | “The camera pulls back over the first 3.4 s, then pushes in slowly until the exit” |
| “Big title” | “96 px, Inter Tight 700, two lines at most” |
| “Nice colors” | “Background #0A1226, text #FFFFFF, accent #2F80FF” |
The easing value for each tool (CSS, GSAP, Remotion and plain JavaScript) is listed in why AI motion graphics look generic, along with the reasoning behind each motion rule.
Lines to add for Remotion, HyperFrames or plain HTML
Add the line for your tool to the FORMAT block. Each one prevents the most common technical failure of that tool.
Use Remotion with TypeScript. Register one <Composition> with the id, size,
fps and durationInFrames above. Compute every value from useCurrentFrame()
with interpolate() and Easing; do not use CSS transitions, CSS animations
or timers.Remotion renders frames in parallel browser tabs, so anything that does not derive from the frame number can flicker (Remotion on flickering (opens in a new tab)).
Use HyperFrames. Time clips with data-start, data-duration and
data-track-index. Animate with one GSAP timeline created paused and
registered on window.__timelines under the composition id. Declare fonts
with @font-face. Run npx hyperframes lint and npx hyperframes check before
rendering.The registry key must match the composition id (HyperFrames GSAP guide (opens in a new tab)), and a timeline that never gets registered renders as a still frame (HyperFrames vs Remotion (opens in a new tab)). An undeclared font can fall back to a default face, which lint reports. Then look at snapshots of the first frame, a moving state and the end state.
Write one self-contained HTML file. Expose window.render(t), where t is the
time in seconds, and compute every frame from t alone: no
requestAnimationFrame timing, no CSS transitions, no unseeded Math.random().
Keep the page background transparent unless I give a background color.A file built this way can be captured frame by frame with a headless browser and encoded with FFmpeg; the HTML hub and the Remotion vs HyperFrames comparison show how.
Follow-up prompts that fix common problems
Send one fix per message, name the element, and give the number. These are the fixes needed most often:
Every move is under 2 seconds. Stretch each entrance to 2.4 s, keep the
bell-shaped easing, and start each element 1 s after the previous one.
The title is clipped in 9:16. Break it into two lines, reduce the size until
it fits inside 8% side margins, and show me a still at 2 s.
Remove the particles and the glows. Put the background layer far behind the
cards instead, and let the camera drift so the depth shows.
The font fell back to a system font. Load [font file] with @font-face, wait
until it is ready before the first frame, and show me a still at 3 s.
The scene freezes at the end. Keep a slow camera push during the hold and
add a 2-second exit.
Use only these colors: background #0A1226, text #FFFFFF, accent #2F80FF.
Remove every other hue.Copy the template, or start from a live animation
The template gives you full control and works for any scene. If you would rather start from something you can see, every animation in the library comes with a live preview you can edit: change the text, the color and the format, watch the scene rebuild, then copy a prompt that already contains a complete timeline and the motion rules. Prompts are free with an email address.
Start with the giant toggle switch or the feature pills stack, or browse by what you need to say: lists, key numbers or chapter titles. For the full workflow around the prompt, from installing Claude Code to rendering, read how to make motion graphics with Claude.
Try it
Open a live animation, type your own text, pick a color and a format, then copy the prompt for Claude.


Sources
Official documentation, checked on .
- Claude Code: plan before editing (opens in a new tab)
- Remotion: interpolate() (opens in a new tab)
- Remotion: Easing (opens in a new tab)
- Remotion: flickering (opens in a new tab)
- HyperFrames: animate with GSAP (opens in a new tab)
- HyperFrames: render from the command line (opens in a new tab)
- HyperFrames CLI reference (lint, check, snapshot) (opens in a new tab)
- GSAP: eases (opens in a new tab)
- YouTube: understand three-minute Shorts (opens in a new tab)
Claude is a trademark of Anthropic. Motion Prompts AI is independent and not affiliated with Anthropic, Remotion or HeyGen.