45 of 57 in the Echo pack

Infographic: comparison (X vs Y): Diagram element for AI agents

Two columns under tinted heads (Formal in blue, Casual in green); row by row, the left phrase lands and a green fork carries it across to its casual twin..

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

Watermarked preview. The Echo pack includes all 57 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Echo pack. Add a `compare` beat to plan.json on a `k` canvas with slots `title`, `left`, `right`, `rows`, `cues`, `at`, `still`, `side` and `stay` 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
titlestringtitle: {"type":"string","maxLength":40}.*Formal* vs casual
leftstringleft: {"type":"string","maxLength":16}.Formal
rightstringright: {"type":"string","maxLength":16}.Casual
rowsstringrows: JSON string. {"type":"array","minItems":1,"maxItems":5,"items":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","maxLength":26,"minLength":1},"b":{"type":"string","maxLength":26,"minLength":1}}}}.[{"a":"¿Cómo está usted?","b":"¿Qué tal?"},{"a":"Muchas gracias","b":"Gracias, guapa"},{"a":"Hasta luego","b":"¡Nos vemos!"}]
cuesstringcues: JSON string. {"type":"array","items":{"type":"number","minimum":0},"maxItems":5,"description":"seconds (block time) at which each item lands; time them to the transcript"}.
atstringat: JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {title}","properties":{"title":{"type":"number","minimum":0}}}.
stillbooleanstill: {"type":"boolean","description":"true = everything settled on a full-frame board (the 4:5 / 1:1 infographic still)"}.false
sideenumside: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}.
staybooleanstay: {"type":"boolean"}.false

What your agent can change

Infographic: comparison (X vs Y). Native 1920×1080, 8s at 30fps. Draws in the board above (16:9: beside) the speaker box (transparent everywhere else; the starter supplies the live board ground).

Two columns under tinted heads (Formal in blue, Casual in green); row by row, the left phrase lands and a green fork carries it across to its casual twin.

Motion. Heads rise; each row's left cell slides in on its cue, the fork draws across (0.25 s) and the right cell springs in along it. Outro: parts lift 14 px, soften with a 4 px blur and fade (0.22 s, ease in), last-in first-out, over the last ~0.4 s. Why it moves. change: each phrase turns into its other version in front of you.

Mount

Copy every manifest file into your project (plus af-echo-runtime). Mount with a unique host id, data-composition-id="af-echo-compare-16x9", data-composition-src="compositions/af-echo-compare-16x9.html", data-duration="8" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled. In a starter set backdrop to "": the starter draws the live board ground and the footage panel (the default still is only there so the block reads on its own).

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 (text is fitted to at most 75% of its design size, never cut).

  • title: {"type":"string","maxLength":40}
  • left: {"type":"string","maxLength":16}
  • right: {"type":"string","maxLength":16}
  • rows: {"type":"array","minItems":1,"maxItems":5,"items":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","maxLength":26,"minLength":1},"b":{"type":"string","maxLength":26,"minLength":1}}}}
  • cues: {"type":"array","items":{"type":"number","minimum":0},"maxItems":5,"description":"seconds (block time) at which each item lands; time them to the transcript"}
  • at: {"type":"object","description":"optional land times in block seconds, to match the transcript: {title}","properties":{"title":{"type":"number","minimum":0}}}
  • still: {"type":"boolean","description":"true = everything settled on a full-frame board (the 4:5 / 1:1 infographic still)"}
  • side: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}
  • stay: {"type":"boolean"}

Brand and layout

Brand variables (defaults from the pack's brand.json): creator, handle, channel, tagline, series, niche, language, colourway, accent, monogram, logo, avatar, keyword, ctaFollow, ctaLink, ctaCode, ctaComment. colourway is night, azulejo or chalk; accent (hex) recolours the slab (titles' hairlines, slabs, tags, the forget pin, the ripple), and falls back if type would not read on it (4.5:1). Layout: side (16:9 only: the board on the left or right), backdrop (a speaker still shown when the block is seen on its own; "" over live footage), speakerFocus (crop of that still), full (true while the speaker box is open to the full frame), capY (px; centre line of the captions, 0 = just above the speaker box, or on the chest when full).

Example

``json { "title": "*Formal* vs casual", "left": "Formal", "right": "Casual", "rows": "[{\"a\":\"¿Cómo está usted?\",\"b\":\"¿Qué tal?\"},{\"a\":\"Muchas gracias\",\"b\":\"Gracias, guapa\"},{\"a\":\"Hasta luego\",\"b\":\"¡Nos vemos!\"}]" } ``

FAQ

What can my AI agent change in Infographic: comparison (X vs Y)?

Your agent fills the title, left, right, rows, cues, at, still, side and stay 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 Echo look.

Which aspect ratios does Infographic: comparison (X vs Y) support?

Infographic: comparison (X vs Y) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

How do I get Infographic: comparison (X vs Y)?

Infographic: comparison (X vs Y) is included in the Echo pack, which is part of the AgentFrames All-access subscription along with 56 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 57

Get the full Echo pack

Infographic: comparison (X vs Y) comes as part of Echo: 57 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 →

Side by side (16:9) · 28s · made entirely with this pack

More in Echo

See all 57 elements in Echo →