ai-multimodal

Process audio, video, images, and documents via Google Gemini's multimodal API.

1|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/Tietve/Lawweb --skill ai-multimodal-tietve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-multimodal
Source: https://github.com/Tietve/Lawweb/tree/main/.claude/skills/ai-multimodal
Command: npx skills add https://github.com/Tietve/Lawweb --skill ai-multimodal-tietve

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, python-dotenv, Pillow, pypdf, markdown, python-docx, docx2pdf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unifies processing of audio, images, video, and documents via Gemini's multimodal API, enabling automated analysis and content generation across media types.

Core Features & Use Cases

  • Audio processing: transcription with timestamps, summaries, and audio analysis.
  • Image understanding: captioning, object detection, OCR, visual Q&A, segmentation.
  • Video analysis: scene detection, Q&A, and transcription with visual context.
  • Document extraction: PDF tables, forms, multi-page insights.
  • Image generation: text-to-image creation and editing with style control.

Quick Start

Example: Transcribe an audio file and generate an image from a text prompt, or ask for a caption for an image using Gemini multimodal.

Frequently Asked Questions about ai-multimodal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transcribe audio files with Gemini's multimodal API?

Gemini's multimodal API transcribes audio files up to 9.5 hours long with timestamps and summaries. Upload your audio file via the File API or provide inline data, send a transcription prompt, and receive structured JSON or text output with word-level timing and content analysis.

Can I extract text and data from PDF documents and images with OCR?

Yes, Gemini multimodal processes PDFs and office documents (Word, Excel) to extract tables, forms, and text via OCR. Upload files or images, specify extraction requirements in your prompt, and receive structured JSON results with organized field mappings and multi-page context.

What's the best way to analyze video content and extract insights?

Upload video files up to 6 hours to Gemini multimodal for scene detection, visual Q&A, and transcription with visual context. Gemini processes video frames and audio together, returning structured analysis of objects, actions, and spoken content in JSON or markdown format.

How do I generate images from text prompts using Gemini?

Gemini 2.5-flash-image model generates images from text descriptions with style control. Provide your prompt specifying visual elements and style preferences; the API returns generated images you can save locally or integrate into downstream workflows.

Does Gemini multimodal support batch processing of multiple files?

Yes, the Skill supports batch processing across audio, video, and document files. Process multiple items in one workflow, apply the same prompt or varied prompts per file, and receive consolidated JSON or markdown results with per-file identifiers.

What file formats and size limits does Gemini multimodal handle?

Gemini processes audio up to 9.5 hours, video up to 6 hours, PDFs, DOCX, images, and office documents. The API supports inline data and File API uploads, with context windows up to 2M tokens, enabling processing of large documents and long media without format conversion.