Create project
create_projectStart a video clipping project from a URL or uploaded file, queuing background download, transcription, clip selection, and rendering for vertical shorts. Follow progress with wait_for_project(id).
Instructions
Start clipping a video from a URL (anything yt-dlp fetches) or a file you uploaded: POST /api/upload with the file as the body, header x-filename and your API key as Authorization: Bearer, then pass the uploadId it returns. Returns { id, title, status: "queued", next } at once; the pipeline (download, transcribe, pick, render) runs in the background for minutes, so follow with wait_for_project(id). Intro/outro default to your library defaults unless introAssetId/outroAssetId say otherwise. ranges: only those parts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Settings your project defaults give that this project leaves unset, e.g. language (detect it) or focus | |
| title | No | Project title (default: the video's own title) | |
| ranges | No | Clip only these parts, in seconds of the source video: [{ startSec, endSec, mode?: "find" (pick moments inside it, default) | "clip" (the range is the clip), label?, ref? }]. Only they are fetched, transcribed, picked from and counted (check_source prices them). The response adds ranges, rangeChanges and billedSec; each clip from a range carries rangeId and your ref (get_project, clip.done / clip.failed webhooks). Omit for the whole video. | |
| introSec | No | Seconds an intro image shows (1-10) | |
| metadata | No | Your own key/value strings (≤20 keys, 1 KB), returned by get_project and sent in every webhook for this project, e.g. { runId: "n8n-123" } | |
| outroSec | No | Seconds an outro image shows (1-10) | |
| settings | No | Project settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses, name fixes and the on-screen text scan on, filler removal off). Set refineDisfluency / disfluencyLlm true to opt into filler removal, refineEntities / refineScenes false to skip those steps (instance Pipeline gates must be on). | |
| uploadId | No | Id returned by POST /api/upload (the file body, x-filename header, API key as Bearer); give this or sourceUrl | |
| sourceUrl | No | http(s) URL of the video; give this or uploadId | |
| rangesFrom | No | Add the video's Most replayed peaks (YouTube's replay heatmap; check_source lists them) as exact-clip ranges; refused when it has none | |
| introAssetId | No | Library asset id (search_assets with source library) for the intro of every clip; null = no intro; omitted = your default intro | |
| outroAssetId | No | Same for the outro |