Explore the API

Native Image Generation

Generate and edit highly contextual images natively with Gemini 2.0 Flash.

Explore long context

Input millions of tokens to Gemini models and derive understanding from unstructured images, videos, and documents.

Generate structured outputs

Constrain Gemini to respond with JSON, a structured data format suitable for automated processing.

Start building with the Gemini API

Get started