Cli-converter
Cconvert is built using FastAP, file conversion service that allows you to convert various file formats using different tools like ffmpeg, assimp, inkscape, imagemagick, vips, pandoc, xelatex, and ghostscript. It's designed to be easy to use and supports a wide range of input and output formats.
To use cconvert, you can send a PUT request to the /{target_formats} endpoint with the file you want to convert. The target_formats parameter should be a hyphen-separated list of the desired output formats.
curl -X PUT -F "file=@teapot.obj" https:/cc.gdc.re/stl-fbxThis will convert the input file to both stl and fbx formats.
{"message":"Conversion completed","original_filename":"teapot.obj","download_links":[{"format":"stl","filename":"teapot.stl","url":"https://cc.gdc.re/download/c21a3c0e-ad86-412c-bbe5-c93726a1598b/0","expires_in":"300 seconds"},{"format":"fbx","filename":"teapot.fbx","url":"https://cc.gdc.re/download/c21a3c0e-ad86-412c-bbe5-c93726a1598b/1","expires_in":"300 seconds"}],"successful_conversions":["stl","fbx"],"skipped_formats":null}%Supported formats:
- ffmpeg: mp4, avi, mkv, mov, wmv, flv, webm, mpeg, m4v, 3gp, mp3, wav, aac, ogg, flac, m4a, wma
- assimp: obj, fbx, dae, 3ds, blend, x, md5mesh, lwo, stl
- inkscape: svg, ai, eps, pdf, wmf, emf
- imagemagick: jpg, jpeg, png, gif, bmp, tiff, webp, heic
- vips: jpg, jpeg, png, tiff, webp, heif, heic, avif
- pandoc: md, docx, doc, html, tex, rst, org, wiki
- xelatex: tex
- ghostscript: ps, eps, pdf