# Photo frame (B-roll): the picture unlocks when mentioned: Frame element for AI agents

> A B-roll still or UGC photo in a slate frame on the stage (16:10, 4:5 or 1:1), arriving blurred and dark and pulling sharp on the word that names it, with an optional italic caption under.

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

## Overview

- Name: Photo frame (B-roll): the picture unlocks when mentioned (`photoFrame`), an element: one HyperFrames block per size
- Part of: the [Redline](https://agentframes.ai/packs/redline.md) pack (35 of 59). Available only through the All-access subscription.
- Category: Frame
- Purpose: A B-roll still or UGC photo in a slate frame on the stage (16:10, 4:5 or 1:1), arriving blurred and dark and pulling sharp on the word that names it, with an optional italic caption under.
- Pack: [Redline](https://agentframes.ai/packs/redline.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly); this pack is Coming soon
- 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/redline/photo-frame.mp4
- Poster: https://agentframes.ai/media/redline/photo-frame.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Redline pack. Add a `photoFrame` beat to plan.json on a `k` canvas with slots `src`, `title`, `caption`, `ratio`, `focusY` and `at` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `src` | string | src | {"type":"string","maxLength":200,"minLength":1} | assets/af-redline/photos/ugc-water.jpg |
| `title` | string | title | {"type":"string","maxLength":34} |  |
| `caption` | string | caption | {"type":"string","maxLength":48} | a fifth comes from what you eat |
| `ratio` | enum | ratio | {"type":"string","enum":["wide","portrait","square"]} | wide |
| `focusY` | number | focusY | {"type":"number","minimum":0,"maximum":1} | 0.4 |
| `at` | string | at | JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {photo}","properties":{"photo":{"type":"number","minimum":0}}} |  |

## What your agent can change

**Photo frame (B-roll): the picture unlocks when mentioned**. Native 1920×1080, 5s at 30fps. Covers the frame (a cutaway) over the footage.

A B-roll still or UGC photo in a slate frame on the stage (16:10, 4:5 or 1:1), arriving blurred and dark and pulling sharp on the word that names it, with an optional italic caption under.

**Motion.** Frame and photo rise in; the photo unlocks on `at.photo` (blur 16 → 0 px, brightness 0.5 → 1, 0.5 s) and the frame ring flares; the caption rises in. Outro: fade, 8 px blur, 18 px drop (0.38 s, ease-in).
**Why it moves.** attention: the picture is only clear when the creator talks about it.

### Mount

Copy every manifest file into your project (plus `af-redline-runtime`). Mount with a unique host id, `data-composition-id="af-redline-photo-frame-16x9"`,
`data-composition-src="compositions/af-redline-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.
Over live footage set `backdrop` to `""` (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).

- `src` (required): {"type":"string","maxLength":200,"minLength":1}
- `title`: {"type":"string","maxLength":34}
- `caption`: {"type":"string","maxLength":48}
- `ratio`: {"type":"string","enum":["wide","portrait","square"]}
- `focusY`: {"type":"number","minimum":0,"maximum":1}
- `at`: {"type":"object","description":"optional land times in block seconds, to match the transcript: {photo}","properties":{"photo":{"type":"number","minimum":0}}}


### Brand and layout

Brand variables (defaults from the pack's `brand.json`): `creator`, `handle`, `channel`, `tagline`, `colourway`, `accent`, `monogram`, `logo`, `ctaFollow`, `ctaLink`, `ctaCode`. `colourway` is crimson, lab or signal;
`accent` (hex) recolours the orb and the redline and falls back if it would not read on the ground.
Layout: `frame` (split = graphics above/beside the creator box, solo = the whole frame), `ground` (auto / none), `backdrop` (the still shown in the creator box when the block is used on its own; "" in a starter),
`headTop` / `speakerX` / `speakerScale` (fit the box to your master), `side` (which side the box sits on), `capTop` (captions line), `exitAt`, `exit`.

### Example

```json
{
  "src": "assets/af-redline/photos/ugc-water.jpg",
  "title": "",
  "caption": "a fifth comes from what you eat",
  "ratio": "wide",
  "focusY": 0.4
}
```

## FAQ

### What can my AI agent change in Photo frame (B-roll): the picture unlocks when mentioned?

Your agent fills the `src`, `title`, `caption`, `ratio`, `focusY` and `at` 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 Redline look.

### Which aspect ratios does Photo frame (B-roll): the picture unlocks when mentioned support?

Photo frame (B-roll): the picture unlocks when mentioned is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Photo frame (B-roll): the picture unlocks when mentioned?

Photo frame (B-roll): the picture unlocks when mentioned is included in the Redline pack, which is part of the AgentFrames All-access subscription along with 58 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 Redline

- [Before / after: the redline divider sweeps across](https://agentframes.ai/elements/redline/before-after.md): Two photos in one slate frame: the "Before" picture desaturated, then the redline sweeps across from right to left revealing the "After" picture behind it; labelled chips in the corners.
- [Photo orbit: examples circle the orb, one comes forward](https://agentframes.ai/elements/redline/photo-orbit.md): Three to six photos orbit the crimson orb on a tilted ellipse (the back ones smaller and softer); on `at.pick` one glides to the centre and grows while the others blur back.
- [Channel intro: the orb ignites, the channel in two voices](https://agentframes.ai/elements/redline/channel-intro.md): The channel sting: the crimson orb ignites with the creator's monogram (or logo) inside, the channel name arrives in two voices (heavy Geist + the Bodoni italic voice word, which lights crimson), and "with <creator> · <handle>" settles underneath.
- [Lower third: a slate with the name, the redline draws, the @handle](https://agentframes.ai/elements/redline/name-handle.md): The creator's name on a small frosted slate with a glowing red dot, a red hairline that draws under the name and the @handle in Bodoni italic, docked in the creator box: top-left beside the head on 9:16, 4:5 and 1:1; the bottom corner away from the stage on 16:9.

## Community

Coming soon.
