Set Source Text keyframes
set_source_text_keyframesChange text over time by setting Source Text hold keyframes on a text layer, enabling counters or word swaps with optional per-key styles and clearing old keyframes.
Instructions
Change the text over time: sets Source Text hold keyframes [{time, text, style?}] (e.g. a counter or word swap). Each key keeps the style present at that time unless 'style' is given. clearExisting removes old Source Text keyframes first.
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": {
"layer": "<layer>",
"keys": "<keys>"
},
"name": "set_source_text_keyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| keys | Yes | Keyframes in any order. | |
| layer | Yes | Text layer: 1-based index, name, or {id}. | |
| clearExisting | No | Delete existing Source Text keyframes first. |