Write a motion graphic
write_graphic2D or 3D motion as a scene (read get_guide graphics): eased keys, per-letter text, clip masks, vector shapes, 3D meshes with matcap, a perspective camera, particles, imported clips as video on pictures and 3D surfaces; or Lottie JSON. Any length. To change one: get_timeline layer_id, then replaces. Cost: Free.
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": {
"name": "<name>",
"start": "<start>",
"end": "<end>"
},
"name": "write_graphic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Film second it ends (any length). | |
| code | No | Old receipts only. | |
| html | No | Or one HTML scene (GSAP, three.js), transparent. | |
| name | Yes | A new short name (the id is made from it). | |
| scene | No | The clypmint-scene v1 JSON. | |
| slots | No | Values for its slots. | |
| start | Yes | Film second it starts. | |
| lottie | No | Or Lottie JSON. | |
| replaces | No | Graphics this one redoes (layer ids), hidden while it plays. | |
| variants | No | 2-4 scenes drawn as rows A-D at preview_at, unsaved, to pick from. | |
| video_id | No | Video; the open one if left out. | |
| output_id | No | Output id. | |
| preview_at | No | Film seconds to look at it, unsaved. | |
| base_version | No | Version id you read. | |
| operation_id | No | Same id retries run once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| state | No | ||
| status | No | ||
| dry_run | No | ||
| message | No | ||
| plan_id | No | ||
| style_id | No | ||
| video_id | No | ||
| available | No | ||
| import_id | No | ||
| output_id | No | ||
| studio_url | No | ||
| version_id | No |