convert_file
Universal File Converter — Convert a file between formats: image↔image (jpg/png/webp/bmp/tiff/gif/avif/ico, plus heic/svg/psd as inputs), audio↔audio (mp3/wav/ogg/opus/flac/aac/m4a/wma/aiff, plus alac=Apple Lossless delivered as .m4a), video↔video/GIF (Business gate on some edges) plus legacy flv/wmv/3gp/mpg/vob/ts/m2ts → mp4, extract audio from video (mp4/mov/mkv/webm/avi → mp3/wav/aac/m4a/ogg/flac/opus/aiff/alac), subtitles (srt↔vtt, and srt/vtt→txt), DOC/DOCX/TXT→PDF, image→PDF, comic archive CBZ→PDF. Office/document conversions (xlsx, pptx, csv→xlsx, epub, html) live in convert_document; archives in convert_archive; data formats in convert_data. [category: convert]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The format you want back. Apple Lossless (alac) is delivered as a .m4a file. | |
| file | Yes | The file to convert. We read its current format from the file itself, so you only need to say what you want back. | |
| from | No | Leave blank and we read the format from the file itself. Only set it if the file has no name or an odd one. | |
| gif_fps | No | Frames per second. Higher is smoother and bigger. If the width and frame rate together are too heavy we keep the width and ease this down. | |
| gif_width | No | How wide the GIF should be, in pixels. Height follows automatically. Very wide plus very smooth is capped - we keep the width you asked for and ease the frame rate down. |