{"uid":"cap_Kri2qsI7KKXNjpimqu82C","slug":"relaystation-video-to-animated-gif-converter-a7f646af","name":"Relaystation Video-to-Animated-GIF Converter","description":"$0.0005/MB. Turn a video segment into a palette-optimized animated GIF — share-ready loops. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/media/gif","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"fps":{"type":"integer","minimum":1},"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key ≤ 50 MB> }. The input container must sniff (ffprobe) to the live allowlist (operator-tunable cputools.media.input_formats): 3g2, 3gp, aac, asf, avi, flac, flv, gif, m4a, m4v, matroska, mj2, mov, mov,mp4,m4a,3gp,3g2,mj2, mp3, mp4, mpeg, mpegts, mpegvideo, ogg, wav, webm, wmv. An off-list input is a free 422 UNSUPPORTED_FORMAT."},"start":{"type":"number","minimum":0},"width":{"type":"integer","minimum":16},"duration":{"type":"number","minimum":0.1}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SZsuA5ljAxU2l055JeGTa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a video segment into a palette-optimized animated GIF suitable for sharing and looping","exampleAgentPrompt":"Take the clip from my video between 0:05 and 0:12 and convert it into a palette-optimized animated GIF I can share — keep the loop smooth and the colors tight.","exampleUseCases":[{"title":"Reaction GIF from video clip","prompt":"I have a short MP4 clip of my friend's reaction at second 3 through second 7 — can you turn that segment into a looping animated GIF I can share in chats?"},{"title":"Product demo loop for social media","prompt":"Convert the first 6 seconds of this product demo video into a palette-optimized animated GIF for embedding in our social posts — make it loop cleanly."},{"title":"Sports highlight GIF","prompt":"Grab the 4-second highlight moment from my match recording starting at 1:22 and turn it into a shareable animated GIF with smooth looping."}],"resultDescription":"A palette-optimized animated GIF file derived from the specified video segment, returned as binary image data or a URL to the output file, ready for embedding or sharing as a looping animation.","failureModes":["Unsupported video format or codec — returns error indicating incompatible input","Video segment out of bounds (start/end time exceeds video duration) — returns validation error","Input file too large for the per-MB pricing tier without sufficient credit — returns payment or credit error","Corrupt or inaccessible video source URL — returns fetch or parsing error","Extremely long or high-resolution segments may time out or produce oversized GIF output"],"whenToPreferThis":"Choose this endpoint when you need to convert a specific video segment into a palette-optimized animated GIF for web sharing, social media, or embedding — particularly when you want cost-effective per-MB pricing with automatic credit handling via x402. Prefer this over general video transcoding APIs when the output must be a GIF loop rather than a video container format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T03:45:44.705Z","isFirstParty":false}