Skip to navigation

Media · Video · Convert a video to GIF

View as Markdown

Convert a source video into an animated GIF. Returns task_id; getTaskResult retrieves the output.

Authentication

AuthorizationApi-Key

Header authentication of the form Api-Key <token>

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
video_urlstringRequiredformat: "uri"
output_widthintegerOptional1-300Defaults to 200

Response

Resource or asynchronous submission result.
task_idstringOptional

Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.