> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.narilabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.narilabs.com/_mcp/server.

# API reference

#### [Text to Speech](/api-reference/text-to-speech/speech/generate-speech)

Convert text to audio.

`POST /v1/audio/speech`

#### [Speech to Text](/api-reference/speech-to-text/realtime/realtime-transcription)

Stream audio and receive transcripts.

`WSS /v1/realtime?intent=transcription`

Authenticate with `Authorization: Bearer <NARI_API_KEY>`. See [Authentication](/authentication).