KugelAudio runs in multiple regions. By default, all traffic goes to the EU endpoint — existing API keys and SDK code continue to work without changes.Documentation Index
Fetch the complete documentation index at: https://docs.kugelaudio.com/llms.txt
Use this file to discover all available pages before exploring further.
Available Regions
| Region | Endpoint | Location |
|---|---|---|
| EU (default) | api.kugelaudio.com | Europe |
| US | us-api.kugelaudio.com | United States |
| Global | global-api.kugelaudio.com | Geo-routed to nearest region |
Choosing a Region
Pick the region closest to your servers (or your users, for client-side apps). If your users are spread across continents, use Global to let geo-routing handle it.How to Set Your Region
There are three ways to select a region, all supported by every SDK.Option 1: Prefix Your API Key
Prependus-, global-, or eu- to your API key. The prefix is stripped automatically before authentication — the server never sees it.
This is the simplest approach, especially when your API key comes from an environment variable:
Option 2: Set the Region in Code
All SDKs accept an explicit region parameter:- Python
- JavaScript
- Java
- cURL
Option 3: Set the API URL Directly
If you need full control over the endpoint — for example, when using a self-hosted deployment or a proxy — you can pass the URL directly. This overrides both theregion parameter and any key prefix.
- Python
- JavaScript
- Java
- cURL
Priority
When multiple region hints are present, the SDK resolves them in this order:apiUrl— explicit URL always winsregion— explicit region parameter- API key prefix —
us-,global-, oreu- - Default — EU (
api.kugelaudio.com)
WebSocket Connections
Region selection applies to both REST and WebSocket endpoints. The SDK automatically uses the correct regional host for WebSocket connections:FAQ
Do I need to change anything if I'm happy with EU?
Do I need to change anything if I'm happy with EU?
No. The default is EU and all existing API keys and code continue to work exactly as before.
Are voices and models the same across regions?
Are voices and models the same across regions?
Yes. All regions serve the same models and have access to the same voice library, including your custom voices.
Can I switch regions without getting a new API key?
Can I switch regions without getting a new API key?
Yes. Your API key works in any region — just change the prefix or region parameter. No need to regenerate keys.
What does the Global region do?
What does the Global region do?
Global (
global-api.kugelaudio.com) uses geo-routing to direct your request to the nearest regional deployment, minimizing network latency automatically.