# Topic Drift

> Layer a headline behind a subject cutout while related words drift into place.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Motion](https://www.sandbase.ai/skills/motion)
- Version: 1.0.3
- Runs online: yes
- Page: https://www.sandbase.ai/skills/motion/topic-drift

## Install

Download the Skill package from https://www.sandbase.ai/skills/motion/topic-drift (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/topic-drift create an editable animation from my brief. Preserve the signature timing and motion, use original content and verify the rendered result
```

## How it works

1. **Write the brief and supply media** Write a JSON brief with a headline of up to 18 characters and three to eight related words, each with an optional weight from 1 to 3, plus optional camera, veil and sound settings, and choose a theme: chalk, amber, tidal or orchid. Supply a continuous silent take and an alpha cutout of the same take. Topic Drift never produces a presenter.
2. **Create the project** With Node.js 22 or newer, FFmpeg and HyperFrames 0.8.30, run node scripts/create.mjs with the brief, the take, the cutout and a theme. It probes both files and stops on a size, frame-rate or alpha mismatch, a take shorter than the 5.6 to 6.1 second film, or a headline that would need a font under 110 pixels. Short takes are never looped.
3. **Render and add sound** node scripts/render.mjs project video-only.mp4 writes the picture, with the huge headline behind the subject and the related words drifting in around it. Optional node scripts/sound.mjs synthesizes a cue track, a headline thud and one tone per arriving word, and muxes 48 kHz stereo AAC. Inspect the headline arrival, every word arrival, the final hold and the cutout edge.

## FAQ

### What does Topic Drift make?

Topic Drift makes a six-second clip in which a huge headline sits behind a subject and three to eight related words drift in around it, then hold still. The subject cutout always stays above the lettering, so the person appears in front of the type throughout the clip.

### What footage does Topic Drift need?

Topic Drift needs a continuous silent take at least as long as the film, 5.6 to 6.1 seconds depending on word count, and an alpha video, such as a VP9 alpha WebM, cut from the same take at the same size, frame rate and framing. Automatic matting is not part of the package and was not verified.

### Does Topic Drift need an API key?

No. Topic Drift composites your own take and cutout locally, so it needs no API key and calls no model. Topic Drift needs Node.js 22 or newer, FFmpeg, a Chrome supported by HyperFrames and HyperFrames 0.8.30, and makes no network calls after installation. Make the cutout with your own tool or a licensed matting service.

### What sound does Topic Drift add?

Topic Drift's optional sound.mjs synthesizes a cue track: a headline thud with a short swell, one tone per arriving word panned by its position and pitched by its weight, and an optional quiet bed, muxed as 48 kHz stereo AAC. Set sound mode to off in the brief for video only.

### Which themes does Topic Drift offer?

Topic Drift offers four themes: chalk, amber, tidal and orchid. Chinese text is detected automatically and uses the bundled Noto Sans SC. Keep the layer order, the headline-first then spread-out arrival and the quiet hold; adding ambient movement or putting the lettering in front of the subject breaks the effect.

## Examples

- Tide pools (English, 8 words) (video)
- Urban beekeeping (English, 6 words) (video)
