# editor.captions.make

Source: https://docs.lightair.app/developers/remote-api/editor.captions.make

> Makes captions for a canvas from its speech, in the background.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

Needs the speech model, which the Captions panel gets.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `started` | `boolean` | no | true. |

## 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

- `editor.changed`

## From an AI agent

The MCP server's `editor_captions (action: make)` reaches this method.

## Related

- [editor.captions.add](https://docs.lightair.app/developers/remote-api/editor.captions.add.md)
- [editor.export.start](https://docs.lightair.app/developers/remote-api/editor.export.start.md)
