pictify_create_gif
Create animated GIFs from HTML content with CSS animations, webpage URLs, or saved templates for banners, demos, logos, and social media content.
Instructions
Create an animated GIF from HTML content with CSS animations, a URL, or a template. The HTML must contain CSS @keyframes animations, transitions, or JavaScript animations to produce frames. Common use cases: animated banners, loading spinners, product demos, social media animations, animated logos, and eye-catching ad creatives. Provide ONE of: 'html' (custom animated HTML/CSS), 'url' (capture from webpage), or 'template' + 'variables' (render a saved template). For recording a GIF from a live website over a specified duration, use pictify_capture_gif instead. Returns the hosted GIF URL and animation duration. Maximum dimensions: 2000x2000 pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML content with CSS animations to render as an animated GIF. Must include CSS @keyframes or transitions for animation. Mutually exclusive with 'url' and 'template'. | |
| url | No | URL of a web page to capture as a GIF. Mutually exclusive with 'html' and 'template'. | |
| template | No | Template UID to render as a GIF. Use with 'variables'. Mutually exclusive with 'html' and 'url'. | |
| variables | No | Template variables as key-value pairs. Only used when 'template' is provided. | |
| width | No | GIF width in pixels (1-2000). Keep dimensions reasonable for file size. | |
| height | No | GIF height in pixels (1-2000) |