Add to a clip
add_to_clipUse this when the user wants text, a sticker, a sound, B-roll or another video on a clip: "add a title that says NO WAY", "a whoosh at 4 seconds", "put my reaction in the corner" (pip_clip_id; green_screen keys out its background). B-roll (stock, Premium) goes in a call of its own; names from edit_catalog. Not for: the clip's captions or music (edit_clip). Undoable. Costs no Horizon Units. Returns job_id.
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": {
"clip_id": "<clip_id>"
},
"name": "add_to_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to show, e.g. "NO WAY". One line per line of the style. | |
| clip_id | Yes | Clip id from list_clips. | |
| sticker | No | Sticker name or id from edit_catalog, or the emoji itself. | |
| pip_size | No | Width in percent of the frame, 10-100; 0 = 40. | |
| text_loop | No | Looping animation id from edit_catalog. | |
| text_size | No | Text size in frame pixels, 8-400. | |
| broll_line | No | Words the speaker says where B-roll goes. | |
| text_color | No | Text hex color, e.g. #FFD400. | |
| text_style | No | Text style name from edit_catalog. | |
| pip_clip_id | No | Video to show on top (picture-in-picture): a clip id from list_clips or a project id from list_projects. | |
| pip_seconds | No | Length in seconds; 0 = until its video or the clip ends. | |
| text_effect | No | Text effect (neon, gradient, 3D) from edit_catalog. | |
| broll_layout | No | Half of the frame B-roll fills: top or bottom. | top |
| broll_search | No | What the B-roll shows; empty = taken from broll_line. | |
| green_screen | No | Remove this colour from it: green, a colour name or hex like #00FF00. | |
| pip_position | No | top-right, top-left, bottom-right, bottom-left or center. | |
| sound_effect | No | Sound effect name or id from edit_catalog. | |
| sticker_size | No | Sticker size in frame pixels, 40-1200. | |
| broll_seconds | No | B-roll length in seconds, 1.5-8. | |
| text_position | No | top, middle or bottom. | |
| text_animation | No | Entrance animation id from edit_catalog. | |
| sticker_seconds | No | Sticker duration in seconds; omit for 2. | |
| broll_at_seconds | No | Seconds into the clip B-roll starts; -1 = not by time. | |
| sound_at_seconds | No | Seconds into the clip the sound plays, e.g. 4.0. | |
| sticker_position | No | top, middle or bottom; empty = middle. | |
| text_end_seconds | No | Seconds into the clip the text ends; 0 = 3 s after start. | |
| pip_start_seconds | No | Seconds into the clip it starts. | |
| sticker_at_seconds | No | Seconds into the clip the sticker appears. | |
| text_start_seconds | No | Seconds into the clip the text appears, e.g. 2.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| notes | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| changed | Yes | ||
| clip_id | Yes | ||
| editor_url | Yes | ||
| estimated_hu | No | ||
| voiceover_job_id | No |