Create a WebSocket-based realtime session.
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer authentication header |
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Realtime model identifier |
| modalities | array | No | Supported modalities: text, audio. Default: [“text”] |
| voice | string | No | Voice for audio output (alloy, echo, fable, onyx, nova, shimmer) |
| instructions | string | No | System instructions for the session |
| temperature | float | No | Sampling temperature (0.0 to 2.0). Default: 1.0 |