Skip to content

Configuring Gemini Models

This page explains how to retrieve or generate API credentials for Gemini models. Once you have the configuration details, you can follow the guide here to set up the model in the Flexpilot IDE.

🎁 Free Getting Started

Google's Gemini models are available for free on the Google AI Studio platform. You can start using them without any payment required.

🚀 Quick Links

Setup Guide

🔒 Security Warning

Never commit API keys to version control or share them publicly. Keep them secure!

  1. Login to Google AI Studio or sign up for a new account if you don't have one.
  2. Navigate to Google AI Studio API Keys section to create a new API key.
  3. Click Create API Key and select or create a new Google Cloud Project.
  4. Once you create the API key, copy it immediately as it won't be visible again.
  5. Visit the Gemini Models documentation to select the appropriate model for your needs.

Configuration Reference

Use these settings when configuring Gemini in Flexpilot IDE:

Configuration Fields
FieldDescriptionDefault/Recommended
API URLBase endpoint URLhttps://generativelanguage.googleapis.com/v1beta
API KeyYour secret keyFrom API Keys
Model IDModel identifiermodels/gemini-1.5-pro
TemperatureResponse creativity (0-1)0.2 for code generation
Tool CallingFunction calling supporttrue

💡 Pro Tips

  • Use lower temperatures (0.1-0.3) for more deterministic code generation
  • The default API URL works for most users - only change if using a proxy

Next Steps

Set up the API credentials obtained from this page's instructions in the Flexpilot IDE to enable the Chat Model. For detailed guidance, refer to the Setup Guide.