AIAI.comAIAI.com
AI モデル APIリアルタイム音声

ネイティブ OpenAI 形式

リアルタイム会話のための WebSocket 接続を確立します。

: これは WebSocket エンドポイントです。WebSocket プロトコルを使用して接続する必要があります。

接続 URL の例: wss://api.example.com/v1/realtime?model=gpt-4o-realtime

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