pipeline-examples/video-to-gif

Turn a video into a GIF with removed background

Public
24 runs

Run pipeline-examples/video-to-gif 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
video_path
string
None
center_crop
boolean
False
None
start_seconds
number
0
None
end_seconds
number
None
max_width
integer
None
max_height
integer
None
fps
integer
15
None
boomerang
boolean
False
None

Output schema

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

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/3BZTZLgl3rbvMZ0JoRoOMRfVQKerTeDlMBV9Y8nfUZejYbfSF/output.gif'