google.generativeai.configure

Captures default client configuration.

If no API key has been provided (either directly, or on client_options) and the GOOGLE_API_KEY environment variable is set, it will be used as the API key.

Refer to glm.DiscussServiceClient, and glm.ModelsServiceClient for details on additional arguments.
api_key The API-Key to use when creating the default clients (each service uses a separate client). This is a shortcut for client_options={"api_key": api_key}. If omitted, and the GOOGLE_API_KEY environment variable is set, it will be used.