# Required: Authentication password for API access GEMINI_AUTH_PASSWORD=123456 # Option 1: Credentials as JSON string (highest priority - overrides file-based credentials) # GEMINI_CREDENTIALS={"client_id":"your-client-id","client_secret":"your-client-secret","token":"your-access-token","refresh_token":"your-refresh-token","scopes":["https://www.googleapis.com/auth/cloud-platform"],"token_uri":"https://oauth2.googleapis.com/token"} # Option 2: Path to credentials file (only used if GEMINI_CREDENTIALS is not set) GOOGLE_APPLICATION_CREDENTIALS=oauth_creds.json # Optional: Google Cloud Project ID (if not in credentials) # GOOGLE_CLOUD_PROJECT=your-project-id # Server configuration (optional) # HOST=0.0.0.0 # PORT=8888 # Default compatibility port (use 7860 for Hugging Face)