TenZenTenzen AI
API ReferenceAI 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

GET/v1/realtime

以下为根据 OpenAPI Schema 自动生成的模拟请求参数,用于对照下方参数说明与右侧示例;不会发起真实请求。

{
  "method": "GET",
  "url": "https://api.tenzen.ai/v1/realtime",
  "headers": {}
}

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Query Parameters

model?string

要使用的模型

Response Body

application/json

curl -X GET "https://api.tenzen.ai/v1/realtime"
Empty
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}