Español — Parte del contenido de esta página solo está disponible en inglés. Inicio

Google AI Studio (Gemini API)

Construye con Gemini, el modelo de IA más capaz de Google.

Text GenerationImage GenerationCode Assistantapichatmultimodal

📖 Resumen

Google AI Studio proporciona un IDE basado en web y API para prototipado y construcción con modelos Gemini. Ofrece acceso gratuito a Gemini con límites de uso, y un plan pago para mayor uso y aplicaciones comerciales. Los desarrolladores pueden generar claves API para integrar Gemini en sus aplicaciones.

💰 Detalles del Plan Gratuito

Descripción
Free tier includes 1,500 requests per day for Gemini 1.5 Flash, with a rate limit of 60 requests per minute.
Cantidad
1500 requests (day)

📝 Getting Started with Google AI Studio (Gemini API)

Google AI Studio is a web-based IDE and API platform that lets you prototype and build applications using Gemini models. To begin, visit the Google AI Studio website and sign in with your Google account. The free tier offers access to Gemini with rate limits—ideal for experimentation and small projects. For higher usage or commercial applications, upgrade to the paid tier via the Google Cloud Console.

Generating an API Key
  • In AI Studio, click “Get API key” in the left sidebar.
  • Choose an existing Google Cloud project or create a new one.
  • A key will be generated; copy it and store it securely. Use this key to authenticate requests to the Gemini API.
Using the Web IDE
  • The IDE provides a visual interface to test prompts with Gemini models. Select a model (e.g., Gemini 1.5 Pro or Flash), enter a prompt, and view the response. Adjust parameters like temperature, top-p, and max output tokens to fine-tune results.
  • You can also write Python code in the built-in editor to call the API directly. The IDE includes a code generator that produces ready-to-run snippets for your language of choice.
Integrating into Your Application
  • In your code, make HTTP requests to the Gemini API endpoint (e.g., https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro:generateContent). Include your API key as a query parameter or in the Authorization header.
  • Use the client libraries for Python, Node.js, or other languages to simplify integration. For example, install the google-generativeai package and call genai.configure(api_key=...).
Best Practices
  • Start with the free tier to test your ideas. Monitor usage via the AI Studio dashboard.
  • For production, set up usage quotas and billing alerts in Google Cloud.
  • Review the documentation for safety filters and content moderation options.

With Google AI Studio, you can rapidly prototype generative AI features and scale them confidently.

Gratis
active

Health

At Risk
Free tier Active
Verified Never verified

Ratings

Ease of Use
Free Tier
Stability
Community

¿Es útil esta herramienta?

Compare