Video Converter

Video Converter

Playground

Try it on WavespeedAI!

AI Video Converter converts videos between formats. Upload a video and specify the target format to get a converted result. Ready-to-use REST inference API, no coldstarts, affordable pricing.

Features

Video Converter

Video Converter converts any video file into your preferred format instantly. Upload a clip and choose an output format — MP4, WebM, AVI, MOV, MKV, or GIF — and get a converted file ready to download in seconds.


How to Use

  1. Upload your video — provide the source file via URL or drag-and-drop.
  2. Select output format — choose from mp4, webm, avi, mov, mkv, or gif.
  3. Submit — download your converted video.

Pricing

$0.001 per second of input video.


Supported Output Formats

FormatBest For
mp4Universal playback, web delivery, and social media
webmModern web video with efficient compression
aviLegacy Windows workflows and broad compatibility
movApple ecosystem, Final Cut Pro, and professional editing
mkvHigh-quality archival with multiple audio and subtitle tracks
gifShort looping animations for web and social media

Notes

  • Both video and output_format are required fields.
  • Pricing is based on the duration of the input video at $0.001 per second.
  • Ensure video URLs are publicly accessible if using a link rather than a direct upload.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/video-converter" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
videostringYes-The URL of the input video.
output_formatstringYes-mp4, webm, avi, mov, mkv, gifThe target format to convert the video to (mp4, webm, avi, mov, mkv, gif).

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content (empty when status is not completed).
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.