{"uid":"cap_BtdyzY9tZaCH0OQJx5MOh","slug":"halowerk-video-to-gif-webp-converter-6734f4ef","name":"HALOWERK Video-to-GIF/WebP Converter","description":"Takes a video (up to 24 MB) and returns the part from start_seconds, up to 15 seconds long, as an animated GIF built with a palette computed for exactly this clip (much cleaner gradients than the default palette), or as animated WebP, which is smaller and true-colour but not supported everywhere. Width, frame rate and looping are selectable. Output inline as base64, max 12 MB; if the GIF would be larger, lower width or frame rate is suggested. Runs locally with ffmpeg. Fixed price per call.","url":"https://medien.halowerk.com/v1/video-gif?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fps":{"type":"integer","default":12,"maximum":25,"minimum":2},"loop":{"type":"boolean","default":true},"width":{"type":"integer","default":360,"maximum":800,"minimum":64},"format":{"enum":["gif","webp"],"type":"string","default":"gif"},"source":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"filename":{"type":"string","maxLength":260},"content_base64":{"type":"string","maxLength":12000000}},"additionalProperties":false},"start_seconds":{"type":"number","default":0,"maximum":36000,"minimum":0},"length_seconds":{"type":"number","default":4,"maximum":15,"minimum":0.5}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kdj6_qJyyuRdtCMENyBK7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a clip from a video file into an animated GIF or WebP using a custom-computed palette for high-quality output, with configurable width, frame rate, start time, duration, and looping.","exampleAgentPrompt":"Take the video at https://example.com/myclip.mp4, start at 10 seconds in, grab 6 seconds of it, and convert it to an animated GIF at 360 pixels wide and 12 fps with looping enabled.","exampleUseCases":[{"title":"Social media reaction GIF from video","prompt":"I have a funny moment in this video at https://cdn.example.com/blooper.mp4 starting at 42 seconds — can you turn the next 5 seconds into a looping GIF at 480 pixels wide and 15 fps so I can share it online?"},{"title":"Lightweight WebP preview for a product demo","prompt":"Convert the first 8 seconds of this product demo video at https://assets.myshop.com/demo.mp4 into an animated WebP at 320 pixels wide, 10 fps, with looping on — I need it small for a landing page."},{"title":"Animated thumbnail from a tutorial video","prompt":"Extract a 4-second loop starting at 1 minute 30 seconds from https://media.example.com/tutorial.mp4, make it a GIF at 240 pixels wide and 8 fps — I want a clean looping thumbnail for the course page."}],"resultDescription":"Returns the animated GIF or WebP as a base64-encoded string (up to 12 MB). The output uses a palette optimised specifically for the clip for cleaner gradients. If the resulting file would exceed 12 MB, the response suggests lowering the width or frame rate instead of returning the oversized file.","failureModes":["Video file exceeds 24 MB upload limit — request rejected","Output GIF exceeds 12 MB — endpoint returns a suggestion to reduce width or frame rate rather than the file","Unsupported video format or corrupted file — ffmpeg processing error","start_seconds beyond video duration — empty or error output","width outside 64–800 px or fps outside 2–25 — validation error","Payment not received or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a high-quality animated GIF or WebP from a specific segment of an existing video file, especially when palette quality matters (custom per-clip palette avoids banding). It is ideal for short social-media clips, looping previews, and animated thumbnails. Prefer the WebP format option when file size is critical and browser support is not a concern. Use this over generic conversion tools when you want ffmpeg-quality output with fine control over start time, duration, dimensions, and frame rate, and are comfortable paying a fixed per-call fee in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T12:06:25.218Z","isFirstParty":false,"canonicalSlug":"halowerk-video-to-gif-webp-converter-6734f4ef"}