AI Model APIRealtime
Native OpenAI Format
Establish a WebSocket connection for real-time conversations.
Note: This is a WebSocket endpoint and requires a WebSocket protocol connection.
Connection URL example: wss://api.example.com/v1/realtime?model=gpt-4o-realtime
Authorization
BearerAuth
AuthorizationBearer <token>
Use Bearer token authentication.
Format: Authorization: Bearer sk-xxxxxx
In: header
Query Parameters
model?string
Model to use
Response Body
application/json
curl -X GET "https://router.bit-tech.com.cn/v1/realtime"Empty
{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}How is this guide?