editor.captions.make
Makes captions for a canvas from its speech, in the background.
JSON-RPC 2.0project.write
Needs the speech model, which the Captions panel gets.
Parameters
- canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Result
- startedbooleantrue.
Errors
A state error (-32005) when the speech model isn't on this computer yet. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it.
Events
Subscribers to events get editor.changed.
From an AI agent
The MCP server's editor_captions (action: make) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.captions.make", "params": {}}lightair call editor.captions.makeconst result = lightair.call("editor.captions.make", {});