Realtime
Realtime API support
Operations
Respond
Query with text input and respond with text and audio outputs
function : Respond(audio:Byte[], model:String, token:String) ~ Pair<String,ByteArrayRef>Parameters
| Name | Type | Description |
|---|---|---|
| audio | Byte | audio byte stream |
| model | String | model name |
| token | String | API token |
Return
| Type | Description |
|---|---|
| Pair<String,ByteArrayRef> | pair with text and binary audio outputs |
Respond
Query with text input and respond with text and audio outputs
function : Respond(audio:Byte[], model:String, voice:String, token:String) ~ Pair<String,ByteArrayRef>Parameters
| Name | Type | Description |
|---|---|---|
| audio | Byte | audio byte stream |
| model | String | model name |
| voice | String | voice use when generating the audio |
| token | String | API token |
Return
| Type | Description |
|---|---|
| Pair<String,ByteArrayRef> | pair with text and binary audio outputs |
Respond
Query with text input and respond with text and audio outputs
function : Respond(text:String, model:String, token:String) ~ Pair<String,ByteArrayRef>Parameters
| Name | Type | Description |
|---|---|---|
| text | String | text query |
| model | String | model name |
| token | String | API token |
Return
| Type | Description |
|---|---|
| Pair<String,ByteArrayRef> | pair with text and binary audio outputs |
Respond
Query with text input and respond with text and audio outputs
function : Respond(text:String, model:String, voice:String, token:String) ~ Pair<String,ByteArrayRef>Parameters
| Name | Type | Description |
|---|---|---|
| text | String | text query |
| model | String | model name |
| voice | String | voice use when generating the audio |
| token | String | API token |
Return
| Type | Description |
|---|---|
| Pair<String,ByteArrayRef> | pair with text and binary audio outputs |