Create animated GIFs from HTML animations or URL captures
| Method | Endpoint | Description |
|---|---|---|
POST | /gif | Create GIF from HTML with CSS animations |
GET | /gif | List GIFs |
GET | /gif/{uid} | Get GIF |
POST | /gif/capture | Capture GIF from a live URL |
| Preset | Frame Rate | Max Duration | Best For |
|---|---|---|---|
low | 10 fps | 10 seconds | Small file size, simple animations |
medium | 15 fps | 15 seconds | Balanced quality and size |
high | 24 fps | 30 seconds | Smooth animations, detailed content |
gif object. Higher quality settings produce larger files.| Parameter | Type | Default | Description |
|---|---|---|---|
width | integer | - | Output width (1-2000, required) |
height | integer | - | Output height (1-2000, required) |
quality | string | medium | Quality preset |
frameDurationSeconds | number | - | Animation duration to capture |
selector | string | - | CSS selector to capture specific element (URL capture only) |
waitForSelector | string | - | Wait for element before recording (URL capture only) |
API key obtained from the Pictify dashboard
GIF generated