gifgrep
gifgrep
Search for GIFs from GIPHY and Tenor APIs, download them, and extract still frames or contact sheets.
Setup
Get API keys:
Configure environment:
export GIPHY_API_KEY="your-giphy-key"
export TENOR_API_KEY="your-tenor-key" # Optional, uses demo key if unset
Usage
Search GIPHY
Search for GIFs on GIPHY:
curl "https://api.giphy.com/v1/gifs/search?api_key=${GIPHY_API_KEY}&q=hello&limit=5" | jq '.data[].images.original.url'
Search Tenor
Search for GIFs on Tenor:
curl "https://tenor.googleapis.com/v2/search?key=${TENOR_API_KEY}&q=hello&limit=5" | jq '.results[].media_formats.gif.url'
Download a GIF
Download a GIF from URL:
curl -O "https://media.giphy.com/media/xxx/giphy.gif"
Extract Still Frame
Extract a single frame from a GIF:
ffmpeg -i animation.gif -vf "select=eq(n\,0)" -vsync vfr still.png
Extract Frame at Time
Extract a frame at a specific time:
ffmpeg -i animation.gif -ss 1.5 -frames:v 1 still.png
Create Contact Sheet
Create a grid showing multiple frames:
ffmpeg -i animation.gif -vf "fps=5,scale=100:-1,tile=3x3" sheet.png
Tips
- Use
--limitto control number of results - Filter by rating:
&rating=gfor general audience - Use
trendingendpoints for popular content - Cache downloaded GIFs to avoid repeated API calls
More from winsorllc/upgraded-carnival
vector-memory
Vector-based semantic memory using embeddings for intelligent recall. Store and search memories by meaning rather than keywords. Use when you need semantic search, similar document retrieval, or context-aware memory.
131model-router
Route requests between different LLM providers and models. Configure routing rules, fallback providers, and model-specific parameters inspired by ZeroClaw and OpenClaw model routing systems.
63rss-monitor
Monitor RSS/Atom feeds and blogs for new content using feedparser.
59rss-reader
Read and parse RSS/Atom feeds. Use when: user wants to subscribe to feeds, get latest articles, or monitor news sources.
54video-frames
Production-grade video frame extraction with thumbnail grids, GIF creation, and batch frame processing. Includes intelligent quality presets, progress tracking, and comprehensive error handling.
39elevenlabs-tts
Convert text to speech using ElevenLabs API. Use when you need to generate voice audio for messages, narrations, or accessibility.
25