# Captions: clean (the active word in blue): Overlay element for AI agents

> The sentence skin: the whole phrase is on screen from its first word; words not yet said sit dim, the word being said turns blue, said words are ink (white on footage).

Canonical page: https://agentframes.ai/elements/echo/captions-clean/
Markdown: https://agentframes.ai/elements/echo/captions-clean.md

## Overview

- Name: Captions: clean (the active word in blue) (`captionsClean`), an element: one HyperFrames block per size
- Part of: the [Echo](https://agentframes.ai/packs/echo.md) pack (30 of 57). Available only through the All-access subscription.
- Category: Overlay
- Purpose: The sentence skin: the whole phrase is on screen from its first word; words not yet said sit dim, the word being said turns blue, said words are ink (white on footage).
- 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: 6s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/echo/captions-clean.mp4
- Poster: https://agentframes.ai/media/echo/captions-clean.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Echo pack. Add a `captionsClean` beat to plan.json on a `k` canvas with slots `captions` and `side` 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":120,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"text":{"type":"string","maxLength":60},"t":{"type":"array","items":{"type":"number"}}}}} | [{"start":0.2,"end":2.6,"text":"say it in a real sentence","t":[0.2,0.45,0.65,0.8,0.95,1.3]},{"start":2.6,"end":5.2,"text":"then say it *again*, simpler","t":[2.6,2.9,3.1,3.5,4]}] |
| `side` | enum | side | {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"} |  |

## What your agent can change

**Captions: clean (the active word in blue)**. Native 1920×1080, 6s at 30fps. Sits on the speaker box or the seam (transparent outside its own parts).

The sentence skin: the whole phrase is on screen from its first word; words not yet said sit dim, the word being said turns blue, said words are ink (white on footage).

**Motion.** Each phrase hard-cuts in; the active word switches to blue on its time and back to ink when the next word starts. The last phrase fades over 0.2 s.
**Why it moves.** attention: viewers can read ahead while the blue word keeps them in step with the voice.

### Mount

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

- `captions` (required): {"type":"array","minItems":1,"maxItems":120,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"text":{"type":"string","maxLength":60},"t":{"type":"array","items":{"type":"number"}}}}}
- `side`: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}

- Times are block seconds. Mount it once per stretch of talking with that stretch of the transcript; set `full: true` while the speaker box is open to the full frame.
- Star a key word for the Crimson italic: `"say it *twice*"`. On the board (stacked sizes) the words are ink; on footage (16:9, full frame) they are white with a soft shadow.

### 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
{
  "captions": "[{\"start\":0.2,\"end\":2.6,\"text\":\"say it in a real sentence\",\"t\":[0.2,0.45,0.65,0.8,0.95,1.3]},{\"start\":2.6,\"end\":5.2,\"text\":\"then say it *again*, simpler\",\"t\":[2.6,2.9,3.1,3.5,4]}]"
}
```

## FAQ

### What can my AI agent change in Captions: clean (the active word in blue)?

Your agent fills the `captions` and `side` 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 Captions: clean (the active word in blue) support?

Captions: clean (the active word in blue) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

### How do I get Captions: clean (the active word in blue)?

Captions: clean (the active word in blue) 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

- [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.
- [Captions: karaoke (fills green as said)](https://agentframes.ai/elements/echo/captions-karaoke.md): The karaoke skin: the phrase sits dim; each word fills to the echo green as it is said and a green hairline under the line grows with it.
- [Captions: slab (two or three words on the paprika slab)](https://agentframes.ai/elements/echo/captions-slab.md): The boxed skin: two or three words at a time on a skewed paprika slab that sweeps in from its left edge with each phrase; the key word in the italic.
- [Sticker: fork arrow](https://agentframes.ai/elements/echo/sticker-arrow.md): A curved fork line that draws from a point and ends in an arrowhead (blue, green or paprika).

## Community

Coming soon.
