zh — Some content on this page is only available in English. 首页

AI Studio (原名 MakerSuite)

获取 Google 的生成式 AI 模型的 API 个密钥。

Text GenerationImage GenerationCode Assistantapimultimodal

📖 概述

AI Studio是一个基于Web的平台,通过API密钥提供对Google的Gemini模型的访问。它允许开发者进行原型设计、测试并将生成式AI能力集成到应用中。该服务提供Free Tier使用,有速率限制,付费计划可获得更高配额。

💰 免费额度详情

说明
Free tier includes 60 requests per minute for Gemini API, with limited daily token usage.
额度
60 requests per minute (rate limit for free tier) (per minute)

📝 How to Use Google AI Studio for Generative AI Prototyping

Google AI Studio (formerly MakerSuite) is a web-based platform that gives you hands-on access to Google's Gemini models via API keys. It's designed for developers to quickly prototype, test, and integrate generative AI into applications. Here's how to get started.

1. Sign Up and Access:

Visit the Google AI Studio website. Sign in with your Google account. Once logged in, you'll see the dashboard where you can create new projects, view existing ones, and manage API keys.

2. Obtain an API Key:

Click on 'Get API key' in the dashboard. You can create a new key or use an existing one. Google offers a free tier with generous rate limits (e.g., 60 requests per minute for Gemini 1.5 Flash). For higher quotas, upgrade to a paid plan.

3. Choose a Model:

Select a Gemini model (e.g., Gemini 1.5 Pro, Gemini 1.5 Flash). Each model has different capabilities—Flash is faster and cheaper, while Pro offers more advanced reasoning. You can also tweak parameters like temperature, top-p, and max output tokens.

4. Test and Prototype:

Use the built-in playground to send prompts and see responses in real time. You can test different system instructions, few-shot examples, or safety settings. The playground supports streaming responses for faster feedback.

5. Integrate into Your App:

Once satisfied, generate code snippets (Python, Node.js, etc.) directly from the UI. Copy your API key and use the Gemini API client library to call the model from your application. Remember to set environment variables to keep your key secure.

6. Monitor Usage:

Check your usage dashboard to track API calls, tokens consumed, and costs. Set up billing alerts if you're on a paid plan to avoid surprises.

Google AI Studio simplifies the journey from idea to integration, making it easy to experiment with generative AI without managing infrastructure.

免费
active

健康状态

有风险
免费状态 活跃
最后验证 从未验证

多维评分

易用性
免费额度
稳定性
社区活跃

这个工具有用吗?

对比工具