ai-multimodal
Process and generate multimedia content using Google Gemini API. Capabilities include analyze audio files (transcription with timestamps, summarization…
by duongthinh03★ 81 GitHub stars
Install ai-multimodal in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
AI Multimodal
Process audio, images, videos, documents, and generate images/videos using Google Gemini's multimodal API.
Setup
export GEMINI_API_KEY="your-key" # Get from https://aistudio.google.com/apikey
pip install google-genai python-dotenv pillow
Quick Start
Analyze media: python scripts/gemini_batch_process.py --files <file> --task <analyze|transcribe|extract>
Generate content: python scripts/gemini_batch_process.py --task <generate|generate-video> --prompt "description"
Models
Image generation: imagen-4.0-generate-001 (standard), imagen-4.0-ultra-generate-001 (quality), imagen-4.0-fast-generate-001 (speed)
Video generation: veo-3.1-generate-preview (8s clips with audio)
Analysis: gemini-2.5-flash (recommended), gemini-2.5-pro (advanced)
Scripts
gemini_batch_process.py: Process audio/image/video/PDF, generate images/videos media_optimizer.py: Compress/resize/convert media for API limits document_converter.py: Convert DOCX/XLSX/PPTX to PDF
Use --help for options.
References
Load for detailed guidance:
| Topic | File |
|---|---|
| Audio | references/audio-processing.md |
| Images | references/vision-understanding.md |
| Image Gen | references/image-generation.md |
| Video | references/video-analysis.md |
| Video Gen | references/video-generation.md |
Limits
Formats: Audio (WAV/MP3/AAC, 9.5h), Images (PNG/JPEG/WEBP, 3.6k), Video (MP4/MOV, 6h), PDF (1k pages) Size: 20MB inline, 2GB File API
Allowed tools
Tools this skill is permitted to call.
- 01
Bash - 02
Read - 03
Write - 04
Edit
Bundled files
- .env.example
- plans/251120-2323-google-models-update/phase-01-model-catalog.md
- plans/251120-2323-google-models-update/phase-02-environment-config.md
- plans/251120-2323-google-models-update/phase-03-image-generation.md
- plans/251120-2323-google-models-update/phase-04-video-generation.md
- plans/251120-2323-google-models-update/phase-05-script-enhancement.md
- plans/251120-2323-google-models-update/phase-06-reference-docs.md
- plans/251120-2323-google-models-update/phase-07-testing.md
- plans/251120-2323-google-models-update/plan.md
- references/audio-processing.md
- references/image-generation.md
- references/video-analysis.md
- references/video-generation.md
- references/vision-understanding.md
- scripts/.coverage
- scripts/check_setup.py
- scripts/document_converter.py
- scripts/gemini_batch_process.py
- scripts/media_optimizer.py
- scripts/requirements.txt
FAQ
What does the ai-multimodal skill do?
Process and generate multimedia content using Google Gemini API. Capabilities include analyze audio files (transcription with timestamps, summarization, speech understanding, music/sound analysis up to 9.5 hours), understand images (captioning, object detection, OCR, visual Q&A, segmentation), process videos (scene detection, Q&A, temporal analysis, YouTube URLs, up to 6 hours), extract from documents (PDF tables, forms, charts, diagrams, multi-page), generate images (text-to-image with Imagen 4, editing, composition, refinement), generate videos (text-to-video with Veo 3, 8-second clips with native audio). Use when working with audio/video files, analyzing images or screenshots, processing PDF documents, extracting structured data from media, creating images/videos from text prompts, or implementing multimodal AI features. Supports Gemini 3/2.5, Imagen 4, and Veo 3 models with context windows up to 2M tokens.
How do I install the ai-multimodal skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ai-multimodal skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…