All Bundles

Transcription

Transcribes audio into the given output format.

Derived from: EndPoint

Operations

Translate

Transcribes audio into the output format.

function : Translate(name:String, content:Byte[], model:String, token:String) ~ String
Parameters
NameTypeDescription
nameStringtranscription name
contentByte[]byte stream to translate
modelStringID of the model to use
tokenStringAPI token

Return
TypeDescription
Stringtranslated text, Nil if unsuccessful

Transcribes audio into the given output format.

function : Translate(name:String, content:Byte[], model:String, prompt:String, response_format:String, temperature:Float, token:String) ~ String
Parameters
NameTypeDescription
nameStringtranscription name
contentByte[]byte 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