Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(voice): document eleven-key.js and voice-browser.js in src/voice/README.md

nirholaseb5d9e6da7a7
diff --git a/src/voice/README.md b/src/voice/README.md
index db3cfa4de..8f961214a 100644
--- a/src/voice/README.md
+++ b/src/voice/README.md
@@ -47,6 +47,8 @@ No rig allowlist, same policy as the skeleton pipeline: `AvatarMouthTarget` and
| [voice-clone-modal.js](voice-clone-modal.js) | `openVoiceCloneModal({ agentId, agentName, onClose })`, `closeVoiceCloneModal()` | Modal shell around the existing [src/editor/voice-recorder.js](../editor/voice-recorder.js) so the owner can clone their voice without leaving talk mode. POSTs to the real `/api/agents/:id/voice/clone` endpoint (ElevenLabs, rate-limited). |
| [avatar-snapshot.js](avatar-snapshot.js) | `captureSnapshotBlob(talkScene)`, `uploadAvatarSnapshot({ avatarId, scene })`, `SNAPSHOT_CONSTANTS` | Grabs a JPEG poster from the live WebGL canvas and pushes it through the existing presign-thumbnail plus auto-tag flow. |
| [wallet-intent.js](wallet-intent.js) | `WalletIntentController`, `isWalletCommand(text)` | Conversational wallet layer inside talk mode: a heuristic gate routes money-shaped utterances to `/api/agents/:id/solana/intent`, resolves amounts against real balances, previews the trade, and requires an explicit confirm (tap or "yes") before calling the same owner-only, spend-policy-gated trade/withdraw endpoints the wallet HUD uses. Nothing signs on its own path. |
+| [eleven-key.js](eleven-key.js) | `getElevenKey()`, `setElevenKey(key)`, `clearElevenKey()`, `withElevenKey(headers)`, `maskElevenKey(key)` | Browser-only store for a user's own ElevenLabs API key (BYOK). The key lives in `localStorage` and rides voice requests as the `x-eleven-key` header; the server resolves it per request and never stores it, so BYOK calls run on the user's own ElevenLabs account. |
+| [voice-browser.js](voice-browser.js) | `mountVoiceBrowser({ root, onSelect, onCatalog })` | The multi-provider voice grid on [/voice](../../pages/voice.html). Reads `GET /api/tts/catalog` (Microsoft Edge, Gemini, NVIDIA, OpenAI, ElevenLabs in one shape) plus `GET /api/tts/eleven/library` for the public ElevenLabs Voice Library, and previews through `POST /api/tts/synthesize` so what you hear is what an agent will render. Search, language filter, provider pills with their billing rung, and a relevance order that puts the visitor's own language first and round-robins the providers. `onSelect` hands the pick to the playground; `onCatalog` hands the provider metadata over so the playground can show a model select and a style-direction field only where the lane supports them. |
## Install / use