pollinations / toolkit

  • Public
  • 449 runs

Run pollinations/toolkit 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
task
string (enum)

Options:

convert_input_to_mp4, convert_input_to_gif, extract_video_audio_as_mp3, zipped_frames_to_mp4, zipped_frames_to_gif, extract_frames_from_input, reverse_video, bounce_video, concatenate_video

Task to perform
input_file
string
File – zip, image or video to process
input_file2
string
Second file – zip, image or video to process
fps
integer
0
frames per second, if relevant. Use 0 to keep original fps (or use default). Converting to GIF defaults to 12fps

Output schema

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

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}