# How to get a Google Gemini API key--and use the Gemini API

DevFeed: [How to get a Google Gemini API key--and use the Gemini API](<https://devfeed.tech/articles/how-to-get-a-google-gemini-api-key-and-use-the-gemini-api-129823.md>)

Original publisher: [Read original article](<https://zapier.com/blog/gemini-api>)

Author: Miguel Rebelo

Published: 2026-11-11T05:00:00Z

Content type: tutorial

Language: en

Sources: [Zapier](<https://devfeed.tech/sources/zapier.md>)

Topics: [generative-ai-tools](<https://devfeed.tech/topics/generative-ai-tools.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [API Monetization](<https://devfeed.tech/topics/api-monetization.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-studio](<https://devfeed.tech/tags/ai-studio.md>), [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-4](<https://devfeed.tech/tags/gemini-4.md>), [gemini-4-carbon](<https://devfeed.tech/tags/gemini-4-carbon.md>), [gemini-api](<https://devfeed.tech/tags/gemini-api.md>), [google](<https://devfeed.tech/tags/google.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [images](<https://devfeed.tech/tags/images.md>), [multimodality](<https://devfeed.tech/tags/multimodality.md>), [openai](<https://devfeed.tech/tags/openai.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

The guide explains how to obtain a Gemini API key in Google AI Studio and make a REST request, using Postman as its example. Create a key from the key icon, associate it with a project, and store it securely. In Postman, send a POST request with the API URL, the x-goog-api-key and Content-Type: application/json headers, and a JSON body containing a model and prompt. The guide also shows how to add system instructions and nest generation settings such as max_output_tokens under generation_config. It contrasts AI Studio's simpler setup with the broader model and settings access through Google Cloud's Gemini platform. Pricing includes a limited free tier, pay-as-you-go usage, and an enterprise option; the free tier has lower limits and may time out or return 503 errors during high demand, while its requests and outputs may be used for model training. The text notes that API rate limits are not clearly displayed and recommends checking the Rate Limits tab. This is an excerpted guide, so it does not establish current model availability or provide a complete API reference.

## Source excerpt

OpenAI and Anthropic models can read text and look at images just fine, but video is a big no-no. If you're building a tool or a product that absolutely needs that type of media, you'd have to engineer a long workaround, decomposing it into multiple images and then feeding them as an input. A big techie flex if you manage to do it, but is it worth the time? Google has the answer if you want to go faster. Its latest models, led by Gemini 4 Carbon, focus on multimodality, being capable of consumin