# Captions: slate (boxed): Overlay element for AI agents

> Two or three words at a time on a small frosted pill slate riding the caption line; key words hot.

Canonical page: https://agentframes.ai/elements/redline/captions-slate/
Markdown: https://agentframes.ai/elements/redline/captions-slate.md

## Overview

- Name: Captions: slate (boxed) (`captionsSlate`), an element: one HyperFrames block per size
- Part of: the [Redline](https://agentframes.ai/packs/redline.md) pack (29 of 59). Available only through the All-access subscription.
- Category: Overlay
- Purpose: Two or three words at a time on a small frosted pill slate riding the caption line; key words hot.
- 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: 7s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/redline/captions-slate.mp4
- Poster: https://agentframes.ai/media/redline/captions-slate.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Redline pack. Add a `captionsSlate` beat to plan.json on a `k` canvas with slots `captions`, `capX` and `maxWords` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `captions` | string | captions | JSON string. {"type":"array","minItems":1,"maxItems":80,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"text":{"type":"string","maxLength":80},"t":{"type":"array","items":{"type":"number"}}}}} | [{"start":0.2,"end":2.6,"text":"everyone says eight *glasses*","t":[0.2,0.6,0.95,1.3]},{"start":2.6,"end":5.2,"text":"here's what the *research* shows","t":[2.6,2.9,3.15,3.35,3.8]}] |
| `capX` | number | capX | {"type":"number","minimum":0,"maximum":4000} | 0 |
| `maxWords` | number | maxWords | {"type":"integer","minimum":1,"maximum":4} | 3 |

## What your agent can change

**Captions: slate (boxed)**. Native 1920×1080, 7s at 30fps. Sits over the creator's footage (transparent outside its own parts).

Two or three words at a time on a small frosted pill slate riding the caption line; key words hot.

**Motion.** Each slate rises 10 px and settles from 0.95 (0.16 s); words appear on their time. Outro 0.24 s.
**Why it moves.** continuity: the slate motif behind every line.

### Mount

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

- `captions` (required): {"type":"array","minItems":1,"maxItems":80,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"text":{"type":"string","maxLength":80},"t":{"type":"array","items":{"type":"number"}}}}}
- `capX`: {"type":"number","minimum":0,"maximum":4000}
- `maxWords`: {"type":"integer","minimum":1,"maximum":4}

- Times are block seconds; mount it once per stretch of talking with that stretch of the transcript.
- Star key words: `"what the *research* shows"`.
- `capTop` (px) moves the line: 0 = the size default (the line above the redline; 16:9 the chest).

### 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
{
  "captions": "[{\"start\":0.2,\"end\":2.6,\"text\":\"everyone says eight *glasses*\",\"t\":[0.2,0.6,0.95,1.3]},{\"start\":2.6,\"end\":5.2,\"text\":\"here's what the *research* shows\",\"t\":[2.6,2.9,3.15,3.35,3.8]}]",
  "maxWords": 3
}
```

## FAQ

### What can my AI agent change in Captions: slate (boxed)?

Your agent fills the `captions`, `capX` and `maxWords` 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 Captions: slate (boxed) support?

Captions: slate (boxed) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Captions: slate (boxed)?

Captions: slate (boxed) 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

- [Captions: one word at a time (the lecture caption)](https://agentframes.ai/elements/redline/captions-word.md): The pack's caption skin: one word at a time (two when one of them is three letters or fewer) in heavy white Geist on the line between the stage and the box (on 16:9 over the creator's chest). Starred key words go crimson with a glow.
- [Sticker: branch arrow](https://agentframes.ai/elements/redline/sticker-arrow.md): An arrow made of a branch line: a dot appears at the start, the curved line draws to the target with a glow and the head snaps on.
- [Sticker: reaction orb](https://agentframes.ai/elements/redline/sticker-reaction.md): A small orb pops with a reaction glyph ("?!" by default) and wobbles once.
- [Sticker: MYTH / FACT badge](https://agentframes.ai/elements/redline/sticker-badge.md): A verdict badge: a slate with a cross and MYTH in crimson, or a tick and FACT in proof green, tilted 4°.

## Community

Coming soon.
