Video & Audio
Video to Text
video-to-text
Use Video to Text through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Quick actions
Input files 1Output files 1
Input
Accepted input contract for this Tool.
| Kind | file |
|---|---|
| File count | 1 – 1 |
| Accepted MIME types | video/mp4, video/webm, video/quicktime |
Parameters
Pass these values through request.options.
| Parameter | Type | Required | Default | Allowed / Range | Description |
|---|---|---|---|---|---|
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. |
Output
Result contract returned after successful processing.
| Type | files |
|---|---|
| File count | 1 – 1 |
| MIME types | text/plain, text/vtt |
| Metadata | duration, inputBytes, outputBytes, segmentCount, language, quality, format |
| ZIP archive | No |
Basic usage
Choose a supported integration mode and copy the generated starter code.
Headless
const result = await client.run("video-to-text", {
file,
options: { language: "auto", quality: "standard", format: "txt" }
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "video-to-text", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.