Levea — Autonomous AI Video Editor (37 Tools, 280+ Caption Templates, OAuth 2.1)
v0.7.6Autonomous AI video editor over MCP: viral clips, captions, reframe, chroma key, MP4 export.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
autonomous_edit Edit video
PRIMARY EDIT TOOL. Runs a natural-language video edit end-to-end: Levea's editing agent plans, edits, checks the rendered frames and exports. Send the user's brief verbatim, from one line to a multi-paragraph creative brief. Waits up to 5 min, but a full edit can take 10-20 min: prefer queue_edit for long edits. The first progress notification names the project_id; if the wait ends first the result is status "running" — follow it with get_active_task, never re-send the edit.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Natural-language description of the desired edit or creative brief. The backend planner decomposes it into canonical actions (viral clips, captions, reframe, export, …). Send the user's intent verba… |
assets | array | Optional input media assets. URLs must be public HTTP/HTTPS links; upload local files first (with the MCP server: asset_upload_url, then use the returned fileUrl). |
attachedImages | array | Optional reference image URLs used for planning. |
brandId | string | Optional per-call brand profile id (brand kits are managed in the Levea studio or with the MCP server's brand-kit tools). |
captionTemplateMode | string | How to apply captionTemplatePreset. |
captionTemplatePreset | string | Optional caption template to apply when (re)generating captions: a builtin slug (e.g. hormozi, mrbeast, viral-pop, karaoke, neon-pop, subtitle-bar) or a user-saved template id. With the MCP server, li… |
core_only | boolean | Return rendering-essential scene fields only (smaller payloads). |
editedPlan | object | Optional pre-edited plan object returned by a prior awaiting_approval response. |
files | array | Video / audio / image files the user attached in this chat (ChatGPT fills this in). They are copied into Levea; the first video seeds the project (unless video_url is set), the rest become assets. Use… |
flaggedIssues | array | Optional list of specific user-flagged problems for this run (e.g. ["caption #3 misspelled"]). |
planDecision | string | Typed approval of a plan returned by an awaiting_approval response. Send "approve" together with the workingMemory (and optionally editedPlan) from that response to run the plan as proposed. Omit it t… |
projectBrandId | string | Optional default brand for the project. Persists; per-call brandId overrides. |
project_id | string | Optional project id for tracking and continuity. Reuse the projectId returned by the first call for every continuation. |
requirePlanApproval | boolean | If true, the backend stops after planning and returns workingMemory for user approval. Resend with workingMemory (and optionally editedPlan) to continue. |
scene | object | Optional existing scene/timeline state to continue editing (advanced). |
skills | array | Optional list of your own skill ids ("user/<slug>", from save_skill / search_skills { mine: true }) to apply to this edit: each playbook guides the editing agent, and the style it sets (brand_id, capt… |
style_reference_url | string | Optional link to a style-reference video (YouTube, TikTok, Instagram, Drive, or a direct file URL). The editor downloads and measures it (cuts, beats, caption look, transitions, grade) and edits the u… |
video_url | string | Optional public source video URL (HTTP/HTTPS: S3, Google Drive public link, Dropbox, direct MP4) for a new project. A local file path cannot be read directly: upload the file first (with the MCP serve… |
workingMemory | object | Working memory returned by an awaiting-approval call; resend it to resume. |
autonomous_edit_streaming Edit video (live progress)
autonomous_edit with live progress: same parameters (documented on autonomous_edit), per-step MCP progress notifications, waits up to 30 min. Returns the final result.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
assets | array | |
attachedImages | array | |
brandId | string | |
captionTemplateMode | string | |
captionTemplatePreset | string | |
core_only | boolean | |
editedPlan | object | |
files | array | Video / audio / image files the user attached in this chat (ChatGPT fills this in). They are copied into Levea; the first video seeds the project (unless video_url is set), the rest become assets. Use… |
flaggedIssues | array | |
planDecision | string | |
projectBrandId | string | |
project_id | string | |
requirePlanApproval | boolean | |
scene | object | |
skills | array | |
style_reference_url | string | |
video_url | string | |
workingMemory | object |
queue_edit Queue video edit
Preferred for long edits: queues an autonomous edit and returns a taskId at once, so no client timeout applies. Same fields as autonomous_edit (documented there) plus platforms / autoExport. Poll check_task_status { task_id } or get_active_task { project_id }.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Natural-language description of the desired edit or creative brief. The backend planner decomposes it into canonical actions (viral clips, captions, reframe, export, …). Send the user's intent verba… |
assets | array | |
autoExport | boolean | Automatically export after the queued edit. |
captionTemplateMode | string | |
captionTemplatePreset | string | |
files | array | Video / audio / image files the user attached in this chat (ChatGPT fills this in). They are copied into Levea; the first video seeds the project (unless video_url is set), the rest become assets. Use… |
platforms | array | Optional export platforms for the queued edit. |
project_id | string | |
scene | object | |
video_url | string |
create_shader_effect Create shader effect
Save a reusable ShaderFX effect: WGSL defining fn fx(c: FxCtx) -> vec4<f32> (straight rgba). Validated before saving; errors come back as [{ line, column, message }] in your source lines. Returns effect_id and the param table. FxCtx, helpers, manifest and v3 (textures, feedback, passes, data, particles) with examples: load_skill shaderfx-effects.
| Parameter | Type | Description |
|---|---|---|
manifest * | object | { kind: "filter"|"transition"|"generator", output: "add"|"normal"|"replace", params: [{ name, type: float|vec2|vec3|color|bool, min?, max?, default }] }; v3 adds passes / textures / feedback / geometr… |
name * | string | Effect name. |
source * | string | WGSL with fn fx(c: FxCtx) -> vec4<f32> (no bindings, no @fragment). ≤ 24 KB (v3: 48 KB). |
data | array | [v3] Up to 16384 floats for data(i). |
data_url | string | [v3] URL of a JSON array or CSV, resolved to floats at apply time. |
description | string | One-line description. |
feedback | object | [v3] { enabled, warmup_sec?, clear? }: prev(uv) reads the previous output frame. |
geometry | object | [v3] { mode: "quads"|"points", count }: instanced particles drawn by fn instance(i, c). |
is_public | boolean | Share publicly (default false). |
overwrite | boolean | Replace your effect with the same name. |
project_id | string | Optional project context. |
textures | array | [v3] Up to 4 named textures; read with tex_<name>(uv). |
list_shader_effects List shader effects
List the ShaderFX effects in your library (id, name, kind, output, params). Pass an id to apply_shader_effect.
| Parameter | Type | Description |
|---|---|---|
include_public | boolean | Also list public effects. |
limit | number | Max effects to return. |
project_id | string | Optional project context. |
query | string | Name / description filter. |
apply_shader_effect Apply shader effect
Put a ShaderFX effect on a project (committed at once): a saved effect_id, or inline source + manifest. "filter": target_layer_id (omit = everything below), window start_time / end_time. "transition": from_layer_id + to_layer_id, overlap duration_sec (default 0.8) on media handles. "generator": paints on its own. params by manifest name; param_keyframes animates them. Check with render_preview. Details: load_skill shaderfx-effects.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project whose committed scene is edited. |
data | array | [v3] Up to 16384 floats for data(i). |
data_columns | array | [v3] CSV data_url columns (names or 0-based indexes). |
data_url | string | [v3] URL of a JSON array or CSV, resolved to floats at apply time. |
duration_sec | number | [transition] Overlap length (default 0.8). |
easing | string | [transition] Easing of progress, e.g. ease_in_out. |
effect_id | string | Saved effect id. |
end_time | number | [filter/generator] Timeline end (s). |
feedback | object | [v3] { enabled, warmup_sec?, clear? }: prev(uv) reads the previous output frame. |
from_layer_id | string | [transition] Outgoing clip. |
geometry | object | [v3] { mode: "quads"|"points", count }: instanced particles drawn by fn instance(i, c). |
intensity | number | c.intensity (default 1). |
kind | string | |
manifest | object | Inline manifest (with source). |
opacity | number | Layer opacity 0..1. |
output | string | Override the manifest output mode. |
param_keyframes | object | { "<param>": [{ time, value, easing? }, …] } (≥ 2 keyframes each). |
params | object | Param values by manifest name, e.g. { "strength": 0.8 }. |
source | string | Inline WGSL (with manifest), instead of effect_id. |
start_time | number | [filter/generator] Timeline start (s). |
target_layer_id | string | [filter] Layer whose picture src() reads. |
textures | array | [v3] Up to 4 named textures; read with tex_<name>(uv). |
to_layer_id | string | [transition] Incoming clip. |
delete_shader_effect Delete shader effect
Delete a saved ShaderFX effect. Layers already using it keep their own copy.
| Parameter | Type | Description |
|---|---|---|
effect_id * | string | Effect id to delete. |
project_id | string | Optional project context. |
check_job_status Check job status
Poll an export / async job by jobId (numeric). wait: true blocks until it finishes (progress notifications while it renders).
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job id to poll (numeric). |
wait | boolean | Block until terminal state. |
check_task_status Check task status
Poll a queued edit by taskId (from queue_edit), or a direct call that answered status "running" (taskId "dc_…": waits up to ~25 s; its result is that call's full response once finished). Exports use check_job_status.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task id from queue_edit, or a "dc_…" id. |
get_active_task Get active task
The edit currently running on a project, if any. Use it to follow an edit whose call returned status "running" or whose client stopped waiting.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
list_caption_templates List caption templates
List caption templates (builtin + your saved ones): slugs, names, style summaries.
apply_caption_template Apply caption template
Apply a caption template to a project directly (without autonomous_edit).
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Template slug / id from list_caption_templates. |
mode | string | |
project_id | string | Project to apply to. |
scene | object | Inline scene (alternative to project_id). |
save_caption_template Save caption template
Save a new caption template you can re-apply later.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name. |
style * | object | Style (font, color, position, animation, …). |
tags | array | Optional tags. |
save_current_caption_template Save current captions as template
Save the caption styling currently on a project as a reusable template.
| Parameter | Type | Description |
|---|---|---|
name * | string | Template display name. |
project_id | string | Project to snapshot from. |
scene | object | Inline scene (alternative to project_id). |
delete_caption_template Delete caption template
Delete one of your saved caption templates by id.
| Parameter | Type | Description |
|---|---|---|
template_id * | string |
list_brand_kits List brand kits
List your brand profiles (palette, fonts, logo, voice, gradeBias); pass an id as autonomous_edit brandId / projectBrandId.
get_brand_kit Get brand kit
Fetch one brand profile by id.
| Parameter | Type | Description |
|---|---|---|
brand_id * | string |
create_brand_kit Create brand kit
Create a brand profile: name, palette {primary,secondary,accent,neutral,extras[]}, fonts {primary,secondary}, gradeBias, forbiddenColors[], logoAssetUrl, voiceTone, enforcement (soft|hard).
| Parameter | Type | Description |
|---|---|---|
name * | string | |
enforcement | string | |
fonts | object | |
forbiddenColors | array | |
gradeBias | string | |
logoAssetUrl | string | |
palette | object | |
voiceTone | string |
update_brand_kit Update brand kit
Update a brand profile by id (same fields as create_brand_kit).
| Parameter | Type | Description |
|---|---|---|
brand_id * | string | |
enforcement | string | |
fonts | object | |
forbiddenColors | array | |
gradeBias | string | |
logoAssetUrl | string | |
name | string | |
palette | object | |
voiceTone | string |
delete_brand_kit Delete brand kit
Delete a brand profile.
| Parameter | Type | Description |
|---|---|---|
brand_id * | string |
list_projects List projects
List your projects.
get_project Get project
One project's record (name, revision, dates) with a short layer index. include_scene: true returns the full scene JSON (several MB); execute_action timeline_view is the compact view of the edit.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
include_scene | boolean | Return the full scene JSON instead of the layer index. |
create_project Create project
Create a new project, optionally with a brandId.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
brandId | string | |
description | string |
delete_project Delete project
Delete a project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
asset_upload_url Get asset upload URL
Signed upload URL for a file on the caller's own disk. Returns { uploadUrl, fileUrl }: PUT the bytes to uploadUrl, then pass fileUrl as video_url / in assets[]. A file the user attached in a chat (ChatGPT) needs no upload: pass it in `files` on autonomous_edit / queue_edit / execute_batch / execute_action.
| Parameter | Type | Description |
|---|---|---|
fileName * | string | |
contentType | string | MIME type, e.g. video/mp4. |
fileType | string | video | image | audio (from the extension if omitted). |
projectId | string | Optional project to associate the asset with. |
list_assets List assets
List your uploaded assets, optionally by projectId / fileType.
| Parameter | Type | Description |
|---|---|---|
fileType | string | video | image | audio. |
projectId | string |
delete_asset Delete asset
Delete an asset by file name (the path asset_upload_url returned).
| Parameter | Type | Description |
|---|---|---|
fileName * | string |
transcribe_asset Transcribe asset
Transcribe an asset (cached). Default: language, duration, speakers, transcript_id and one page of timed sentence lines. detail "words": paged word timings; "full": the raw record (very large).
| Parameter | Type | Description |
|---|---|---|
fileName * | string | Asset path. |
detail | string | |
language | string | ASR language hint. |
limit | integer | Max lines / words per page (words: default 500, max 1000). |
offset | integer | next_offset from the previous page. |
editor_health Check editor health
Connectivity check against the Levea API (unauthenticated).
search_tools Search canonical editor tools
Search the directly callable editing actions, read/inspection tools and preset catalogs (caption templates, GPU VFX, transitions, color LUTs, title cards, fonts, blend modes). With a query, matching actions come back with their parameter specs (required params end in "*"). Also returns the editorialPlaybook (fastest call pattern, NLE order, pro workflow). No query = the whole surface.
| Parameter | Type | Description |
|---|---|---|
catalog | string | Catalog filter (default all). |
category | string | Domain / category filter. |
detail | string | summary (default) or full action descriptions. |
include_schemas | boolean | Force parameter specs on / off (default on for ≤ 25 matches). |
limit | number | Max results (preset catalogs default to 50). |
offset | number | nextOffset from a previous page. |
query | string | Keyword, e.g. "karaoke", "whip_pan", "teal_orange", "chromakey". |
get_action_schema Get canonical action schema
Full input schema and constraints of canonical actions (e.g. COLOR_GRADE, TRIM_LAYER, GENERATE_CAPTIONS, EXPORT_VIDEO) or read tools (e.g. query_transcript, inspect_layer).
| Parameter | Type | Description |
|---|---|---|
action | string | Action or read tool name. |
actions | array | Several names at once (up to 40); large schemas are summarised (see `compacted`, schemaDetail.paramsOmitted). |
detail | string | summary (default, ≤ ~10k tokens) or the whole stored schema. |
params | array | Only these parameters, in full (nested schemas, every enum value). |
params_by_action | object | Per-action parameter lists with actions: [...], e.g. { "COLOR_GRADE": ["lut"] }. |
execute_action Execute canonical editor action
Run one canonical editor action or read tool (timeline_view, list_layers, inspect_layer, query_transcript, list_sources, shot_timeline, measure_audio, measure_picture, …) on a project. Pass video_url or assets on the first call to seed a project. Params accept references (@last, @primary, @all:<kind>, @end-3 …). Params are checked first (INVALID_PARAMS with suggestions). Several edits: execute_batch.
| Parameter | Type | Description |
|---|---|---|
action * | string | Canonical action (e.g. TRIM_LAYER, VERTICAL_REFRAME, COLOR_GRADE, GENERATE_CAPTIONS, EXPORT_VIDEO) or read tool name. |
action_params | object | The action's parameters (search_tools / get_action_schema). |
allow_unknown_params | boolean | Run despite params an action does not take (they are ignored and listed). |
assets | array | Media assets to seed a new project (first call only). |
dry_run | boolean | Only check params (fast); nothing runs. |
files | array | Video / audio / image files the user attached in this chat (ChatGPT fills this in). They are copied into Levea; the first video seeds the project (unless video_url is set), the rest become assets. Use… |
idempotency_key | string | Your id for this logical call: a resend returns the first answer instead of applying twice. |
include_scene | boolean | Return the full scene JSON (large). |
new_project | boolean | With video_url / assets and no project_id: always create a new project, even if this source is already being edited in one (otherwise refused with SEED_DUPLICATE_PROJECT). |
project_id | string | Project to edit; reuse the id the first call returned. |
reconcile | boolean | Default true: after a change, a structural finishing pass (safe-zone repair, timeline reconcile, layout de-stacking) runs; the response lists each run in finishingApplied and what it changed in struct… |
rerun | boolean | Run an identical call again on purpose. |
scene | object | Inline scene (advanced; the server keeps the project scene). |
variant | string | Edit / read a variant (fork_variant id or label) of project_id instead of its main scene. |
video_url | string | Source video URL to seed a new project (first call only). |
execute_batch Execute canonical action batch
Run an ordered list of canonical actions and/or read tools (≤ 25 steps) in one round trip. The whole batch is validated before anything runs (unknown actions, bad params → INVALID_PARAMS with suggestions; destructive actions need confirm_destructive: true) and is atomic unless allow_partial: the first failed step stops it and nothing is saved (BATCH_STEP_FAILED). One receipt per step. A structural finishing pass runs after the steps unless reconcile: false (finishingApplied). Without project_id the result is not saved (persisted: false). Results are unverified: check with render_preview be…
| Parameter | Type | Description |
|---|---|---|
actions * | array | Ordered { action, params } steps. |
allow_partial | false (default): the first failed step stops the batch and nothing is saved (failureCode BATCH_STEP_FAILED, failedStepIndex). true: every step runs and the ones that succeeded are saved; the response… | |
allow_unknown_params | boolean | Run despite params an action does not take (they are ignored and listed). |
assets | array | Media assets to seed a new project (first call only). |
confirm_destructive | boolean | Required true for destructive actions (CLEAR, bulk DELETE_LAYER, …). |
dry_run | boolean | Only check params (fast); nothing runs. |
files | array | Video / audio / image files the user attached in this chat (ChatGPT fills this in). They are copied into Levea; the first video seeds the project (unless video_url is set), the rest become assets. Use… |
idempotency_key | string | Your id for this logical call: a resend returns the first answer instead of applying twice. |
include_scene | boolean | Return the full scene JSON (large). |
new_project | boolean | With video_url / assets and no project_id: always create a new project, even if this source is already being edited in one (otherwise refused with SEED_DUPLICATE_PROJECT). |
project_id | string | Project to edit; reuse the id the first call returned. |
reconcile | boolean | Default true: after a change, a structural finishing pass (safe-zone repair, timeline reconcile, layout de-stacking) runs; the response lists each run in finishingApplied and what it changed in struct… |
rerun | boolean | Run an identical call again on purpose. |
scene | object | Inline scene (advanced; the server keeps the project scene). |
variant | string | Edit / read a variant (fork_variant id or label) of project_id instead of its main scene. |
video_url | string | Source video URL to seed a new project (first call only). |
render_preview Render GPU preview screenshots
Render GPU-composited JPEG frames of the live timeline at given timestamps (optional 0..1 region crop): every layer, caption, title, grade and effect. Returns MCP image blocks to inspect before EXPORT_VIDEO.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Project to render. |
region | object | Zoom region in 0..1 coordinates. |
scene | object | Inline scene (advanced). |
timestamps | array | Timeline seconds, e.g. [1, 5, 12]. |
variant | string | Render a variant (fork_variant id or label) of project_id instead of its main scene. |
search_skills Search production craft skills
Search Levea craft playbooks (SKILL.md: editing, color, captions, audio mixing, motion graphics, VFX, documentary, podcast, social shorts). Your own saved skills come first (source "user"); mine: true lists only yours.
| Parameter | Type | Description |
|---|---|---|
category | string | Category filter. |
limit | number | Max skills (default 20). |
mine | boolean | Only your own saved skills. |
query | string | Keyword, e.g. "color", "podcast", "motion". |
load_skill Load production craft skill
Load the full playbook (SKILL.md) and resource list of one or more skills from search_skills.
| Parameter | Type | Description |
|---|---|---|
skill_id | string | Skill id, e.g. "color-grading-finishing". |
skill_ids | array | Several skill ids. |
read_skill_resource Read skill reference resource
Read a bundled reference or template file ("references/…", "templates/…") of a skill.
| Parameter | Type | Description |
|---|---|---|
resource * | string | Relative path inside the skill. |
skill_id | string | Skill that owns the resource. |
save_skill Save your own skill
Save (or update) your own SKILL.md playbook as "user/<slug>" so the editor edits your way. search_skills lists it first, load_skill loads it, and autonomous_edit / queue_edit apply it when named in `skills` (or always, with frontmatter apply: always). Frontmatter: name, description, tags, categories, actions, apply, brand_id, caption_template, style_reference_url. Pass skill_md, or with the local npx server a path. Limits: 50 skills, 48k-character playbook, 12 resources.
| Parameter | Type | Description |
|---|---|---|
apply_by_default | boolean | Apply to every autonomous_edit (overrides frontmatter). |
path | string | Local npx server only: a SKILL.md file or its folder (other text files upload as resources). |
resources | object | Bundled text files, { "references/look.md": "…" }. |
skill_id | string | Slug to save under (default: frontmatter name). |
skill_md | string | The whole SKILL.md (YAML frontmatter, then markdown). |
delete_skill Delete your own skill
Delete one of your saved skills ("user/<slug>").
| Parameter | Type | Description |
|---|---|---|
skill_id * | string | The skill to delete ("user/<slug>"). |