Video & Audio
Audio to Text
audio-to-text
Use Audio to Text through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Schnellzugriff
Eingabedateien 1Ausgabedateien 1
Eingabe
Zulässige Eingabeformate und Dateianzahl für dieses Tool.
| Eingabetyp | file |
|---|---|
| Dateianzahl | 1 – 1 |
| Zulässige MIME-Typen | audio/mpeg, audio/wav, audio/x-wav, audio/mp4, audio/aac, audio/ogg |
Parameter
Diese Werte über request.options übergeben.
| Parameter | Typ | Erforderlich | Standard | Zulässig / Bereich | Beschreibung |
|---|---|---|---|---|---|
language |
enum | Optional | auto |
auto | ko | en | ja | zh | vi | es | pt | de | fr | Speech language or automatic detection. |
quality |
enum | Optional | standard |
fast | standard | high | Whisper model quality. |
format |
enum | Optional | txt |
txt | srt | vtt | Transcript output file format. |
Ausgabe
Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.
| Typ | files |
|---|---|
| Dateianzahl | 1 – 1 |
| Ausgabe-MIME | text/plain, text/vtt |
| Metadata | duration, inputBytes, outputBytes, segmentCount, language, quality, format |
| ZIP-Archiv | Nicht unterstützt |
Grundlegende Verwendung
Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.
Headless
const result = await client.run("audio-to-text", {
file,
options: { language: "auto", quality: "standard", format: "txt" }
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "audio-to-text", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.