Convert Media Tool
convert_mediaConvert an already-uploaded file (a video hashid from create_upload or
list_videos) to another format (to): a video container (mp4, webm, mov, mkv), an
animated gif, or audio (mp3, aac, wav, flac). This is FREE and only needs an
account, no subscription.
To use a local file: call create_upload, PUT the bytes to the returned upload_url,
then pass that video id here as file. Do NOT call complete_upload (that starts
the paid clip pipeline); this free tool reads the uploaded file directly.
For to: gif you may set fps (default 12) and width (default 480).
Processing is ASYNCHRONOUS: this returns a tool_job hashid and status: "queued".
Poll get_tool_job_status with that tool_job until it reports completed, then it
returns the downloadable output URL. Free usage is rate-limited per day with per-file
size and duration caps; a clear error explains how to lift a limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format: mp4, webm, mov, mkv, gif, mp3, aac, wav or flac. | |
| fps | No | gif only: frames per second (default 12). | |
| file | Yes | The uploaded video id (hashid) from create_upload (no complete_upload needed) or list_videos. | |
| width | No | gif only: output width in pixels (default 480). |