STT 1
widelabs/stt-1
Wide LabsTranscriptionREST
Price$0.0037 /min
EndpointPOST /v2/audio/asr/whisper REST
Welcome to Wide Labs Compute. One API key, every model you need: chat, images, video, and voice. Billed by what you use
Quick start
Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/audio/asr/whisper \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "widelabs/stt-1", "audio_url": "https://api.widelabs.tr/cdn/content/NyBogi-5y4X2Mo0XHfGbHQ", "language": "en", "prompt": "A product demo recorded in a quiet room." }'
import os
import requests
resp = requests.post(
"https://api.widelabs.tr/v2/audio/asr/whisper",
headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
json={
"model": "widelabs/stt-1",
"audio_url": "https://api.widelabs.tr/cdn/content/NyBogi-5y4X2Mo0XHfGbHQ",
"language": "en",
"prompt": "A product demo recorded in a quiet room."
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/audio/asr/whisper", { method: "POST", headers: { Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "widelabs/stt-1", audio_url: "https://api.widelabs.tr/cdn/content/NyBogi-5y4X2Mo0XHfGbHQ", language: "en", prompt: "A product demo recorded in a quiet room." }), }); console.log(await resp.json());
Parameters
| Name | Type | Description |
|---|---|---|
audio_url required | string | URL to audio file (WAV, MP3, M4A, WEBM, FLAC supported) |
model required | "openai/whisper-large-v3" | "openai/whisper-1" | "openai/gpt-4o-mini-transcribe" | "widelabs/stt-1" | ASR model. Required — the models differ in price, in response shape and in which options below they honour, so there is no sensible default to pick for you. |
language | string | Language hint (ISO 639-1 code). Auto-detected if not specified. Honoured by every model (stt-1 also takes ISO 639-3). |
prompt | string | Text to guide the transcript's style, or to continue a previous segment. whisper-1 and gpt-4o-mini-transcribe only. |
temperature | number | Sampling temperature (0.0 = deterministic). Honoured by every model: 0–1, or 0–2 on stt-1. |
task | "transcribe" | "translate" default "transcribe" | Task: 'transcribe' (original language) or 'translate' (to English). whisper-large-v3 only — the others always transcribe. |
return_timestamps | boolean | string default false | Return timestamps: False (none), True (segment-level), 'word' (word-level). whisper-large-v3 only. |
chunk_length_s | integer | Process audio in chunks of this length in seconds (default: 30). whisper-large-v3 only. |
batch_size | integer | Batch size for processing chunks (default: 16). whisper-large-v3 only. |
tag_audio_events | boolean | Tag sounds like (laughter) in the transcript. Default true. stt-1 only. |
num_speakers | integer | Maximum number of speakers. stt-1 only. |
timestamps_granularity | "none" | "word" | "character" | Timestamp detail. Default 'word'. stt-1 only. |
diarize | boolean | Label which speaker talks when (speaker_id per word). Default false. stt-1 only. |
diarization_threshold | number | Speaker-split sensitivity; needs diarize=true and no num_speakers. stt-1 only. |
additional_formats | object[] | Extra exports returned inline; needs diarize=true and timestamps. docx and pdf come base64-encoded. stt-1 only. |
file_format | "pcm_s16le_16" | "other" | pcm_s16le_16 for raw 16-bit 16 kHz mono PCM input. Default 'other'. stt-1 only. |
seed | integer | Best-effort determinism. stt-1 only. |
use_multi_channel | boolean | Transcribe each channel separately (max 5). Billed per channel: duration = seconds x channels. Default false. stt-1 only. |
multichannel_output_style | "separate" | "combined" | separate = one transcript per channel; combined = one merged transcript. Default 'separate'. stt-1 only. |
entity_detection | string | string[] | 'all', a category (pii, phi, pci, other, offensive_language) or a list of entity types. stt-1 only. |
entity_redaction | string | string[] | Entities to redact from the text (subset of entity_detection). stt-1 only. |
entity_redaction_mode | "redacted" | "entity_type" | "enumerated_entity_type" | How redacted entities are written. Default 'enumerated_entity_type'. stt-1 only. |
no_verbatim | boolean | Drop filler words, false starts and non-speech sounds. Default false. stt-1 only. |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.