Introduction to Google Gemini
Welcome to the Google Gemini service documentation! Powered by Google’s cutting-edge AI, this service provides three major capabilities organized into dedicated sections:Video Generation
Generate and edit videos with Veo 2 / Veo 3 / Veo 3.1 — text-to-video, image-to-video, extend, reshoot, object insert/remove
Image Generation
Create and edit images with Nano Banana (Fast / Pro / 2) — supports multiple aspect ratios and up to 4K resolution
Gemini Compat (SDK)
Drop-in replacement for Google’s official @google/genai SDK — just change the base URL
Service Overview
🎬 Video Generation (Veo 2 / 3 / 3.1)
Full-featured video generation and editing pipeline:- Generate Videos — Text-to-video, image-to-video (start/end frame), ingredients-to-video (1-3 reference images)
- Upsample — Upscale to 1080p or 4K, or generate GIF previews
- Extend — Extend video duration seamlessly (Veo 3.1 only)
- Reshoot — Re-generate with different camera motion (pan, zoom, dolly, etc.)
- Object Insert/Remove — Add or remove objects using masks
- Prompt Expand — Expand simple prompts into cinematic descriptions
🖼️ Image Generation (Nano Banana)
Powerful image generation and editing with three model tiers:- Text-to-Image — Generate original images from text prompts
- Image Editing — Modify existing images based on prompts
- Multiple Aspect Ratios — 21:9, 16:9, 9:16, 4:3, 3:2, 5:4, 1:1, and more
- High Resolution — Up to 4K output (Pro / 2 models)
nano-banana-fast, nano-banana-pro, nano-banana-2
Explore Image Documentation →
🔌 Gemini Compat (Official SDK)
A Google Gemini API-compatible endpoint that works with Google’s official @google/genai SDK:- Drop-in replacement — Just change the base URL to
https://api.mountsea.ai/gemini - Text generation —
generateContentandstreamGenerateContent - Image generation — Use Gemini model IDs (
gemini-2.5-flash-image,gemini-3.1-flash-image-preview,gemini-3-pro-image-preview) — automatically routed to Nano Banana models - Supports official SDK — Use the TypeScript/Python
@google/genailibrary directly