Google Cloud GenAI models
Google cloud GenAI models can be used for image and video generation: - Gemini 2.5 Flash - Gemini 3.0 Pro - Veo 3.1
Authentication
Important
To use Google GenAI models, you need to set up authentication using an API key or service account credentials,
depending on whether you are using Vertex AI or Google Developer access.
Note
You can setup authentication via SD.Next directly via settings -> model options -> google genai
Or using Google documented environment variables
- Google cloud use VertexAI endpoints
Use VertexAI endpoints for GenAI models, by default SD.Next will use Google Developer endpoints - If VertexAI is enabled, you need to provide service account credentials:
Details: https://docs.cloud.google.com/docs/authentication/set-up-adc-local-dev-environment - If VertexAI is disabled, you need to provide an API key
- Google cloud API key
Your Google Cloud Developer API key for GenAI models
Details: https://ai.google.dev/gemini-api/docs/api-key - Google Cloud project ID
Your Google Cloud project ID, required for VertexAI access
Details: https://cloud.google.com/vertex-ai/docs/start/cloud-environment - Google Cloud location ID
Your Google Cloud location ID, required for VertexAI access
Details: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations