I have a FlutterFlow project with Gemini AI integration

Database & APIs

I have a FlutterFlow project with Gemini AI integration. I have a Google Cloud Tier 1 (paid) account, but I keep getting the error: 'models/gemini-1.5-pro is not found for API version v1beta'. I need someone to fix the API connection or switch the model settings correctly so the chat works.

What have you tried so far?

Current Setup & What we have already tried:

  1. Google Cloud / API Status:

    • Billing is ENABLED: I have upgraded the Google Cloud project to Tier 1 (Credit card linked, billing active).

    • APIs are Enabled: "Generative Language API" and "Vertex AI API" are both enabled in the console.

    • API Keys: I have generated fresh API keys from both Google AI Studio (New Project) and Google Cloud Console. Both result in the same error.

  2. FlutterFlow Setup:

    • The API Key is correctly pasted in Settings -> Integrations -> Gemini.

    • I am using the standard "Gemini -> Generate Text" action.

  3. The Core Issue (Why I need help):

    • FlutterFlow seems stuck on using gemini-1.5-pro via the v1beta API, which creates the error.

    • The "Model" dropdown menu is hidden/missing in my FlutterFlow action panel, so I cannot manually switch to a working model (like gemini-pro or gemini-1.5-flash).

    • I tried deleting and re-adding the action, and hard-refreshing the editor, but the model selection dropdown does not appear.

Goal: Force FlutterFlow to use a valid/supported model (e.g., gemini-1.5-flash or gemini-pro) or fix the API connection so the chat works.

Did you check FlutterFlow's Documentation for this topic?
No
1
3 replies