Gemini website screenshot

Gemini

Google's Gemini API provides access to state-of-the-art generative AI models for text generation, multimodal understanding, code generation, and more.

16 APIs 11 Features
AgentsArtificial IntelligenceAudio UnderstandingBatch ProcessingDeep ResearchDocument UnderstandingEmbeddingsFunction CallingGenerative AiImage GenerationLarge Language ModelsMachine LearningMultimodalStructured OutputText-To-SpeechVideo GenerationVideo Understanding

APIs

Gemini REST API

REST API for accessing Gemini models for text generation, chat, embeddings, and multimodal tasks.

Gemini Python SDK

Python client library for the Gemini API.

Gemini Node.js SDK

Node.js client library for the Gemini API.

Gemini Go SDK

Go client library for the Gemini API, providing an interface for developers to integrate Google generative models into Go applications.

Gemini Java SDK

Java client library for the Gemini API, providing an interface for developers to integrate Google generative models into Java applications.

Gemini C# SDK

C# client library for the Gemini API, providing an interface for developers to integrate Google generative models into .NET applications.

Gemini Live API

Low-latency bidirectional streaming API enabling real-time voice and video interactions with Gemini models over WebSocket connections.

Gemini Interactions API

A single unified endpoint for Gemini models and agents with server-side state, background execution, tool combination, and multimodal generation. Now generally available, it is ...

Gemini Image Generation API

Image generation capabilities through the Gemini API, supporting text-to-image generation, image editing, and multi-turn conversational editing.

Gemini Video Generation API

Video generation capabilities through the Gemini API powered by Veo, supporting text-to-video and image-to-video generation in resolutions up to 4K.

Gemini Text-to-Speech API

Native audio generation text-to-speech capabilities through the Gemini API, supporting single and multi-speaker speech synthesis with natural language control over style, accent...

Gemini Files API

API for uploading and managing media files for use with Gemini models, supporting images, audio, video, and documents up to 2 GB per file with 20 GB per project storage.

Gemini Embeddings API

Text embedding capabilities through the Gemini API, generating vector representations for semantic search, classification, clustering, and retrieval augmented generation (RAG) a...

Gemini Batch API

Asynchronous batch processing API for submitting large volumes of Gemini API requests at 50 percent of the standard cost, with support for content generation, embeddings, and Op...

Gemini Deep Research API

Agentic research capability powered by the Interactions API that autonomously plans, executes, and synthesizes multi-step research tasks using web search and URL context to prod...

Gemini Exchange API

REST and WebSocket APIs for the Gemini cryptocurrency exchange, providing market data, order management, account balances, clearing, earn/staking, and institutional capital acco...

Collections

GraphQL

Gemini Exchange GraphQL Schema

This document describes a conceptual GraphQL schema for the [Gemini Exchange](https://gemini.com) cryptocurrency exchange API. Gemini is a regulated cryptocurrency exchange offe...

GRAPHQL

Pricing Plans

Gemini Plans Pricing

3 plans

PLANS

Rate Limits

Gemini Rate Limits

5 limits

RATE LIMITS

FinOps

Gemini Finops

FINOPS

Features

Multimodal Understanding

Process and understand text, images, audio, video, and documents in a single model.

Function Calling

Define custom functions that Gemini can invoke to interact with external systems and APIs.

Structured Output

Generate JSON responses conforming to specified schemas for reliable data extraction.

Context Caching

Cache large context windows to reduce latency and cost for repeated queries.

Code Execution

Execute Python code in a sandboxed environment for computational tasks.

Grounding with Google Search

Ground model responses with real-time Google Search results for factual accuracy.

Live Streaming API

Real-time bidirectional voice and video interactions over WebSocket connections.

Image and Video Generation

Generate images and videos from text prompts using Gemini and Veo models.

Text-to-Speech

Native audio generation with multi-speaker support and natural language style control.

Deep Research

Autonomous multi-step research agent that synthesizes cited reports from web sources.

Thinking Mode

Extended reasoning capability for complex problem-solving and analysis tasks.

Use Cases

AI-Powered Chatbots

Build conversational AI assistants with multimodal understanding and function calling.

Document Processing

Extract structured data from documents, PDFs, and images using vision capabilities.

Content Generation

Generate text, images, and video content with AI for marketing and creative workflows.

Code Generation

Generate, explain, and debug code across multiple programming languages.

Semantic Search

Build search systems using Gemini embeddings for semantic similarity matching.

Real-Time Translation

Translate text and audio in real-time using multimodal capabilities.

Integrations

Google Cloud Vertex AI

Access Gemini models through Vertex AI for enterprise-grade deployment and management.

Google AI Studio

Prototype and test Gemini API calls with the web-based development environment.

LangChain

Use Gemini as a provider in LangChain for building AI application pipelines.

Firebase

Integrate Gemini with Firebase for mobile and web app AI features.

OpenAI Compatibility

Use Gemini through OpenAI-compatible API endpoints for easy migration.

Resources

🔗
AgentSkills
AgentSkills
🔗
LinkedIn
LinkedIn
🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
💰
Pricing
Pricing
🔗
Models
Models
🔗
RateLimits
RateLimits
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
📰
Blog
Blog
💬
Support
Support
📦
SDKs
SDKs
📄
ChangeLog
ChangeLog
🟢
StatusPage
StatusPage
👥
GitHubRepository
GitHubRepository
🌐
Console
Console

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Google Gemini API
  version: v1beta
request:
  auth:
    type: apikey
    key: key
    value: '{{key}}'
    placement: query
items:
- info:
    name: Models
    type: folder
  items:
  - info:
      name: List available models
      type: http
    http:
      method: GET
      url: https://generativelanguage.googleapis.com/v1beta/models
      params:
      - name: pageSize
        value: ''
        type: query
      - name: pageToken
        value: ''
        type: query
    docs: List available models
  - info:
      name: Get model details
      type: http
    http:
      method: GET
      url: https://generativelanguage.googleapis.com/v1beta/models/:model
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
    docs: Get model details
- info:
    name: Generation
    type: folder
  items:
  - info:
      name: Generate content
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/models/:model:generateContent
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
      body:
        type: json
        data: '{}'
    docs: Generate content
  - info:
      name: Stream generated content
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/models/:model:streamGenerateContent
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
      body:
        type: json
        data: '{}'
    docs: Stream generated content
- info:
    name: Embeddings
    type: folder
  items:
  - info:
      name: Embed content
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/models/:model:embedContent
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
      body:
        type: json
        data: '{}'
    docs: Embed content
  - info:
      name: Batch embed contents
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/models/:model:batchEmbedContents
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
      body:
        type: json
        data: '{}'
    docs: Batch embed contents
- info:
    name: Utility
    type: folder
  items:
  - info:
      name: Count tokens for a prompt
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/models/:model:countTokens
      params:
      - name: model
        value: ''
        type: path
        description: Model identifier (e.g. "gemini-1.5-pro")
      body:
        type: json
        data: '{}'
    docs: Count tokens for a prompt
- info:
    name: Files
    type: folder
  items:
  - info:
      name: List uploaded files
      type: http
    http:
      method: GET
      url: https://generativelanguage.googleapis.com/v1beta/files
      params:
      - name: pageSize
        value: ''
        type: query
      - name: pageToken
        value: ''
        type: query
    docs: List uploaded files
  - info:
      name: Upload a file
      type: http
    http:
      method: POST
      url: https://generativelanguage.googleapis.com/v1beta/files
      body:
        type: multipart-form
        data:
        - name: file
          type: text
          value: ''
    docs: Upload a file
  - info:
      name: Get file metadata
      type: http
    http:
      method: GET
      url: https://generativelanguage.googleapis.com/v1beta/files/:fileId
      params:
      - name: fileId
        value: ''
        type: path
    docs: Get file metadata
  - info:
      name: Delete a file
      type: http
    http:
      method: DELETE
      url: https://generativelanguage.googleapis.com/v1beta/files/:fileId
      params:
      - name: fileId
        value: ''
        type: path
    docs: Delete a file
bundled: true