
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
describe-cli
Advanced tools
A command-line tool that uses Google's Gemini AI to analyze and describe images, GIFs, and videos. Perfect for generating detailed descriptions of visual content, especially for tldraw-related media.
npm install -g describe-cli
git clone <repository-url>
cd describe-gif
npm install
npm run build
npm link
describe <file-path> [options]
# Analyze an image with API key from environment
export GOOGLE_API_KEY="your-api-key-here"
describe ./screenshot.png
# Analyze a GIF with inline API key
describe ./animation.gif --api-key=your-api-key-here
# Use a different model
describe ./video.mp4 --model=gemini-1.5-pro --api-key=your-api-key-here
--api-key=<key>: Google API key (alternatively set GOOGLE_API_KEY environment variable)--model=<model>: Gemini model to use (default: gemini-2.0-flash).png, .jpg, .jpeg.mp4.gif (automatically converted to MP4)export GOOGLE_API_KEY="your-api-key-here"
Add this to your shell profile (.bashrc, .zshrc, etc.) to make it permanent.
describe image.png --api-key=your-api-key-here
The tool provides detailed descriptions optimized for understanding visual content, with special attention to:
âś… Description:
---
The image shows a tldraw whiteboard interface with several geometric shapes arranged on a white canvas. In the center, there's a blue rectangle connected to a red circle via a black arrow. The toolbar at the bottom displays various drawing tools including select, hand, draw, eraser, and shape tools. The style panel on the right shows color options and stroke settings, indicating the blue rectangle is currently selected with medium stroke width and solid fill.
npm install
npm run build
npm test
src/
├── index.ts # Main CLI entry point
├── gemini-analyzer.ts # Gemini API integration
├── gif-converter.ts # GIF to MP4 conversion
└── __tests__/ # Test files
The project includes comprehensive unit tests with:
Tests mock the Gemini API to ensure fast, reliable testing without API calls.
npm test
The tool provides clear error messages for common issues:
@google/genai: Google Gemini AI SDKffmpeg-static: For GIF to MP4 conversiondotenv: Environment variable loadingMIT License - see LICENSE file for details
"No API key provided"
GOOGLE_API_KEY environment variable or use --api-key flag"Unsupported file type"
"File not found"
FFmpeg errors (GIF conversion)
If you encounter issues:
For bugs or feature requests, please open an issue on the repository.
FAQs
Describe GIFs, images, and videos using Gemini
The npm package describe-cli receives a total of 0 weekly downloads. As such, describe-cli popularity was classified as not popular.
We found that describe-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.