{"components":{"responses":{"BadRequest":{"description":"Invalid input"},"RateLimited":{"description":"Per-minute or daily tool quota exceeded"},"Unauthorized":{"description":"Missing or invalid tools-scoped API key"}},"securitySchemes":{"ToolsApiKey":{"in":"header","name":"X-API-Key","type":"apiKey"}}},"info":{"description":"Versioned execution API for GIFDB GIF, sticker, video, and AI tools.","title":"GIFDB Tools API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/face-swap":{"post":{"description":"Submit a consent-gated asynchronous face swap job.","operationId":"face_swap","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"consent":{"description":"Confirm that you have permission to use the uploaded face.","type":"boolean"},"face":{"format":"binary","type":"string"},"target":{"format":"binary","type":"string"}},"required":["face","target","consent"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Face Swap"}},"/facebook-downloader":{"post":{"description":"Resolve download formats for a public Facebook URL.","operationId":"facebook_downloader","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Facebook Downloader"}},"/gif-caption":{"post":{"description":"Burn top and bottom meme text into a GIF.","operationId":"gif_caption","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"bottom":{"maxLength":120,"type":"string"},"file":{"format":"binary","type":"string"},"top":{"maxLength":120,"type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Caption / Meme Maker"}},"/gif-combiner":{"post":{"description":"Combine two to ten GIFs in upload order.","operationId":"gif_combiner","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"files[]":{"items":{"format":"binary","type":"string"},"maxItems":10,"minItems":2,"type":"array"}},"required":["files[]"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Combiner"}},"/gif-compressor":{"post":{"description":"Reduce GIF size with palette-based encoding.","operationId":"gif_compressor","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"colors":{"default":128,"maximum":256,"minimum":8,"type":"integer"},"file":{"format":"binary","type":"string"},"width":{"maximum":2000,"minimum":1,"type":"integer"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Compressor"}},"/gif-frame-splitter":{"post":{"description":"Extract GIF frames as PNG files in a ZIP archive.","operationId":"gif_frame_splitter","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Frame Splitter"}},"/gif-maker":{"post":{"description":"Create a GIF from an uploaded video clip.","operationId":"gif_maker","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"duration":{"default":5,"maximum":30,"minimum":0.1,"type":"number"},"file":{"format":"binary","type":"string"},"fps":{"default":12,"maximum":30,"minimum":5,"type":"integer"},"speed":{"default":1,"enum":[0.5,1,1.5,2],"type":"number"},"start":{"default":0,"maximum":600,"minimum":0,"type":"number"},"text":{"type":"string"},"width":{"default":480,"maximum":800,"minimum":100,"type":"integer"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Maker"}},"/gif-resizer":{"post":{"description":"Resize a GIF while preserving animation.","operationId":"gif_resizer","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"},"height":{"maximum":2000,"minimum":1,"type":"integer"},"width":{"maximum":2000,"minimum":1,"type":"integer"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Resizer"}},"/gif-reverse":{"post":{"description":"Reverse the frame order of an animated GIF.","operationId":"gif_reverse","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Reverser"}},"/gif-speed":{"post":{"description":"Speed up or slow down an animated GIF.","operationId":"gif_speed","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"factor":{"default":1,"enum":[0.25,0.5,0.75,1,1.5,2,3,4],"type":"number"},"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF Speed Changer"}},"/gif-to-mp4":{"post":{"description":"Convert an animated GIF to H.264 MP4.","operationId":"gif_to_mp4","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF to MP4"}},"/gif-to-sticker":{"post":{"description":"Convert a GIF to a 512x512 animated WebP sticker.","operationId":"gif_to_sticker","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"GIF to Sticker"}},"/image-to-sticker":{"post":{"description":"Convert a still image to a 512x512 PNG sticker.","operationId":"image_to_sticker","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Image to Sticker"}},"/images-to-gif":{"post":{"description":"Create an animated GIF slideshow from two to thirty images.","operationId":"images_to_gif","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"duration":{"default":1,"maximum":5,"minimum":0.1,"type":"number"},"files[]":{"items":{"format":"binary","type":"string"},"maxItems":30,"minItems":2,"type":"array"},"width":{"default":480,"maximum":1200,"minimum":100,"type":"integer"}},"required":["files[]"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Images to GIF"}},"/instagram-downloader":{"post":{"description":"Resolve download formats for a public Instagram URL.","operationId":"instagram_downloader","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Instagram Downloader"}},"/mp4-to-gif":{"post":{"description":"Convert an MP4, WebM, MOV, AVI, or MKV clip to GIF.","operationId":"mp4_to_gif","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"duration":{"default":5,"maximum":30,"minimum":0.1,"type":"number"},"file":{"format":"binary","type":"string"},"fps":{"default":12,"maximum":30,"minimum":5,"type":"integer"},"speed":{"default":1,"enum":[0.5,1,1.5,2],"type":"number"},"start":{"default":0,"maximum":600,"minimum":0,"type":"number"},"width":{"default":480,"maximum":800,"minimum":100,"type":"integer"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"MP4 to GIF"}},"/reddit-downloader":{"post":{"description":"Resolve download formats for a public Reddit URL.","operationId":"reddit_downloader","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Reddit Downloader"}},"/telegram-sticker-pack":{"get":{"description":"Return the official GIFDB guide for preparing and publishing a Telegram sticker pack.","operationId":"telegram_sticker_pack","responses":{"200":{"description":"Guide metadata"}},"summary":"Telegram Sticker Pack"}},"/tiktok-downloader":{"post":{"description":"Resolve download formats for a public TikTok URL.","operationId":"tiktok_downloader","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"TikTok Downloader"}},"/twitter-downloader":{"post":{"description":"Resolve download formats for a public Twitter or X URL.","operationId":"twitter_downloader","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Twitter / X Downloader"}},"/vimeo-to-gif":{"post":{"description":"Resolve download formats for a public Vimeo URL before GIF conversion.","operationId":"vimeo_to_gif","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"Vimeo to GIF"}},"/whatsapp-sticker-pack":{"post":{"description":"Bundle three to thirty WebP stickers into a WhatsApp pack.","operationId":"whatsapp_sticker_pack","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"files[]":{"items":{"format":"binary","type":"string"},"maxItems":30,"minItems":3,"type":"array"},"name":{"default":"GIFDB Sticker Pack","maxLength":128,"type":"string"},"publisher":{"default":"GIFDB","maxLength":128,"type":"string"},"tray":{"format":"binary","type":"string"}},"required":["files[]"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"WhatsApp Sticker Pack"}},"/youtube-to-gif":{"post":{"description":"Resolve download formats for a public YouTube URL before GIF conversion.","operationId":"youtube_to_gif","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Tool result (binary file or JSON metadata)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"security":[{"ToolsApiKey":[]}],"summary":"YouTube to GIF"}}},"servers":[{"url":"https://gifdb.com/api/v1/tools"}]}
