3 of 53 in the Mise pack

Butter Caption: Overlay element for AI agents

One caption on a butter sticker pill with an ink border and a hard shadow; each word pops on as it is said and the key word is set in Shrikhand in the key colour..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Mise pack includes all 53 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Mise pack. Add a `butterCaption` beat to plan.json on a `k` canvas with slots `text`, `cues` and `backdrop` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
textstringtext: {"type":"string","minLength":1,"maxLength":50}.brown it till it smells like *toffee*
cuesstringcues: JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}.[]
backdropstringbackdrop: {"type":"string","minLength":0,"maxLength":200}.assets/af-mise/media/speaker-16x9.jpg

What your agent can change

Butter Caption (key word). Native 1920×1080, 4s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

One caption on a butter sticker pill with an ink border and a hard shadow; each word pops on as it is said and the key word is set in Shrikhand in the key colour.

Motion. The pill drops on with a soft settle just before the first word; words pop on their cues (5 frames, small overshoot). Why it moves. attention: the key word is the flavour to remember, and the pop keeps the rhythm of speech.

Mount

Copy every manifest file into your project (plus af-mise-runtime). Mount with a unique host id, data-composition-id="af-mise-butter-caption-16x9", data-composition-src="compositions/af-mise-butter-caption-16x9.html", data-duration and data-variable-values. A longer data-duration than 4s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: each is laid out natively, never scaled.

Content slots

Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

  • text (required): {"type":"string","minLength":1,"maxLength":50}
  • cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}
  • backdrop: {"type":"string","minLength":0,"maxLength":200}
  • *word* is the Shrikhand key word. cues: one block-relative time per word (from your transcript; a key phrase counts each word); leave it empty to space them 0.2 s apart. 2 lines max.
  • backdrop is a still of the creator so the block reads on its own (the tiles + the creator in the plate); set it to "" over your live film (the starters do).

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, avatar, ctaFollow, ctaLink, ctaCode. Layout: exit (clear or hold).

Example

``json { "text": "brown it till it smells like *toffee*", "cues": "[]", "backdrop": "assets/af-mise/media/speaker-16x9.jpg" } ``

FAQ

What can my AI agent change in Butter Caption?

Your agent fills the text, cues and backdrop slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Mise look.

Which aspect ratios does Butter Caption support?

Butter Caption is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4s.

How do I get Butter Caption?

Butter Caption is included in the Mise pack, which is part of the AgentFrames All-access subscription along with 52 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 53

Get the full Mise pack

Butter Caption comes as part of Mise: 53 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Full frame (16:9) · 22s · made entirely with this pack

More in Mise

See all 53 elements in Mise →