wss://infistar.ai/v1/realtime?model=MODEL_ID internationally or wss://infistar.cc/v1/realtime?model=MODEL_ID in mainland China. Replace MODEL_ID with the exact available model ID.
ws to set the authorization header. A browser’s native WebSocket constructor cannot directly set that header. Browser applications should authenticate and relay through their own server; do not expose the key in frontend code or an application package.
For 401, check the key and Bearer header. For an unavailable model, recheck the group and model list. For connection failures, check wss:// and ensure /v1 appears only once.