Set a phrase as kinetic type
kinetic_typeAdd a phrase as kinetic type: words laid out one by one by the real text engine (wrapping at width, words sharing a baseline), with emphasis on chosen words (colour, style, size, tilt, a highlight pill) and motion that gives each word its own path: fly, drop, scatter, pop, wave, glitch, zoom, starting at start with stagger between words; exit_at sends them out. Seeded, so it varies by phrase but repeats exactly. Adds one new group each call and returns its group_id and the block's box and lines. Saved as a new revision that undo reverts; if any part is refused, nothing changes. Use it for animated headlines; for a plain typewriter or word reveal on an existing text layer use animate text_reveal.
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": {
"page_id": "<page_id>",
"text": "<text>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"font_size": "<font_size>",
"intent": "<intent>"
},
"name": "kinetic_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of the block in the parent, px. | |
| y | Yes | Top edge of the block in the parent, px. | |
| name | No | The group's name (default: the text). | |
| seed | No | Varies the scatter and timing; the same seed and text repeat exactly. | |
| text | Yes | The phrase; it is split into words at spaces. | |
| align | No | Line alignment inside `width`: "left" (default), "center" or "right". | left |
| color | No | Hex colour of the words (default #111111). | #111111 |
| start | No | Seconds. | |
| width | Yes | Widest the block may be, px; words wrap onto new lines past it. | |
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| motion | No | How the words arrive (default fly). | |
| exit_at | No | Leave at this second (words fly back out in reverse). | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| stagger | No | Seconds between words (default 0.08). | |
| duration | No | Seconds each word takes (default 0.7). | |
| emphasis | No | Words to stand out, each with its own colour, style, size, tilt or highlight pill. | |
| font_size | Yes | Size of every word that is not emphasised, px. | |
| parent_id | No | ||
| strike_at | No | Strike the whole phrase through at this second: a line draws across the words left to right (a "stop doing this" list item). | |
| font_style | No | A style of that family, e.g. "Bold". | |
| font_family | No | A family from list_fonts (default: the library's default sans). | |
| line_height | No | Line height: a multiple of the size (default 1.15), px when above 4, or a percentage of the size like "108%" as on text layers. | |
| strike_color | No | The strike line's colour (default the text colour). |