This page is also inEN
iTeam
API guide · Development and cloud With your company’s credentials

Google Gemini API: what you can do and how to use it with AI agents

The Gemini API gives programmatic access to Google's Gemini models for text, image and other inputs, plus embeddings and file handling. Developers and product teams use it to classify, extract data, summarize and transcribe. Access works with an API key created in Google AI Studio, so usage and billing stay with your own Google account and project.

Edit it as you like

You sign in or create a free account to send. Your request is kept and goes right on.

Nina
API guide

What the Google Gemini API offers

Content generation

Send text, images or other inputs to a Gemini model and receive a generated answer, with function calling and structured output.

Embeddings

Turn text into vectors for search, grouping and similarity checks.

Files

Upload files such as documents, audio or video and refer to them in requests.

Models

List the models available to your key and read their details.

Token counting

Count the tokens of a request before sending it, to plan cost and limits.

Batch processing

Send large sets of requests to run asynchronously.

How to access the Google Gemini API

  • With your company’s credentialsAPI key created in Google AI Studio and sent in the x-goog-api-key header. The REST base address is https://generativelanguage.googleapis.com/v1beta. Keep the key in an environment variable on the server and never expose it in browser or mobile apps. Keys are tied to a Google Cloud project.
  • The free tier has its own usage limits, and paid tiers have others. Check the current limits on the official page and have agents wait and retry when limited.
  • Model output can be wrong. Keep a person approving anything that changes records, spends money or reaches customers.
  • Check the terms that apply to free and paid use before sending customer or confidential data.

Official documentation: aistudio.google.com/docs/api-key

Example request

Example: list available models with the Gemini API

curl "https://generativelanguage.googleapis.com/v1beta/models" \
  -H "x-goog-api-key: $GEMINI_API_KEY"

A read-only call to GET /v1beta/models that confirms the key and lists the models it can use. The key goes in the x-goog-api-key header.

Source: aistudio.google.com. Check the official documentation for the current version and your plan.

What an iTeam agent does with the Google Gemini API

Classify incoming requests

The agent reads tickets or e-mails, asks Gemini for a category and priority, and routes each one. Sensitive cases wait for a person.

Extract data from documents and images

The agent turns invoices, receipts or forms into structured fields and a person approves the record before it reaches your system.

Transcribe and summarize recordings

The agent sends a meeting or call recording, gets a summary with decisions and owners, and posts it in the team channel.

Draft answers from your material

The agent drafts replies using your own documents. A person reviews before anything is sent, and each step is logged.

From the credential to the agent at work, with approval

01

Create the key in Google AI Studio

In AI Studio, create an API key for a project dedicated to the agents.

02

Store the key in the iTeam vault

The key stays in the vault, not in prompts. Each agent gets only the actions it needs, for example summarizing but not sending messages.

03

Test small, with approval on

There is no separate sandbox, but the free tier lets you try the API at low volume. Run a few low-risk inputs with approval on every result, then decide whether to enable billing.

Questions

Questions about the Google Gemini API

Is the Gemini API free?

There is a free tier with limits, and a paid tier you enable by setting up billing. What is available and what it costs changes, so check the pricing page on Google's site.

Do I need to code to use the Gemini API with iTeam?

Not necessarily. iTeam's HTTP tool reads the API documentation and learns the endpoints, and the deployment team sets up the key, permissions and tests with you.

Is my data safe when an agent calls the Gemini API?

The key sits in the iTeam vault, each agent has its own permissions and every call is logged. How Google handles data sent to the API depends on the terms that apply to your usage tier, so review them.

Can an agent send files, not just text?

Yes. The API accepts files and other media in requests, so an agent can analyze a PDF, an image or a recording. Supported formats and size limits are in the official documentation.

Next step

Put an AI team to work this week.

Start free with a pre-built team, or talk to us and our squad puts AI in production with your people.

300+integrations
4languages
Agents working right now