Cli-converter

•webcli

Cconvert is a file conversion service built using FastAPI that allows you to convert various file formats using 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, 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-fbx

This 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
}

Download converted files using curl:

curl -O -J https://cc.gdc.re/download/c21a3c0e-ad86-412c-bbe5-c93726a1598b/0

Endpoints

Supported formats:

ffmpeg:

assimp:

inkscape:

imagemagick:

vips:

pandoc:

xelatex:

ghostscript:

Demo (opens in a new tab)