Google Gemini
An agent asks for this key by its usual variable name, such as GEMINI_API_KEY, and offprompt knows the key from the name. Under any other name, the agent adds provider: "gemini".
| Key | Usual names | Under any other name |
|---|---|---|
| API key | GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY | provider: "gemini" |
API key
Made at aistudio.google.com/api-keys. Looks like AQ.….
- Starts with AQ. or AIza
- At least 30 characters