v2026.2.1
All Bundles

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

NameTypeDescription
audioByteaudio byte stream
modelStringmodel name
tokenStringAPI token

Return

TypeDescription
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

NameTypeDescription
audioByteaudio byte stream
modelStringmodel name
voiceStringvoice use when generating the audio
tokenStringAPI token

Return

TypeDescription
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

NameTypeDescription
textStringtext query
modelStringmodel name
tokenStringAPI token

Return

TypeDescription
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

NameTypeDescription
textStringtext query
modelStringmodel name
voiceStringvoice use when generating the audio
tokenStringAPI token

Return

TypeDescription
Pair<String,ByteArrayRef>pair with text and binary audio outputs