Holiday Sale · Save 50% On Every PackHoliday Sale · 50% Off 00:00:00:00
USD $
Keyframes

Packs

What is a keyframe? Keyframes in animation, video and code

A keyframe is a frame where you set a value, and the frames between are computed. Shown with real frames from an 18M-view reel, in CSS and Remotion.

Three zoomed frames from the touchscreen reel standing in a dark room: a glowing fingertip above the glass with counters under it, tagged Key 1 reading 100 100 100, an in-between reading 85 74 91 with a 13.5M views chip, and Key 2 reading 81 62 84

A keyframe is a frame where you set a value, like a position, a size or a number, and the software works out every frame between two of them. I make Keyframes, packs for Claude Code and Codex, and in my touchscreen video, made with its Full Visual folder (18M views on Instagram, Nov 29, 2026), three counters fall from 100 to 81, 62 and 84 between two keyframes 27 frames apart. The 26 frames between were computed, not drawn. In a video file, a keyframe means something else: a full picture the other frames are built from.

In short
  • Animation and editing: a keyframe pins a value at one moment. The app or the code fills in the frames between. That is interpolation.
  • Code: CSS @keyframes and Remotion's interpolate() are the same idea, written as text.
  • Video files: a keyframe, or I-frame, is a complete picture. My 84.5-second render has 23 of them in 5,070 frames.
  • The math: a 60-second reel at 60 fps is 3,600 frames. Nobody makes them one by one. You choose the keys.
Touchscreen reel, frame 2,254: a glowing fingertip above the glass, field lines pulled up into it, three counters under the glass reading 100, 100, 100Key 1 · 100Frame 2,258: the counters read 94, 97 and 100+4 · 97Frame 2,262: the counters read 90, 86 and 98+8 · 86Frame 2,266: the counters read 86, 78 and 93+12 · 78Frame 2,270: the counters read 83, 71 and 90+16 · 71Frame 2,275: the counters read 81, 65 and 87+21 · 65Frame 2,281: the counters settle at 81, 62 and 84Key 2 · 62
Seven of the 28 frames at 37.6 s in the touchscreen reel (posted Oct 11). Under each: its distance from key 1 and the middle counter's value.

What is a keyframe in animation?

A keyframe is a drawing or frame that sets where a movement starts or ends. Wikipedia puts it as "a drawing or shot that defines the starting and ending points of a smooth transition" (Wikipedia, read Nov 26, 2026).

In hand-drawn studios, a lead animator drew the key poses and assistants drew the in-betweens. Keys alone don't read as motion: "only two or three key frames over the span of a second do not create the illusion of movement", so the gaps get filled. On a computer, the in-betweens are calculated instead. A frame is any single picture in the video; a keyframe is a frame where someone made a decision.

Animated: the fingertip glows above the glass while the three counters under it count down from 100 to 81, 62 and 84, at quarter speed
The same 27 frames, quarter speedWatch the reel on Instagram

Here is the move from the strip. At keyframe 1, frame 2,254, three counters under the glass read 100. At keyframe 2, frame 2,281, they read 81, 62 and 84, because the fingertip has pulled away some of the charge.

Nobody typed 97, 86 or 71. The reel was made in Claude Code, with the folder Full Visual is made from, and code worked out every value between the two keys.

What do keyframes do in video editing?

In an editor, a keyframe stores the value of one property at one moment: position, scale, rotation, opacity, volume. Set two keyframes with different values and the app animates between them.

After Effects calls the filling interpolation and offers three kinds: linear, hold and Bezier (Adobe, read Nov 26). CapCut puts a diamond next to position, scale, rotation and opacity: click it, move the playhead, change the value, and it builds the motion between the two (CapCut's guide, read Nov 26).

Chart: the middle counter of the touchscreen reel on each frame from 2,254 to 2,281. A red diamond at 100 marks keyframe 1, a red diamond at 62 marks keyframe 2, and 26 white dots between them step down from 100 to 62
The same move as an editor would show it: two keys you set, and the values on every frame between them.

What are keyframes in CSS?

In CSS, @keyframes names the steps of an animation and the browser fills in the rest. MDN: it "controls the intermediate steps in a CSS animation sequence by defining styles for keyframes (or waypoints)" (MDN, updated Apr 23, 2026). from means 0% and to means 100%.

Here is the counter from the strip in CSS, 100 to 62 in 0.45 seconds. The @property line lets the browser count through whole numbers; it works in current browsers since 2024 (MDN).

@property --n { syntax: '<integer>';
  initial-value: 100; inherits: false; }
@keyframes drop {
  from { --n: 100; }  /* keyframe 1 */
  to   { --n: 62; }   /* keyframe 2 */
}
.cell { counter-reset: n var(--n);
  animation: drop .45s ease-out both; }
.cell::after { content: counter(n); }

I ran it in Chromium on Nov 26: paused at 225 ms it shows 74, at 450 ms it shows 62.

Keyframes in code: Remotion's interpolate()

Remotion, the React library that renders videos from code, has no keyframe panel. You write the keys as two lists, the frames [0, 27] and the values at those frames [100, 62], and interpolate() maps one onto the other: it "allows you to map a range of values to another" (Remotion docs, read Nov 26).

import {Easing, interpolate,
  useCurrentFrame} from 'remotion';

export const Cell = () => {
  const frame = useCurrentFrame();
  const n = interpolate(frame,
    [0, 27], [100, 62], {
      extrapolateRight: 'clamp',
      easing: Easing.out(Easing.cubic),
    });
  return <div>{Math.round(n)}</div>;
};

This is not the reel's code. It is the same two keys written with Remotion's public API, tested in Remotion 4.0 on Nov 26: frame 0 gives 100, frame 9 gives 73, frame 27 gives 62. To set Remotion up in Claude Code: Remotion with Claude Code.

What is a keyframe in video compression?

In a video file, a keyframe, also called an I-frame, is stored as a complete picture, and the frames around it store only what changed. Wikipedia: "a frame in which a complete image is stored in the data stream".

Chart: a bar for the 84.5-second touchscreen reel with 23 red ticks where its keyframes sit. Legend: 23 I-frames, a complete picture; 1,761 P-frames, only what changed since an earlier frame; 3,286 B-frames, built from frames before and after

In our 1080x1920 render of the touchscreen reel, 23 of 5,070 frames are full pictures: one every 250 frames at most, plus one wherever the whole picture changes (ffprobe, Nov 26). A player jumps cleanly only to those, which is why live streaming asks for a keyframe interval. YouTube recommends 2 seconds and says not to exceed 4 (YouTube Help, read Nov 26).

Go deeper: a file where every frame is a keyframe

Editors that need to land on any exact frame prefer files where every frame is an I-frame (in ffmpeg, -g 1). Our 720x1280 editing copy of the same reel has 5,070 keyframes and weighs 194 MB. The 1080x1920 render, with 23, weighs 203 MB for more than twice the pixels.

How many frames are in a 60-second reel?

3,600frames in 60 s at 60 fps1,800 at 30 fps
5,070frames in the touchscreen reel84.5 s at 60 fps
30.5 saverage watch timeInstagram API, Nov 8

A 60-second reel at 60 fps has 3,600 frames; at 30 fps, 1,800; at 24, 1,440. The touchscreen reel runs 84.5 seconds at 60 fps, so 5,070. People watched 30.5 seconds of it on average, which is still 1,830 frames that each had to look right. Nobody touches them one by one: you set the keys, and the code computes the rest.

Why keyframes matter when you make videos with Claude Code

18M
Touchscreen · Oct 11Watch on Instagram

Claude has no video model. In Claude Code it writes every scene as code, and a renderer like Remotion turns that code into frames. So every keyframe is a number in a file: where the counter starts, where it lands, on which frame. How the whole format comes together: how people make those Claude reels.

Computing the frames between is the easy part, and code never misses one. The hard part is choosing the keys: what moves, to what value, on which spoken word. In the reel, the counters fall as the voice says "charge".

Choose them badly and you get the flat look people complain about in their first Claude videos (why your Claude videos look generic).

Choosing those keys well is the part I wrote down in Keyframes, the packs that turn Claude Code or Codex into a video editor. Its Full Visual folder is the one behind this video's format: the voice is made first, so every key can land on the word it belongs to. You bring a subject, a link or your own transcript, and your agent makes a finished vertical explainer with a word-by-word caption and every scene drawn as code on its word. The voice runs on your own ElevenLabs, OpenAI or Fish key.

Full Visual

Full Visual

Explain any subject, word by word. A voice, a synced caption and real interfaces moving on every word.

$99$199SAVE 50%
See what's inside

Questions

What is the difference between a keyframe and a frame?

Every picture in a video is a frame. A keyframe is a frame where a value is set, by hand or in code, and the frames between two keyframes are computed. In compression, a keyframe is a frame stored whole.

What does a keyframe do in CapCut or Premiere Pro?

It saves the value of a property, like position, scale or opacity, at one point on the timeline. Add a second keyframe with a new value and the app animates between the two.

What is a keyframe interval?

How often a video file stores a full picture. For live streams, YouTube recommends one every 2 seconds and no more than every 4.

How many frames are in a 1-minute animation?

1,440 at 24 fps, 1,800 at 30 fps and 3,600 at 60 fps. With keyframes you set only the moments that matter.

Is Keyframes the same as Keyframes Studio or keyframe.art?

No. Keyframes (getkeyframes.com) makes packs for Claude Code and Codex. Keyframes Studio is a web editor for social videos, and keyframe.art is an AI video studio by Crewdo AI (their own sites, read Nov 26, 2026).

How this guide was made

Frames read one by one with ffmpeg, and keyframe counts with ffprobe, from our 1080x1920 render of the touchscreen reel (posted Oct 11, 2026), on Nov 26. Views and watch time: Instagram API for @speedy_devv, Nov 8. Wikipedia, Adobe, MDN, Remotion, CapCut and YouTube Help read Nov 26. Both code examples were run on Nov 26, in Chromium and in Remotion 4.0.447.

Hugues
Written by Hugues

Founder of Keyframes. Every reel on @speedy_devv is made with his own packs. The numbers here come from that account's Instagram insights and from buyers who agreed to be shown.

Full Visual
Made with this pack

Make reels like these

Explain any subject, word by word. A voice, a synced caption and real interfaces moving on every word.

$99$199SAVE 50%
See what's inside

Runs in Claude Code or Codex. Buy once, keep making.

Video preview

Your bag