Audio API
Align transcription
POST
Request
(multi-part form)
The input audio file to align with text. Common file formats such as mp3, flac, and wav are supported. Note that the audio will be resampled to 16kHz, downmixed to mono, and reformatted to 16-bit signed little-endian format before transcription. Pre-converting the file before sending it to the API can improve runtime performance
The text to align with the audio.
String name of the voice activity detection (VAD) model to use. Can be one of silero
, or whisperx-pyannet
.
String name of the alignment model to use. Currently supported:
mms_fa
optimal accuracy for multilingual speech.tdnn_ffn
optimal accuracy for English-only speech.gentle
best accuracy for English-only speech (requires a dedicated endpoint, contact us at inquiries@fireworks.ai).
The format in which to return the response. Can be one of srt
, verbose_json
, or vtt
.
Audio preprocessing mode. Currently supported:
none
to skip audio preprocessing.dynamic
for arbitrary audio content with variable loudness.soft_dynamic
for speech intense recording such as podcasts and voice-overs.bass_dynamic
for boosting lower frequencies;
Response
Was this page helpful?