Skip to content
offprompt

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".

The fields offprompt's page shows for Google Gemini, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
API keyGEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEYprovider: "gemini"

API key

Made at aistudio.google.com/api-keys. Looks like AQ.….

  • Starts with AQ. or AIza
  • At least 30 characters