v1

latestOpenAPI 3.1.02026-07-2670105729.6 KB
Content

Generate a GIF

Produces a looping animated GIF (5-second source clip), routed by the from discriminator: prompt generates an on-brand still then animates it, image animates a source image (both via the AI gif workflow), and video converts a source MP4. Aspect ratio is one of 16:9, 9:16, 1:1. Returns CDN-hosted gifUrl (plus videoUrl and motion metadata for the AI sources). Credit-metered (fixed cost: prompt 20, image 10, video 10).

post/v1/content/gif

Headers

Idempotency-Keystring

Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.

Request body

OR
OR

Response

The operation result.

gifUrlstring uri required
videoUrlstring uri
generatedImageUrlstring uri
altTextstring
durationnumber
fpsnumber
aspectRatiostring
loopboolean