curl --request POST \
--url https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audio_data": "base64_encoded_audio_content",
"language": "en",
"task": "transcribe",
"word_timestamps": true,
"diarization": false,
"streaming": false,
"batch_size": 24,
"length_penalty": 1,
"patience": 1,
"vad_onset": 0.5,
"vad_offset": 0.363
}
'import requests
url = "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper"
payload = {
"audio_data": "base64_encoded_audio_content",
"language": "en",
"task": "transcribe",
"word_timestamps": True,
"diarization": False,
"streaming": False,
"batch_size": 24,
"length_penalty": 1,
"patience": 1,
"vad_onset": 0.5,
"vad_offset": 0.363
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
audio_data: 'base64_encoded_audio_content',
language: 'en',
task: 'transcribe',
word_timestamps: true,
diarization: false,
streaming: false,
batch_size: 24,
length_penalty: 1,
patience: 1,
vad_onset: 0.5,
vad_offset: 0.363
})
};
fetch('https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'audio_data' => 'base64_encoded_audio_content',
'language' => 'en',
'task' => 'transcribe',
'word_timestamps' => true,
'diarization' => false,
'streaming' => false,
'batch_size' => 24,
'length_penalty' => 1,
'patience' => 1,
'vad_onset' => 0.5,
'vad_offset' => 0.363
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper"
payload := strings.NewReader("{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}"
response = http.request(request)
puts response.read_body{
"transcription": [
"Hello, this is a test.",
"The audio quality is good."
],
"request_time": 2.5,
"language": "en",
"segments": [
{
"start": 0,
"end": 2.5,
"text": "Hello, this is a test.",
"words": [
{
"word": "Hello",
"start": 0,
"end": 0.5
}
]
}
]
}Whisper V3 API
Process audio files for transcription or translation with enhanced language support. Supports multiple audio formats and provides detailed word-level timestamps and speaker diarization.
curl --request POST \
--url https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audio_data": "base64_encoded_audio_content",
"language": "en",
"task": "transcribe",
"word_timestamps": true,
"diarization": false,
"streaming": false,
"batch_size": 24,
"length_penalty": 1,
"patience": 1,
"vad_onset": 0.5,
"vad_offset": 0.363
}
'import requests
url = "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper"
payload = {
"audio_data": "base64_encoded_audio_content",
"language": "en",
"task": "transcribe",
"word_timestamps": True,
"diarization": False,
"streaming": False,
"batch_size": 24,
"length_penalty": 1,
"patience": 1,
"vad_onset": 0.5,
"vad_offset": 0.363
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
audio_data: 'base64_encoded_audio_content',
language: 'en',
task: 'transcribe',
word_timestamps: true,
diarization: false,
streaming: false,
batch_size: 24,
length_penalty: 1,
patience: 1,
vad_onset: 0.5,
vad_offset: 0.363
})
};
fetch('https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'audio_data' => 'base64_encoded_audio_content',
'language' => 'en',
'task' => 'transcribe',
'word_timestamps' => true,
'diarization' => false,
'streaming' => false,
'batch_size' => 24,
'length_penalty' => 1,
'patience' => 1,
'vad_onset' => 0.5,
'vad_offset' => 0.363
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper"
payload := strings.NewReader("{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://http.whisper.model-cluster.on-prem.clusters.yotta-uat.cluster.s9t.link/model/infer/whisper")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"audio_data\": \"base64_encoded_audio_content\",\n \"language\": \"en\",\n \"task\": \"transcribe\",\n \"word_timestamps\": true,\n \"diarization\": false,\n \"streaming\": false,\n \"batch_size\": 24,\n \"length_penalty\": 1,\n \"patience\": 1,\n \"vad_onset\": 0.5,\n \"vad_offset\": 0.363\n}"
response = http.request(request)
puts response.read_body{
"transcription": [
"Hello, this is a test.",
"The audio quality is good."
],
"request_time": 2.5,
"language": "en",
"segments": [
{
"start": 0,
"end": 2.5,
"text": "Hello, this is a test.",
"words": [
{
"word": "Hello",
"start": 0,
"end": 0.5
}
]
}
]
}Authorizations
JWT token for authentication
Body
TEXT FIELD: This is a string field (not a file upload). Provide the audio as a base64-encoded string. First convert your audio file (.mp3, .wav, .flac) to base64, then paste the resulting string here.
"base64_encoded_audio_content"
Language code (e.g. 'en' for English)
"en"
Task type - transcribe in source language or translate to English
transcribe, translate "transcribe"
Optional starting text prompt for context
"Meeting transcript between John and Sarah:"
Number of parallel sequences evaluated
1 <= x <= 5Number of best sequences considered
1 <= x <= 5Include word-level timestamps
Enable speaker diarization
Enable voice activity detection filter
Exclude timestamps from output
Enable streaming output
Minimum number of speakers to detect (0 for automatic)
x >= 0Maximum number of speakers to detect (0 for automatic)
x >= 0Number of audio samples processed in one batch
0 <= x <= 24Penalty for longer sequences (1.0 means no penalty)
x >= 0Beam search patience factor
0 <= x <= 1Minimum duration of silence for a break (seconds)
x >= 0Minimum duration for speech detection (seconds)
x >= 0Voice activity detection onset threshold
0 <= x <= 1Voice activity detection offset threshold
0 <= x <= 1Additional padding at segment end (seconds)
x >= 0Additional padding at segment start (seconds)
x >= 0Maximum duration to process (seconds)
x >= 0Response
Successful transcription
Array of transcribed text segments
[ "Hello, this is a test.", "The audio quality is good." ]
Total processing time in seconds
2.5
Detected or specified language
"en"
Show child attributes
Show child attributes

