24 of 53 in the Split pack

Viewer Question + Answer: Overlay element for AI agents

The viewer's question on a small grey card (with who asked), then the short answer in caps under it..

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

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

Paste this into Claude Code

Use the AgentFrames Split pack. Add a `viewerQuestion` beat to plan.json on a `k` canvas with slots `asker`, `question`, `answer` 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
askerstringasker: {"type":"string","minLength":0,"maxLength":22}.@sam_runs asked
questionstringquestion: {"type":"string","minLength":1,"maxLength":70}.Should I run through a stitch?
answerstringanswer: {"type":"string","minLength":1,"maxLength":30}.Slow down. *Breathe out* hard.
backdropstringbackdrop: {"type":"string","minLength":0,"maxLength":200}.assets/af-split/media/speaker-16x9.jpg

What your agent can change

Viewer Question + Answer. Native 1920×1080, 4.5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

The viewer's question on a small grey card (with who asked), then the short answer in caps under it.

Motion. The question card rises 30 px (ease-out); the answer lines rise from 1.1x. Why it moves. clarity: the question is the setup, the answer lands as the punchline.

Mount

Copy every manifest file into your project (plus af-split-runtime). Mount with a unique host id, data-composition-id="af-split-viewer-question-16x9", data-composition-src="compositions/af-split-viewer-question-16x9.html", data-duration and data-variable-values. A longer data-duration than 4.5s 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).

  • asker: {"type":"string","minLength":0,"maxLength":22}
  • question (required): {"type":"string","minLength":1,"maxLength":70}
  • answer (required): {"type":"string","minLength":1,"maxLength":30}
  • backdrop: {"type":"string","minLength":0,"maxLength":200}
  • 16:9 uses the empty third beside the speaker; 9:16 the band under the chin (clear of the right-hand platform buttons); 4:5 and 1:1 the lower zone. Move it with zoneTop.
  • backdrop is a still of the speaker so the block reads on its own; set it to "" over your live footage.

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: capTop (caption top, px), zoneTop (card zone top, px), exit (lift or hold).

Example

``json { "asker": "@sam_runs asked", "question": "Should I run through a stitch?", "answer": "Slow down. *Breathe out* hard.", "backdrop": "assets/af-split/media/speaker-16x9.jpg" } ``

FAQ

What can my AI agent change in Viewer Question + Answer?

Your agent fills the asker, question, answer 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 Split look.

Which aspect ratios does Viewer Question + Answer support?

Viewer Question + Answer is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

How do I get Viewer Question + Answer?

Viewer Question + Answer is included in the Split 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 Split pack

Viewer Question + Answer comes as part of Split: 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) · 30s · made entirely with this pack

More in Split

See all 53 elements in Split →