v2025.6.2
All Bundles

Transcription

Transcribes audio into the given output format.

Operations

Translate

Transcribes audio into the input language.

function : Translate(name:String, content:Byte[], model:String, token:String) ~ String

Parameters

NameTypeDescription
nameStringtranscription name
contentBytebyte stream to translate
modelStringID of the model to use
tokenStringAPI token

Return

TypeDescription
Stringtranslated text, Nil if unsuccessful

Translate

Transcribes audio into the input language.

function : Translate(name:String, content:Byte[], model:String, prompt:String, response_format:String, temperature:Float, token:String) ~ String

Parameters

NameTypeDescription
nameStringtranscription name
contentBytebyte stream to translate
modelStringID of the model to use
promptStringtext to guide the model's style or continue a previous audio segment
response_formatStringformat of the transcript output, options: 'json', 'text', 'srt', 'verbose_json', or 'vtt'
temperatureFloatsampling temperature, between 0 and 1, higher values make the output more random
tokenStringAPI token

Return

TypeDescription
Stringtranslated text, Nil if unsuccessful