Skip to main content
Papla is a text-to-speech plugin. It converts the agent’s text responses into speech.

Setup

Set your Papla API key in the worker environment. Generate a key from the Papla site:

Usage

Import the plugin and pass it to the pipeline’s tts slot.
PaplaTTS ships in the Node JS SDK only. The Python SDK does not include this plugin yet.

Parameters

Constructor parameters for PaplaTTS.

Import paths

Synthesized audio is streamed back to the caller after the LLM produces a response.