Generates a signed URL for connecting to conversational AI providers via our proxy. The signed URL is valid for 10 minutes. Connections made via the signed URL proxy requests to your chosen provider and add visemes to the audio stream.
Supported providers:
elevenlabs - ElevenLabs Conversational AIgemini - Google Gemini Live APIopenai - OpenAI Realtime APIelevenlabs — ElevenLabs Conversational AI Agentsgemini — Google Gemini Live APIopenai — OpenAI Realtime APIviseme_model field in provider_config to select a language-optimized viseme prediction model:
"default" — English (used when viseme_model is omitted)"indonesian" — Bahasa IndonesiaBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Configuration parameters
Successful response containing connection credentials for the conversational AI proxy. The response format varies by provider:
ElevenLabs: Returns a signed_url — use it directly as the WebSocket URL with the ElevenLabs SDK.
Gemini: Returns api_key and base_url — pass them to the Google AI SDK as apiKey and httpOptions.baseUrl.
OpenAI: Returns a signed_url — use it as the WebSocket URL in OpenAIRealtimeWebSocket's createWebSocket factory.
(ElevenLabs, OpenAI) Signed WebSocket URL with encrypted token. For ElevenLabs, use directly as the WebSocket URL. For OpenAI, pass to createWebSocket in OpenAIRealtimeWebSocket.
"wss://api.mascot.bot/v1/conversation?token=eyJhbGciOiJIUzI1NiIs..."
(Gemini) Mascot Bot proxy token — use as apiKey in GoogleGenAI
"mascot_ephemeral_abc123..."
(Gemini) Proxy base URL — use as httpOptions.baseUrl in GoogleGenAI
"https://api.mascot.bot"