Set the timeline
set_timelineSet how the design plays: its length in seconds (at most 60), its frame rate, and still_time, the second a batch image shows (a negative value clears it, so images use the last frame). Fields left out keep their values. Returns the timeline. Saved as a new revision that undo reverts. Use it after animate when the motion needs more or less time, and always set still_time on a template with motion that will fill image batches; motion itself is set with animate and edit_keyframes, and camera moves with camera.
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>",
"intent": "<intent>"
},
"name": "set_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| duration | No | Length of the scene's video in seconds. | |
| still_time | No | The second a still image of the scene shows: the moment where all its content is in place. A negative value clears it (the last frame). |