21 of 57 in the Echo pack

Photo / B-roll frame: Frame element for AI agents

Your photo or B-roll still in a card on the board, a slab label hanging off its corner and an italic caption under it; the photo settles from a slow 1.08 push..

  • 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 `photoFrame` beat to plan.json on a `k` canvas with slots `img`, `focus`, `ratio`, `label`, `caption`, `at`, `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
imgstringimg: {"type":"string","maxLength":200}.assets/af-echo/photos/cafe.jpg
focusstringfocus: {"type":"string","maxLength":12}.50% 40%
rationumberratio: {"type":"number","minimum":1,"maximum":2}.1.5
labelstringlabel: {"type":"string","maxLength":24}.en el café
captionstringcaption: {"type":"string","maxLength":48}.where I finally used it for real
atstringat: JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {in}","properties":{"in":{"type":"number","minimum":0}}}.
sideenumside: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}.
staybooleanstay: {"type":"boolean","description":"true = no outro (holds until the piece ends)"}.false

What your agent can change

Photo / B-roll frame. Native 1920×1080, 5s at 30fps. Draws in the board above (16:9: beside) the speaker box (transparent everywhere else; the starter supplies the live board ground).

Your photo or B-roll still in a card on the board, a slab label hanging off its corner and an italic caption under it; the photo settles from a slow 1.08 push.

Motion. The card rises 26 px from 0.95 with a soft overshoot (0.44 s); the photo eases from 1.08 to 1 over 1.6 s; the label sweeps in; the caption rises. 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. attention: the picture of where you used it makes the phrase real.

Mount

Copy every manifest file into your project (plus af-echo-runtime). Mount with a unique host id, data-composition-id="af-echo-photo-frame-16x9", data-composition-src="compositions/af-echo-photo-frame-16x9.html", data-duration="5" 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).

  • img: {"type":"string","maxLength":200}
  • focus: {"type":"string","maxLength":12}
  • ratio: {"type":"number","minimum":1,"maximum":2}
  • label: {"type":"string","maxLength":24}
  • caption: {"type":"string","maxLength":48}
  • at: {"type":"object","description":"optional land times in block seconds, to match the transcript: {in}","properties":{"in":{"type":"number","minimum":0}}}
  • side: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}
  • stay: {"type":"boolean","description":"true = no outro (holds until the piece ends)"}
  • ratio = width / height of the photo well.

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 { "img": "assets/af-echo/photos/cafe.jpg", "focus": "50% 40%", "ratio": 1.5, "label": "en el café", "caption": "where I finally used it for real" } ``

FAQ

What can my AI agent change in Photo / B-roll frame?

Your agent fills the img, focus, ratio, label, caption, at, 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 Photo / B-roll frame support?

Photo / B-roll frame is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

How do I get Photo / B-roll frame?

Photo / B-roll frame 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

Photo / B-roll frame 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

The echo (signature, channel intro) poster frame7s

The echo (signature, channel intro)

The pack's signature, the two taps. A sheet of script lines writes itself onto the board under your title. Tap one: the line you are saying lights blue, two rings ripple out of it, a fork draws to a card and the card springs in with the phrase ("Say it") and its tag slabs (casual, everyday). Tap two: the line under it lights green, the card swaps to the echo ("Echo it", the plain repeat, in green) and new tags drop in. As the channel intro the title is your channel, the slab says who you are and the two taps are your hello and its translation.

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

See all 57 elements in Echo →