Actions / Video Studio
Edit video
Read and createedit_video
Changes a Video Studio edit the way the editor does, from a list of changes: cut or restore script words, correct a word, captions (on or off, style, place, size, colours), apply a Brand Kit (colours, logo, intro and outro cards), the logo, text graphics, B-roll, pictures and music from the Media Library, move, resize and shape graphics, B-roll and the camera (rect, rounded, circle, square, edge, shadow), remove items, shape and framing (follow the face), clip mute, volume, speed and fades, detach a clip's sound, music volume and lowering under speech, voice clean-up, transitions, picture look, title cards, split and reorder, accept or dismiss suggestions, chapters and the title. Read the edit with get_video_edit and read_video_script first and pass its version.
Needs the write scope. Creates or changes things in Chirpy. Publishes nothing.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
editId | integer | Yes | |
version | integer | The version from get_video_edit or read_video_script, so a video changed since then is not edited by mistake | |
changes | object[] | Yes | Each item: op (required), from, to, word, text, subtext, id, clipId, kitId, mediaFileId, as, forSuggestion, kind, style, position, layout, animation, place, shape, mode, aspect, corner, size, denoise, action, ids, kinds, chapters, title, subtitle, cta, at, start, duration, x, y, zoom, radius, volume, speed, fadeIn, fadeOut, maxWords, toIndex, brightness, contrast, saturation, enabled, uppercase, colours, logo, intro, outro, muted, duck, normalize, flip, border, shadow, resetPlacement, applyToAll, textColor, highlightColor, primary, secondary, background. Up to 50. |
REST
curl https://chirpy.me/api/v1/edit_video \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"editId":123,"changes":[{"op":"cut_words"}]}'MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "edit_video",
"arguments": {
"editId": 123,
"changes": [
{
"op": "cut_words"
}
]
}
}
}MCP hints: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.
