When several are set,
apiUrl wins over region, and region wins over an
API-key prefix.
Authentication modes
Most integrations pass a project-scoped API key. For user-token scenarios, set the matching flag:client.isToken, client.orgId,
plus client.apiKey, client.ttsUrl, and client.keepalivePingInterval.
Client lifecycle
client.close().
Region Selection
Pin traffic to the direct EU endpoint when needed. See the EU endpoint guide for details.https://api.eu.kugelaudio.com with
the key without the prefix.
The full KugelAudioOptions interface is documented in Types & Errors.
Diagnostics
The SDK reports its own connection and streaming failures back to KugelAudio so we can see problems that never reach our servers. It never sends your text, audio or credentials. See SDK Diagnostics for the full field list and the opt-out.Next steps
- Generate Speech: one-shot generation and parameters
- Streaming: streaming sessions and barge-in