MoleAPIMoleAPI
文件API 參考AI 模型介面即時語音(Realtime)

原生OpenAI格式

建立 WebSocket 連線用於即時對話。

注意: 這是一個 WebSocket 端點,需要使用 WebSocket 協定連線。

連線 URL 範例: wss://api.example.com/v1/realtime?model=gpt-4o-realtime

GET
/v1/realtime

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.moleapi.com/v1/realtime"
Empty
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}

這篇文件對您有幫助嗎?

最後更新於

返回首頁網關