---
title: Generate GIF from Video Job API
slug: generate-gif-from-video
url: https://apyhub.com/apyhub/service/generate-gif-from-video
provider: ApyHub
categories: [File Conversion, File Manipulation]
tags: [video-conversion, gif-generation, media-processing, async-jobs, video-to-gif]
auth: api_key
---

# Generate GIF from Video Job API

Convert a video URL or file into a GIF job and poll for a download URL. Adjust size, speed, duration, and start time for the clip you need.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/job/generate/gif/url` | What it does Submits a video-to-GIF conversion job using a source video URL and returns a job ident… | 400 |
| POST | `/job/generate/gif/file` | What it does Submits a video file to start an async job that generates a GIF from the uploaded vide… | 400 |
| GET | `/job/generate/gif/status/:job_id` | What it does Checks the status of a GIF conversion job by job ID and returns the job’s current stat… | 5 |

## About

## What it does
Video to GIF Converter turns a video into an animated GIF job you can poll for completion. Send either a public `video_url` or a multipart `video` file, then optionally set `size`, `speed`, `duration`, and `start_time` to control the clip you want to extract.

The submission endpoints return a `job_id` immediately, so you can track the conversion asynchronously with `GET /jobs/:job_id`. When the job finishes successfully, the status response includes a `url` pointing to the generated GIF. While the job is `pending`, or if it `failed`, the response also includes a human-readable `message`.

Use Video to GIF Converter when you need a short preview from a longer clip, a looping animation for product pages, or a lightweight asset for chats and docs. `duration` is capped at 20 seconds, `speed` accepts values from -10 to 10 for slow motion or fast forward, and `size` expects a WIDTHxHEIGHT value such as `320x240`.

This flow is straightforward for backend automation: submit the source video, store the returned `job_id`, and fetch the output GIF URL once processing completes.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/generate-gif-from-video
