AI Voice Chat
Use ElevenLabs for spoken messages and nearby talk. Create an API key with only the required permission, and set usage limits.
Urbcraft uses ElevenLabs (opens in a new tab) to turn text into speech. Advisers can send voice messages on the phone. Citizens can speak when they talk near you.
Voices are optional. You can use text chat and play Urbcraft without an ElevenLabs key. This feature does not record your microphone.
Why you need an ElevenLabs key
Your ElevenLabs key lets Urbcraft request speech from your account. Each new speech request uses your ElevenLabs credits. ElevenLabs manages these credits and any charges for your plan.
Set up your AI provider first. See AI advisers.
What Urbcraft sends
Your game connects directly to ElevenLabs. Each speech request contains:
- Your ElevenLabs key, to give access to the service.
- The text line that the character will speak. This can include names or other details in that line.
- The selected voice, model and speech settings.
ElevenLabs returns audio. Urbcraft plays the audio and saves it on your computer for reuse. Urbcraft uses preset voices. It does not clone your voice.
Keep your key private. Do not share your settings file. Do not paste the key into chat. Do not include the key in a screenshot.
Create a restricted key
You must set a credit limit before you create the key. Do not leave the limit empty. The game budgets do not replace this limit.
- Sign in to ElevenLabs (opens in a new tab).
- Open Developers. Select API Keys. You can also open the API Keys page (opens in a new tab) directly.
- Click Create Key.
- In Name, type Urbcraft. Use a separate key for this game.
- Keep Restrict Key on.
- Under Usage Limits (Credits), enter a number in Per credit refresh period. Use a limit that fits your budget.
- For Text to Speech, select Access.
- Leave all other permissions at No Access, including Voices, Models and all Administration permissions.
- Keep Auto-disable if leaked on.
- Check the limit. Check the permissions. Then click Create Key.
- Copy the full key from the result. ElevenLabs shows the full key only when you create it.
The example below uses 10,000 credits. This number is an example, not a required amount. The limit applies to your account's credit refresh period. It is not a dollar amount or a daily character budget.

Urbcraft uses only Text to Speech, with preset voices. It does not need access to Voices, Models, ElevenAgents or Speech to Text.
For the provider's instructions, see the ElevenLabs API key guide (opens in a new tab).
Add the key to Urbcraft
- Push Esc. Click Urbcraft in the bottom-left corner of the pause menu.
- Select the AI section.
- Find ElevenLabs voices. Paste the key in ElevenLabs key.
- Set Daily budget, messages. Set Daily budget, nearby talk. These limits count characters for each real day.
- Turn on Agent and adviser voice messages, Voices for nearby talk or both.
Open the phone. Play an adviser voice message. To hear nearby talk, walk to a citizen. Right-click the citizen.
How the limits work
| Limit | Where to set it | What it counts |
|---|---|---|
| API key credit limit | ElevenLabs → Developers → API Keys | Credits used by this key during each credit refresh period. |
| Daily budget, messages | Urbcraft → AI → ElevenLabs voices | New text characters sent for phone voice messages each real day. |
| Daily budget, nearby talk | Urbcraft → AI → ElevenLabs voices | New text characters sent for nearby talk each real day. |
Keep the ElevenLabs credit limit and both game budgets set. The key limit applies when this key is used outside the game, too. Game budgets apply only to Urbcraft on this computer.
When a daily budget is used up, new lines stay as text. Saved audio can still play without a new speech request.
The game shows estimated credit use and cost for today. Check your account's actual usage and plan on the ElevenLabs Developers page (opens in a new tab). Credit use depends on the speech model. See your ElevenLabs API plan (opens in a new tab) for current costs.
Problems
Text appears, but there is no voice
Check the key, the two voice switches and the daily budgets in AI. Check the game's main volume and voice volume. In ElevenLabs, check your remaining credits and the key's credit limit.
ElevenLabs refuses the request
Check that Text to Speech has Access on this key. Check that the key is enabled and has not expired. Keep all other permissions at No Access.
You closed the result before you copied the key
ElevenLabs cannot show the full key again. Create a replacement key with the same permission and a credit limit. Add the replacement key to Urbcraft. Then delete the old key in ElevenLabs.
Updated:
