# Meta Muse Voice Transcribe plugin guide

> How to use Meta Muse Voice Transcribe with LiveKit Agents.

Available in:
- [x] Node.js
- [x] Python

## Overview

This plugin allows you to use [Meta Muse Voice Transcribe](https://dev.meta.ai/docs/speech-to-text) as an STT provider for your voice agents. It streams mono PCM16 audio at 24 kHz over a WebSocket and returns cumulative interim transcripts with server-side endpointing.

### Installation

Install the plugin:

**Python**:

```shell
uv add "livekit-agents[meta]~=1.8"

```

---

**Node.js**:

```shell
pnpm add @livekit/agents-plugin-meta@1.x

```

### Authentication

The Meta plugin requires a [Meta Model API key](https://dev.meta.ai/).

Set `MODEL_API_KEY` in your `.env` file:

```shell
MODEL_API_KEY=<your-meta-model-api-key>

```

The plugin resolves the key from the `api_key` parameter first, then `MODEL_API_KEY`, then `META_API_KEY`.

### Usage

Use Meta STT in an `AgentSession` or as a standalone transcription service. For example, you can use this STT in the [Voice AI quickstart](https://docs.livekit.io/agents/start/voice-ai.md).

**Python**:

```python
from livekit.agents import AgentSession
from livekit.plugins import meta

session = AgentSession(
    stt=meta.STT(
        keywords=["LiveKit", "Muse"],
        language_bias=["English"],
    ),
    # ... llm, tts, etc.
)

```

---

**Node.js**:

```typescript
import { voice } from '@livekit/agents';
import * as meta from '@livekit/agents-plugin-meta';

const session = new voice.AgentSession({
    stt: new meta.STT({
        keywords: ['LiveKit', 'Muse'],
        languageBias: ['English'],
    }),
    // ... llm, tts, etc.
});

```

### Parameters

This section describes some of the available parameters. See the [plugin reference](https://docs.livekit.io/reference/python/livekit/plugins/meta/index.html.md#livekit.plugins.meta.STT) for a complete list of all available parameters.

Parameters are named below as they appear in Python. In Node.js, pass them to the `STT` constructor using their camelCase names (for example, `apiKey`, `languageBias`).

- **`api_key`** _(string)_ (optional) - Environment: `MODEL_API_KEY`: Meta Model API key. Required if the environment variable isn't set.

- **`model`** _(string)_ (optional) - Default: `muse-voice-transcribe-1.0`: Muse Voice Transcribe model to use.

- **`url`** _(string)_ (optional) - Default: `wss://api.meta.ai/v1/asr/realtime`: Realtime Muse ASR WebSocket endpoint. Must use `wss://`.

- **`keywords`** _(list[str])_ (optional): Recognition keywords, such as names or domain-specific vocabulary, to guide spelling. Sent during the initial handshake and can't be changed on an active stream.

- **`language_bias`** _(list[str])_ (optional): Languages to bias speech recognition toward. Omit it for automatic language detection. Sent during the initial handshake and can't be changed on an active stream. Supported names are Arabic, Bengali, Dutch, English, French, German, Hebrew, Hindi, Indonesian, Italian, Japanese, Kannada, Korean, Malay, Mandarin Chinese, Marathi, Polish, Portuguese, Spanish, Tagalog, Tamil, Telugu, Thai, Turkish, and Vietnamese.

> ℹ️ **Per-stream language bias**
> 
> Set `language` per stream to add a single bias to that stream only. It accepts a supported language name or a [language code](https://docs.livekit.io/agents/models/stt.md#language-codes) or locale such as `en-US`, `pt-BR`, or `zh-CN`, which the plugin maps to the corresponding name.

**Python**:

```python
stream = stt.stream(language="en-US")

```

---

**Node.js**:

```typescript
const stream = stt.stream({ language: 'en-US' });

```

### Limitations

Muse realtime sessions have a maximum duration of 60 minutes. The plugin reports a provider connection close instead of automatically rotating to a new stream, so start a new stream to continue. Connected streams must keep sending realtime PCM, including silence. Batch recognition, diarization, detected-language metadata, and keyterm updates on an active stream aren't supported.

## Additional resources

The following resources provide more information about using Meta with LiveKit Agents.

- **[Python package](https://pypi.org/project/livekit-plugins-meta/)**: The `livekit-plugins-meta` package on PyPI.

- **[Node.js package](https://www.npmjs.com/package/@livekit/agents-plugin-meta)**: The `@livekit/agents-plugin-meta` package on npm.

- **[Plugin reference](https://docs.livekit.io/reference/python/livekit/plugins/meta/index.html.md#livekit.plugins.meta.STT)**: Reference for the Meta STT plugin.

- **[GitHub repo](https://github.com/livekit/agents/tree/main/livekit-plugins/livekit-plugins-meta)**: View the source or contribute to the LiveKit Meta STT plugin.

- **[Meta docs](https://dev.meta.ai/docs/api-reference/voice/realtime)**: Muse realtime speech-to-text API documentation.

- **[Voice AI quickstart](https://docs.livekit.io/agents/start/voice-ai.md)**: Get started with LiveKit Agents and Meta.

---

This document was rendered at 2026-11-14T14:50:40.097Z.
For the latest version of this document, see [https://docs.livekit.io/agents/models/stt/meta.md](https://docs.livekit.io/agents/models/stt/meta.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).