# 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.

Canonical page: https://agentframes.ai/elements/echo/photo-frame/
Markdown: https://agentframes.ai/elements/echo/photo-frame.md

## Overview

- Name: Photo / B-roll frame (`photoFrame`), an element: one HyperFrames block per size
- Part of: the [Echo](https://agentframes.ai/packs/echo.md) pack (21 of 57). Available only through the All-access subscription.
- Category: Frame
- Purpose: 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.
- Pack: [Echo](https://agentframes.ai/packs/echo.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on none; avoid none
- Typical duration: 5s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/echo/photo-frame.mp4
- Poster: https://agentframes.ai/media/echo/photo-frame.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
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

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `img` | string | img | {"type":"string","maxLength":200} | assets/af-echo/photos/cafe.jpg |
| `focus` | string | focus | {"type":"string","maxLength":12} | 50% 40% |
| `ratio` | number | ratio | {"type":"number","minimum":1,"maximum":2} | 1.5 |
| `label` | string | label | {"type":"string","maxLength":24} | en el café |
| `caption` | string | caption | {"type":"string","maxLength":48} | where I finally used it for real |
| `at` | string | at | JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {in}","properties":{"in":{"type":"number","minimum":0}}} |  |
| `side` | enum | side | {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"} |  |
| `stay` | boolean | stay | {"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.

## More in Echo

- [The echo (signature, channel intro)](https://agentframes.ai/elements/echo/echo-card.md): 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.
- [Name tag (name, hairline, handle slab)](https://agentframes.ai/elements/echo/name-tag.md): Your name on the board just above your speaker box (16:9: low on the left of the box, under the chin): your name in Red Hat Display 900 (white, soft shadow), a slab hairline draws under it, your @handle sweeps in on the slab and a smaller tag slab under that says what you teach. On 9:16 it stays above the platform's bottom 340 px. With `full: true` it sits on the open, full-frame shot.
- [Captions: on the seam (key word in the serif italic)](https://agentframes.ai/elements/echo/captions-seam.md): The pack's caption skin: one to three words at a time in Red Hat Display 800, sitting on the board just above your speaker box (or on your chest when the box is open); each word appears as you say it; the starred key word turns into Crimson Pro italic, pops and gets a slab hairline under it.
- [The echo ripple (transition)](https://agentframes.ai/elements/echo/echo-ripple.md): A tap on the frame: the slab colour floods out of one point as a disc with two thin rings running just ahead of its edge (the two taps); an optional word in the serif italic holds in the middle ("otra vez"); then a hole opens in the middle and the slab leaves as a widening ring, revealing the next shot. Cut, open or close the speaker box, or swap the 16:9 sides while it covers.

## Community

Coming soon.
