magpai-app / cog-ffmpeg

  • Public
  • 421 runs

Run magpai-app/cog-ffmpeg with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
file1
string
File 1 to process
file2
string
File 2 to process
file3
string
File 3 to process
file4
string
File 4 to process
output1
string
File name for output 1
output2
string
File name for output 2
command
string
ffmpeg -version
FFMPEG Command

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output",
  "required": [
    "files"
  ],
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "title": "Files"
    }
  }
}