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

# Generate GIF from Video API

Convert uploaded videos or public video URLs into GIFs. Control start time, duration, speed, and output size, then download a file or signed link.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `generate/gif/file` | What it does Converts an uploaded video file into a GIF and returns the generated file as a binary… | 550 |
| POST | `generate/gif/file/url` | What it does Uploads a video file and generates a GIF from it, returning a time-limited signed down… | 550 |
| POST | `generate/gif/url/fil` | What it does Generates a GIF from a publicly accessible remote video URL and returns the result as… | 550 |
| POST | `generate/gif/url` | What it does Generates a GIF from a publicly accessible remote video URL and returns a signed downl… | 550 |

## About

## What it does
GIF Generator turns a video into a GIF. Send either an uploaded video file or a public video URL, and choose the clip start time, duration, playback speed, and output size.

Use the file upload endpoints when your source is local, or the URL endpoints when the video is already hosted elsewhere. The request schemas accept a `video` binary upload or a `video_url`, plus optional `size`, `speed`, `duration`, and `start_time` values. `size` controls the output dimensions, `duration` limits the clip to 20 seconds, and `speed` lets you make the clip faster or slower.

The response depends on the endpoint you call. The download variants stream the GIF back as a binary file. The link variants return a JSON object with a `data` field containing a time-limited signed URL for the generated GIF.

Use GIF Generator for product demos, short social previews, support snippets, or any workflow that needs a lightweight animated clip from a longer video.

## Usage

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