# Replay Frame (picture-in-picture): Overlay element for AI agents

> A clip still or photo in a broadcast frame with a red REPLAY tab and a caption, on the stage.

Canonical page: https://agentframes.ai/elements/pitchside/replay-frame/
Markdown: https://agentframes.ai/elements/pitchside/replay-frame.md

## Overview

- Name: Replay Frame (picture-in-picture) (`replayFrame`), an element: one HyperFrames block per size
- Part of: the [Pitchside](https://agentframes.ai/packs/pitchside.md) pack (22 of 54). Available only through the All-access subscription.
- Category: Overlay
- Purpose: A clip still or photo in a broadcast frame with a red REPLAY tab and a caption, on the stage.
- Pack: [Pitchside](https://agentframes.ai/packs/pitchside.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: 4.5s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/pitchside/replay-frame.mp4
- Poster: https://agentframes.ai/media/pitchside/replay-frame.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Pitchside pack. Add a `replayFrame` beat to plan.json on a `k` canvas with slots `photo`, `focus`, `tag`, `caption` and `backdrop` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `photo` | string | photo | {"type":"string","minLength":0,"maxLength":200} | assets/af-pitchside/media/speaker-16x9.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 40% |
| `tag` | string | tag | {"type":"string","minLength":0,"maxLength":10} | Replay |
| `caption` | string | caption | {"type":"string","minLength":0,"maxLength":30} | 74' the space opens up |
| `backdrop` | string | backdrop | {"type":"string","minLength":0,"maxLength":200} | assets/af-pitchside/media/speaker-16x9.jpg |

## What your agent can change

**Replay Frame (picture-in-picture)**. Native 1920×1080, 4.5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

A clip still or photo in a broadcast frame with a red REPLAY tab and a caption, on the stage.

**Motion.** Panels slide in on a hard 6-frame ease (no overshoot) with a light flash on the leading edge.
**Why it moves.** continuity: B-roll arrives like a broadcast replay.

### Mount

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

- `photo` (required): {"type":"string","minLength":0,"maxLength":200}
- `focus`: {"type":"string","minLength":0,"maxLength":20}
- `tag`: {"type":"string","minLength":0,"maxLength":10}
- `caption`: {"type":"string","minLength":0,"maxLength":30}
- `backdrop`: {"type":"string","minLength":0,"maxLength":200}

- Use your own match footage stills or licensed images; the demo uses the creator still.
- `backdrop` paints the studio (stage + your still in the window) so the block reads on its own; set it to "" over your own studio film (the starters do).

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `exit` (wipe or hold).

### Example

```json
{
  "photo": "assets/af-pitchside/media/speaker-16x9.jpg",
  "focus": "50% 40%",
  "tag": "Replay",
  "caption": "74' the space opens up",
  "backdrop": "assets/af-pitchside/media/speaker-16x9.jpg"
}
```

## FAQ

### What can my AI agent change in Replay Frame (picture-in-picture)?

Your agent fills the `photo`, `focus`, `tag`, `caption` 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 Pitchside look.

### Which aspect ratios does Replay Frame (picture-in-picture) support?

Replay Frame (picture-in-picture) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get Replay Frame (picture-in-picture)?

Replay Frame (picture-in-picture) is included in the Pitchside pack, which is part of the AgentFrames All-access subscription along with 53 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 Pitchside

- [Key Caption](https://agentframes.ai/elements/pitchside/key-caption.md): One caption line at the foot of the stage in condensed broadcast caps, each word sliding in as it is said; the key word lands on a skewed stat-yellow block.
- [Key-Word Pop](https://agentframes.ai/elements/pitchside/keyword-pop.md): One word, huge, on the skewed yellow block, centred on the stage.
- [Callout Panel](https://agentframes.ai/elements/pitchside/callout.md): A panel on the stage with a yellow kicker ("KEY POINT", "WATCH THIS") and up to three lines in Chakra Petch.
- [Fan Question + Answer](https://agentframes.ai/elements/pitchside/fan-question.md): The fan's question on a white panel with who asked, then the answer in caps under it.

## Community

Coming soon.
