markers_to_keyframes
Convert timed markers into animation by setting layer in/out points or inserting keyframes at each marker time, completing the caption pipeline after transcription and marker creation.
Instructions
Turn timed markers into animation — closes the caption pipeline after whisper_transcribe + add_markers_batch. mode="inout" (default): set each target layer's in/out points to consecutive marker times (per-word/per-line reveals). mode="keyframe": drop a key on prop at every marker time (value from value, or the sampled current value), optionally HOLD-interpolated. Markers read from markerLayer, else comp markers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layers": "<layers>"
},
"name": "markers_to_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Comp: name, numeric id, or { id: N } for duplicate-name-safe stable-id addressing. | |
| hold | No | mode=keyframe: HOLD interpolation | |
| mode | No | ||
| prop | No | mode=keyframe: property to key | |
| value | No | mode=keyframe: value to set (else samples current) | |
| layers | Yes | target layers (names/indices) | |
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. | |
| markerLayer | No | layer to read markers from (name, index, or { id: N }); omit for comp markers | |
| lastDuration | No | mode=inout: last layer out = its in + this (else comp end) |