Files
2025-09-03 10:33:29 +01:00

23 lines
913 B
Bash

# Example environment configuration for OpenRouter integration
# Copy this to .env and update with your actual API keys
# OpenRouter Configuration (recommended for new users)
OPENROUTER_API_KEY=sk-or-v1-your-openrouter-key-here
OPENROUTER_PROXY=true
OPENROUTER_SITE_URL=https://your-site.com
OPENROUTER_SITE_NAME=ComfyUI-IF_Gemini
# Alternative: Direct base URL configuration
# GEMINI_BASE_URL=https://openrouter.ai/api/v1
# Standard Gemini API (existing users)
# GEMINI_API_KEY=your-gemini-key-here
# Notes:
# - OPENROUTER_API_KEY: Your OpenRouter API key from https://openrouter.ai/keys
# - OPENROUTER_PROXY=true: Automatically enables OpenRouter base URL
# - OPENROUTER_SITE_URL: Optional, for OpenRouter leaderboards
# - OPENROUTER_SITE_NAME: Optional, shown in OpenRouter analytics
#
# For the free image preview model, use:
# Model name: google/gemini-2.5-flash-image-preview:free