返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

gem

使用Google Gemini进行多模态AI处理。用于分析PDF、图像、视频、YouTube链接和其他大型文档。当您需要从需要视觉或多种模式理解的文件中提取信息时,这是理想的选择。

person作者: jakexiaohubgithub

Gemini Multimodal Tool

Use the ai-gem CLI tool for multimodal AI processing via Google's Gemini API.

Usage

# Text queries
ai-gem "Write a haiku about Python programming"

# Analyze documents
ai-gem "Summarize this document" document.pdf

# Analyze images
ai-gem "What's in this image?" photo.jpg

# Process YouTube videos
ai-gem "Create a 5-point summary" "https://youtu.be/VIDEO_ID"

# Compare multiple files
ai-gem "Compare these files" file1.pdf file2.png

# Web search
ai-gem "Current AI news" --search

Requirements

  • GEMINI_API_KEY environment variable must be set
  • The hamel package must be installed: pip install hamel

Supported Input Types

  • PDFs
  • Images (PNG, JPEG, GIF, WebP)
  • Videos (MP4, etc.)
  • YouTube URLs
  • Plain text files
  • Multiple files for comparison