Edit video
autonomous_editRun natural-language video edits end-to-end: provide a prompt, and the backend plans, executes, verifies, and exports, returning the final MP4 URL synchronously.
Instructions
PRIMARY EDIT TOOL. Run a natural-language video edit end-to-end. The backend agent plans, executes, verifies, and exports. Accepts anything from a one-liner ("generate 3 viral clips with captions and export") to a multi-paragraph creative brief. Returns the final mp4 URL synchronously when an export is queued. For long renders you may prefer queue_edit + check_job_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | Optional existing scene/timeline state to continue editing (advanced). | |
| assets | No | Optional input media assets. URLs must be public HTTP/HTTPS links. | |
| prompt | Yes | 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 verbatim — do not pre-decompose. | |
| brandId | No | Optional per-call brand profile id (see list_brand_kits). | |
| core_only | No | Return rendering-essential scene fields only (smaller payloads). | |
| video_url | No | Optional public source video URL (HTTP/HTTPS: S3, Google Drive public link, Dropbox, direct MP4) for a new project. Local file paths are not supported. | |
| editedPlan | No | Optional pre-edited plan object returned by a prior awaiting_approval response. | |
| project_id | No | Optional project id for tracking and continuity. Reuse the projectId returned by the first call for every continuation. | |
| flaggedIssues | No | Optional list of specific user-flagged problems for this run (e.g. ["caption #3 misspelled"]). | |
| workingMemory | No | Working memory returned by an awaiting-approval call; resend it to resume. | |
| attachedImages | No | Optional reference image URLs used for planning. | |
| projectBrandId | No | Optional default brand for the project. Persists; per-call brandId overrides. | |
| captionTemplateMode | No | How to apply captionTemplatePreset. | |
| requirePlanApproval | No | If true, the backend stops after planning and returns workingMemory for user approval. Resend with workingMemory (and optionally editedPlan) to continue. | |
| captionTemplatePreset | No | 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. Call list_caption_templates for the exact ids available. |