{"uid":"cap_pajxBFSO0iwE4718M6357","slug":"zero-gif-zeroclick-vercel-app-video-clip-to-gif-renderer-two-pass-3850ac73","name":"Video Clip to GIF Renderer (Two-Pass Palette)","description":"Render a [start_seconds, end_seconds] range of a video URL as a gif (two-pass palette). Body: { video_url, start_seconds, end_seconds, width?: 360 (max 720), fps?: 12 (max 30) }. Returns { gif_url, start, end, duration, size_bytes }. REQUIRED: video_url must be a direct .mp4/.webm/.mov/.mkv URL — YouTube/Vimeo/Reddit/X page URLs and HLS .m3u8 streams do NOT work. RECOMMENDED: keep clips 1-5 seconds and aim for ≤ 10 MB output. Size scales with width × fps × duration. SIZE CHEATSHEET (5s clip): live-action @ 360/12 ≈ 6 MB; live-action @ 480/15 ≈ 14 MB; b/w cartoon or line-art @ 360/12 ≈ 22 MB (cartoons compress poorly — drop to 240/10 to land near 10 MB). LIMITS: source ≤ 10 min / 500 MB; output clip ≤ 30 s. Use /v1/probe (free) first to confirm the source loads.","url":"https://zero-gif-zeroclick.vercel.app/v1/clip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object"},"responseSchema":{"type":"object"},"example":{"request":{"fps":12,"width":360,"video_url":"https://www.w3schools.com/html/mov_bbb.mp4","end_seconds":5,"start_seconds":0},"response":{"end":5,"start":0,"gif_url":"https://mfyftk0xv0xpps3y.public.blob.vercel-storage.com/gifs/1780094427575-4kKI8oQ8Hmj4rfiMs9cZtnqEhHMDUV.gif","duration":5,"size_bytes":2976252}},"exampleRequest":{"fps":12,"width":360,"video_url":"https://www.w3schools.com/html/mov_bbb.mp4","end_seconds":5,"start_seconds":0},"tags":[],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":2,"rating":{"score":"1.00","successRate":"0.76","reviews":2,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":208,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VLlBClcDYkuMsowDPaXY8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"zero-gif-zeroclick.vercel.app","brandSlug":"zero-gif-zeroclick-vercel-app-x402","brandBaseUrl":"https://zero-gif-zeroclick.vercel.app","brandDocsUrl":null,"whatItDoes":"Converts a time-range of a direct video URL into a high-quality animated GIF using two-pass palette encoding, returning a hosted GIF URL with metadata.","exampleAgentPrompt":"Turn seconds 4 to 9 of this direct mp4 URL (https://example.com/clip.mp4) into an animated GIF at 360px wide and 12fps — I want a smooth, palette-optimized loop I can share.","exampleUseCases":null,"resultDescription":"Returns a JSON object with gif_url (hosted link to the rendered GIF), start and end timestamps, duration in seconds, and size_bytes of the output file.","failureModes":["Non-direct video URLs (YouTube, Vimeo, Reddit, X, HLS .m3u8) are rejected — only direct .mp4/.webm/.mov/.mkv URLs work","Source video exceeds 10 minutes or 500 MB — request fails","Output clip exceeds 30 seconds — request rejected","Output GIF exceeds recommended ~10 MB (especially for cartoons/line-art at high width/fps) — may result in very large files or failure","Source URL is inaccessible or returns an error — recommend using /v1/probe first to validate","Invalid or missing required fields (video_url, start_seconds, end_seconds) — 4xx error"],"whenToPreferThis":"Use this endpoint when you have a direct downloadable video URL (.mp4, .webm, .mov, .mkv) and need to render a specific time range as a shareable animated GIF with optimized color palette. Prefer this over generic ffmpeg wrappers when you need a hosted output URL and two-pass palette quality. Not suitable for streaming URLs, social media page URLs, or clips longer than 30 seconds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1196,"lastUsedAt":"2026-10-20T16:02:31.855Z","lastSuccessfullyRanAt":"2026-10-20T16:02:31.855Z","lastHealthCheckAt":"2026-10-23T11:21:06.081Z","isFirstParty":false,"canonicalSlug":"zero-gif-zeroclick-vercel-app-video-clip-to-gif-renderer-two-pass-3850ac73"}