AIAI.comAIAI.com
AI Model APIReal-time Speech

Native OpenAI format

Establish a WebSocket connection for real-time conversation.

Note: This is a WebSocket endpoint; you must connect using the WebSocket protocol.

Connection URL example: 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"
  }
}