editor.export.start
Exports the canvas shown, or every canvas, with a preset, loudness target and subtitles.
JSON-RPC 2.0project.write
Parameters
- presetstringAn export preset's name.
- allbooleanEvery canvas.
- loudnessstring | number
off,streaming,podcast, or a number of LUFS. - subtitlesstring
none,embed,srt,vttorembed+srt, when the canvas has captions. - folderstringWhere to save.
- canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Result
- runningbooleanWhether an export runs.
- progressnumber | nullHow far, 0 to 1.
- last{ file: string } | { error: string } | nullHow the last export ended.
- finishedstring[]Files exported.
Errors
A state error (-32005) while an export runs, or with nothing on the timeline. Not found (-32004) for an unknown preset. Invalid params (-32602) for an unknown loudness or subtitles.
Events
Subscribers to events get editor.export.
From an AI agent
The MCP server's editor_export (action: start) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.export.start", "params": { "preset": "YouTube", "loudness": "streaming" }}lightair call editor.export.start '{"preset":"YouTube","loudness":"streaming"}'const result = lightair.call("editor.export.start", {"preset":"YouTube","loudness":"streaming"});Result
{ "running": true, "progress": 0, "last": null, "finished": [] }