Skip to content

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

Elapsed time 0:00 of 0:15

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

  1. Upload a videoMP4, MOV, WebM and more, with an audio track
  2. Restore the soundtrackthe picture is left untouched
  3. 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.

ContainerFile extensionsMedia type
MP4.mp4video/mp4
MOV.movvideo/quicktime
WebM.webmvideo/webm
AVI.avivideo/x-msvideo
MKV.mkvvideo/x-matroska
3GP.3gp.3gppvideo/3gpp
3G2.3g2video/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:

Video project
  • files.videoMP4 with the original picture and restored audio
  • files.audioThe restored MP3 soundtrack on its own
  • transcriptWord-timed JSON from GET .../transcript (or raw files.transcript)
  • URLs in files need no Authorization header and expire after 6 hours (expires_at); append ?download=interview.mp4 to set a file name
  • GET .../media returns 200 even while status is processing, naming only files that exist so far; poll get a generation until complete first
Readiness and playback rules
  • Poll get a generation until overall status is complete before downloading files.video.
  • Audio-only projects (has_video: false) never include files.video or files.video_hls.
  • For adaptive streaming, files.hls_master carries the picture (files.video_hls) with the restored and original audio once video_preview_status on the project is ready.
  • Preview grants (?preview_seconds=N) omit full downloads including video, audio, audio_mixed and transcript.
  1. RequestGET /v2/projects/{project_id}/generations/{generation_id}/mediaAuthorization: Bearer
  2. Responsefiles.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.

Report an issue with this page