# editor.words.transcribe

Source: https://docs.lightair.app/developers/remote-api/editor.words.transcribe

> Transcribes a clip's speech on this computer, 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. One medium is heard at a time.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `clip` | `string` | yes | The clip's id, from editor.timeline.get. |
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `started` | `boolean` | no | true. |
| `media` | `string` | no | The medium being heard. |

## Errors

Invalid params (-32602) for a picture, or a clip with no file of its own. A state error (-32005) without the speech model, or while another is being heard. A state error (-32005) when no Editor project is open. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_words (action: transcribe)` reaches this method.

## Related

- [editor.words.status](https://docs.lightair.app/developers/remote-api/editor.words.status.md)
- [editor.words.get](https://docs.lightair.app/developers/remote-api/editor.words.get.md)
