Frame a clip or photo
frame_clipUse this when the user wants the picture framed differently in a clip or photo: "zoom in a bit", "mirror it", "make it 1200 by 628". Not for: standard shapes 9:16, 1:1, 4:5, 16:9 (style_clip output_shape), light and color (adjust_look) or a facecam split (edit_clip). Rotation is done in the editor. Undoable (undo_edit). Costs no Horizon Units. Returns job_id; job_status waits for it.
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": "frame_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | fill (picture fills the frame, edges cropped), whole (whole picture, background around it), or a band shape 4:3, 1:1, 16:9 or 9:16. Empty keeps the current fit. | |
| zoom | No | Zoom factor, 1 to 4. 1 means no zoom, e.g. 1.3. | |
| clip_id | Yes | Clip or photo id from list_clips (kind photo for photos). | |
| background | No | Background around the picture: blur, or a color name or hex, e.g. black or #FFCC00. Empty keeps the current one. | |
| position_x | No | Where the frame sits over the picture, left to right, 0 to 100. 50 is the center, 0 the far left. | |
| position_y | No | Where the frame sits over the picture, top to bottom, 0 to 100. 50 is the center, 0 the top. | |
| blur_amount | No | Strength of the blurred background, 1 to 120. Setting it turns the blur background on. | |
| custom_width | No | Custom frame width in pixels, 240 to 4096, e.g. 1200. Give it with custom_height. | |
| custom_height | No | Custom frame height in pixels, 240 to 4096, e.g. 628. Give it with custom_width. | |
| flip_vertical | No | True flips upside down, false turns the flip off. Leave out to keep it. | |
| flip_horizontal | No | True mirrors left to right, false turns the mirror off. Leave out to keep it. |
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 |