{"slug":"rengi-dev-v1-media-tools-video-to-gif-74a40e","title":"Media tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/media-tools/video-to-gif","category":"image","description":"Media tools: Video to a good-looking GIF or animated WebP: a palette built from the clip itself, your choice of part, frame rate and width, and an optional size cap the tool hits by itself (for Discord, GitHub READMEs, Slack). Full schema: https://rengi.dev/v1/media-tools/schema","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":892,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"duration":2,"fps":10,"start":0.5,"videoUrl":"https://rengi.dev/samples/clip.mp4","width":240},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"colors":{"default":128,"description":"GIF palette size. Fewer colours, smaller file.","maximum":256,"minimum":8,"type":"integer"},"duration":{"description":"How many seconds to keep. To the end when omitted.","maximum":36000,"minimum":0.1,"type":"number"},"format":{"default":"gif","description":"gif plays everywhere; animated webp is about half the size with full colour.","enum":["gif","webp"],"type":"string"},"fps":{"default":12,"maximum":30,"minimum":2,"type":"integer"},"loop":{"default":true,"type":"boolean"},"maxBytes":{"description":"Keep the file under this size: the tool lowers frame rate and width until it fits (Discord wants 10 MB, GitHub 10 MB, Slack 2 MB for inline play).","maximum":50000000,"minimum":50000,"type":"integer"},"start":{"default":0,"description":"Where to start, in seconds.","maximum":36000,"minimum":0,"type":"number"},"video":{"description":"Video file as base64 (MP4, MOV, WebM, MKV, AVI or GIF).","type":"string"},"videoUrl":{"description":"Link to the video.","format":"uri","type":"string"},"width":{"default":480,"description":"Output width; height follows the aspect ratio. Never upscales.","maximum":960,"minimum":32,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"bytes":{"type":"number"},"duration":{"type":"number"},"file":{"type":"string"},"format":{"type":"string"},"fps":{"type":"number"},"frames":{"type":"number"},"height":{"type":"number"},"notes":{"items":{"type":"string"},"type":"array"},"originalBytes":{"type":"number"},"width":{"type":"number"}},"required":["file","format","width","height","fps","frames","duration","bytes","originalBytes","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":898,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":880,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":900,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":878,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":886,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":915,"error":null}],"description_full":"Media tools: Video to a good-looking GIF or animated WebP: a palette built from the clip itself, your choice of part, frame rate and width, and an optional size cap the tool hits by itself (for Discord, GitHub READMEs, Slack). Full schema: https://rengi.dev/v1/media-tools/schema","last_updated":"2026-11-21T15:12:22.791Z","schemes":["exact"]}