SynthScope / .env.example
SMSD75's picture
Update SynthScope Space from the GitHub repository
cd24b4a verified
Raw History Blame Contribute Delete
1.15 kB
# SynthScope secrets template — copy to `.env` (gitignored) and fill in.
# The backend auto-loads `.env` at startup (interface/backend/config.py:_load_dotenv).
# Real shell env vars / secrets-manager values OVERRIDE this file.
# SOTA image-generator API keys (for the "SOTA vs Detectors" demo). Each is optional;
# a generator is greyed-out in the UI if its key is unset.
GEMINI_API_KEY= # Nano Banana (Gemini 2.5 Flash Image) -> aistudio.google.com/apikey
OPENAI_API_KEY= # GPT Image (gpt-image-1) -> platform.openai.com/api-keys
XAI_API_KEY= # Grok (grok-2-image) -> console.x.ai
FAL_KEY= # FLUX img2img via fal.ai -> fal.ai/dashboard/keys
# Ideogram 4.0 runs LOCALLY (open-weight) — no paid API key. HF_TOKEN is only needed ONCE to
# download the license-gated weights (accept the license at hf.co/ideogram-ai/ideogram-4-nf4-diffusers).
HF_TOKEN= # free Hugging Face token, for gated open-weight downloads
# Optional path overrides (defaults assume the cn023 node layout)
# SYNTHSCOPE_CKPT_DIR=/hddstore/ssalehi/SynthScope/checkpoints