Re-encode a single video or audio file
Convert one video or audio file to another format. For images, use POST /api/convert (batch) or POST /api/media/transform (with crop/resize).
Authorizations
Dashboard-generated Convertly API key. Keys currently begin with cvly_.
Body
Re-encodes a single video or audio file. For image conversion, use /api/convert (batch) or /api/media/transform (single image with crop/resize).
Video: mp4, webm, mov. Audio: mp3, m4a, wav, ogg, flac.
mp4, webm, mov, mp3, m4a, wav, ogg, flac Multipart upload input.
Remote HTTP(S) file input. Use instead of file for single-file tools.
Set true to queue the media tool as a background job.
true, false Alias for async=true.
true, false 1 <= x <= 100Video only. Output resolution preset.
original, website, email, instagram, linkedin, ecommerce, square, width, height Used when resize=width or square.
x >= 1Used when resize=height.
x >= 1Response
Generated file or queued media tool job
- Option 1
- Option 2