Run Video Project
run_video_projectStart and change clip and editor projects. create starts a clip project from a YouTube link; analyze finds highlights for free; run cuts the chosen highlights into clips (avatar clips are held per second and settle to the rendered length); recut moves a finished clip to a new start and end; editor_draft opens clips in the video editor; render exports an editor project. Read projects with get_video_projects. Variable cost: 0–40 credits per call.
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": {
"action": "<action>",
"input": "<input>"
},
"name": "run_video_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The fields of the chosen action. | |
| action | Yes | create: Start an async YouTube clip project. analyze: Find viral highlights in a YouTube video via audio download, transcription and LLM analysis. run: Generate selected highlights. recut: Re-cut a finished raw-cut clip to a new window of its source video. editor_draft: Create a Studio Editor draft from sourceVideoIds in order (one clip each, max 50). render: Queue the render of an Editor project into a new video, the same export the Editor runs. | |
| organization | No | Organization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| message | No |