# Race Photo (picture-in-picture): Overlay element for AI agents

> A B-roll photo pinned beside the speaker as a race photo: white border, a caption on the bottom edge, two pins.

Canonical page: https://agentframes.ai/elements/split/race-photo/
Markdown: https://agentframes.ai/elements/split/race-photo.md

## Overview

- Name: Race Photo (picture-in-picture) (`racePhoto`), an element: one HyperFrames block per size
- Part of: the [Split](https://agentframes.ai/packs/split.md) pack (21 of 53). Available only through the All-access subscription.
- Category: Overlay
- Purpose: A B-roll photo pinned beside the speaker as a race photo: white border, a caption on the bottom edge, two pins.
- Pack: [Split](https://agentframes.ai/packs/split.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/split/race-photo.mp4
- Poster: https://agentframes.ai/media/split/race-photo.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Split pack. Add a `racePhoto` beat to plan.json on a `k` canvas with slots `photo`, `focus`, `caption`, `side` 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-split/media/speaker-16x9.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 40% |
| `caption` | string | caption | {"type":"string","minLength":0,"maxLength":28} | Mile 18, Chester |
| `side` | enum | side | {"type":"string","enum":["left","right"]} | left |
| `backdrop` | string | backdrop | {"type":"string","minLength":0,"maxLength":200} | assets/af-split/media/speaker-16x9.jpg |

## What your agent can change

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

A B-roll photo pinned beside the speaker as a race photo: white border, a caption on the bottom edge, two pins.

**Motion.** The photo drops (ease-in) with a slight tilt and two pins jolt it.
**Why it moves.** continuity: B-roll arrives as a pinned print, the same physical grammar as the bibs.

### Mount

Copy every manifest file into your project (plus `af-split-runtime`). Mount with a unique host id, `data-composition-id="af-split-race-photo-16x9"`,
`data-composition-src="compositions/af-split-race-photo-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}
- `caption`: {"type":"string","minLength":0,"maxLength":28}
- `side`: {"type":"string","enum":["left","right"]}
- `backdrop`: {"type":"string","minLength":0,"maxLength":200}

- `photo` is a path in your project; `focus` is the CSS object-position.
- 16:9 uses the empty third beside the speaker; 9:16 the band under the chin (clear of the right-hand platform buttons); 4:5 and 1:1 the lower zone. Move it with `zoneTop`.
- `backdrop` is a still of the speaker so the block reads on its own; set it to "" over your live footage.

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `capTop` (caption top, px), `zoneTop`
(card zone top, px), `exit` (lift or hold).

### Example

```json
{
  "photo": "assets/af-split/media/speaker-16x9.jpg",
  "focus": "50% 40%",
  "caption": "Mile 18, Chester",
  "side": "left",
  "backdrop": "assets/af-split/media/speaker-16x9.jpg"
}
```

## FAQ

### What can my AI agent change in Race Photo (picture-in-picture)?

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

### Which aspect ratios does Race Photo (picture-in-picture) support?

Race Photo (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 Race Photo (picture-in-picture)?

Race Photo (picture-in-picture) is included in the Split pack, which is part of the AgentFrames All-access subscription along with 52 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 Split

- [Key-Word Caption](https://agentframes.ai/elements/split/keyword-caption.md): One caption line in condensed caps over the chest, each word popping on as it is spoken; the key word lands on a tilted signal-orange slab, the handwritten split note writes on under it, and lane lines draw across the lower zone.
- [Key-Word Pop](https://agentframes.ai/elements/split/keyword-pop.md): One word, huge, on the accent slab over the chest, with a white lane line drawing under it.
- [Callout Card (beside the head)](https://agentframes.ai/elements/split/callout.md): A note card beside the head ("Note", "Coach tip", "Warning") with up to three lines, pinned on; in 16:9 a marker arrow draws toward the speaker.
- [Viewer Question + Answer](https://agentframes.ai/elements/split/viewer-question.md): The viewer's question on a small grey card (with who asked), then the short answer in caps under it.

## Community

Coming soon.
