Generate a GIF
Produces a looping animated GIF, routed by the from discriminator: prompt generates from a text prompt, image animates a source image (both via the AI gif workflow), and video converts a source MP4. Returns CDN-hosted gifUrl (plus videoUrl and motion metadata for the AI sources). Credit-metered (fixed cost: prompt 15, image 10, video 10).
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
1 - 100Body
A from discriminator: { from:"prompt", prompt, … }, { from:"image", imageUrl, … }, or { from:"video", videoUrl, … }.
- Option 1
- Option 2
- Option 3