Realtime
text
wss://api.cloudaikit.com/v1/realtime?model=<model-name>Realtime uses WebSocket and is suitable for low-latency voice or real-time interactions. Availability depends on the deployment version, model, channel, and upstream service.
When connecting, use Authorization: Bearer <Token> for authentication, and set Origin or other request headers as required by the service. After establishing the connection, the client should send session configuration, input audio, or text events as defined by the upstream service, and handle incremental output and error events.
Pre-Integration Checklist
- Confirm that the current Token can access the target realtime model.
- Confirm that the client supports WebSocket, rather than calling this address as a regular HTTP endpoint.
- Set a connection timeout, reconnection behavior, and maximum retry count.
- Record the connection time, model, Request ID (if returned by the service), and reason for closure.
Conversion Limitations
Format conversion cannot guarantee one-to-one correspondence for all fields. Images, audio, tool calls, structured outputs, reasoning content, and safety parameters may differ significantly between service providers.
