For AI agents: every API docs page in one plain-text file is at /docs/llms-full.txt, and the documentation index is at /llms.txt. This page is available as Markdown at https://diffio.ai/docs/overview/capabilities/video-support.md, and every docs URL returns Markdown when requested with Accept: text/markdown.

Video support: restore audio in MP4, MOV, WebM and more
Diffio restores the soundtrack of a video and returns an MP4 with the original picture and the restored audio.
Watch a restored soundtrack
Watch a restored soundtrack
Real noisy videos, restored November 3, 2026 with Diffio 4.7. Switch soundtracks while the picture plays.
Fish hatchery, Colorado
Press play, then switch between Original, 4.7 Flash and 4.7 Pro. The picture and your place stay the same.
Read what's said
“As the filter panels clog up in the center of the filter panel, the water rises up. As the filter clogs, eventually it kicks on a float switch to where then it rotates the drum while spraying off the panels.”
Source: A staff member explaining the filtration building at Leadville National Fish Hatchery, July 2010. Video by Stephanie Raine, USFWS, public domain.
Source & method
Restored November 3, 2026 with Diffio 4.7 Flash and Diffio 4.7 Pro; the Flash soundtrack is the same excerpt from our speech enhancer test. Every version plays at matched loudness. Source and license.
More footage, and how it works for removing background noise from video and fixing Zoom recordings.
Video workflow
- Upload a videoMP4, MOV, WebM and more, with an audio track
- Restore the soundtrackthe picture is left untouched
- Download the MP4original picture, restored audio
Each step in detail
- Upload a supported video container with an audio track. Diffio detects video inputs from metadata and file type, then prepares the audio for restoration.
- Diffio restores the audio track and creates preview assets so the result can be reviewed in the project workspace.
- Paid plans can download a video output with restored audio when the restored video artifact is ready. The download is an MP4 file with the original picture.
Supported containers and limits
- MP4
- MOV
- WebM
- AVI
- MKV
- 3GP
- 3G2
- File size
- Up to 2 GB
- Length
- No length limit in the API
- Metering
- Source duration, 60 s minimum
Diffio restores audio from video uploads. It does not upscale, denoise, color grade, or repair video frames.
Extensions, media types and limits in detail
The app and the API support MP4, MOV, WebM, AVI, MKV, 3GP and 3G2 video containers when they include an audio track and are detected as video.
| Container | File extensions | Media type |
|---|---|---|
| MP4 | .mp4 | video/mp4 |
| MOV | .mov | video/quicktime |
| WebM | .webm | video/webm |
| AVI | .avi | video/x-msvideo |
| MKV | .mkv | video/x-matroska |
| 3GP | .3gp.3gpp | video/3gpp |
| 3G2 | .3g2 | video/3gpp2 |
- File size: up to 2 GB (2,147,483,648 bytes) per file, the same limit as audio uploads.
- Length: the API enforces no duration limit on video uploads.
- API usage is metered on the source video's duration, rounded up to whole seconds, with a 60 second minimum per generation.
API downloads
For a completed video project, get a playback grant returns signed URLs in files, and get transcript returns the normalized word-timed transcript:
files.videoMP4 with the original picture and restored audiofiles.audioThe restored MP3 soundtrack on its owntranscriptWord-timed JSON fromGET .../transcript(or rawfiles.transcript)
- URLs in
filesneed noAuthorizationheader and expire after 6 hours (expires_at); append?download=interview.mp4to set a file name GET .../mediareturns200even whilestatusisprocessing, naming only files that exist so far; poll get a generation untilcompletefirst
Readiness and playback rules
- Poll get a generation until overall
statusiscompletebefore downloadingfiles.video. - Audio-only projects (
has_video: false) never includefiles.videoorfiles.video_hls. - For adaptive streaming,
files.hls_mastercarries the picture (files.video_hls) with the restored and original audio oncevideo_preview_statuson the project isready. - Preview grants (
?preview_seconds=N) omit full downloads includingvideo,audio,audio_mixedandtranscript.
- Request
GET /v2/projects/{project_id}/generations/{generation_id}/mediaAuthorization: Bearer - Response
files.video · files.audiostatus: "complete" · expires_at
Download the restored MP4 in Python, Node.js or cURL
from diffio import DiffioClient
client = DiffioClient()
path = client.generations.download(
project_id,
generation_id,
file="video",
path="interview-restored.mp4",
)
print(path)Video support questions
Does Diffio change the picture?
No. Diffio restores the soundtrack and attaches it to the original picture. It does not upscale, denoise, color grade or repair video frames.
Can I download only the restored audio from a video project?
Yes. Call get a playback grant and fetch files.audio for the restored MP3 soundtrack, files.video for the MP4 with the original picture, or call get transcript for the word-timed transcript.
How is a video generation billed through the API?
Like audio: on the source video's duration, rounded up to the next whole second, with a 60 second minimum per generation. Billing has the details and API pricing the current rates.
Which video files can I upload?
MP4, MOV, WebM, AVI, MKV, 3GP and 3G2 files with an audio track, up to 2 GB each, with no length limit through the API. A video without an audio track has nothing to restore.