Usage guide
Setup, environment variables, and Python/JavaScript/Go usage examples.
NeuphonicTTS
Streaming text-to-speech with Neuphonic, using your own Neuphonic API key. Good for low-latency, natural-sounding voices. Authenticates with NEUPHONIC_API_KEY from your environment, or an explicitapi_key.
Fields
Neuphonic voice ID to speak with. Leave unset to use Neuphonic’s standard voice for the language. Defaults to None (not set).
Audio encoding of the generated speech: “pcm_linear” (16-bit linear) or “pcm_mulaw”. Defaults to ‘pcm_linear’.
WebSocket URL of the Neuphonic API. Change it to use a different region. Defaults to ‘wss://eu-west-1.api.neuphonic.com’.