security: remove hardcoded Google API key, use env var instead
This commit is contained in:
@@ -75,7 +75,7 @@ NX, NY = 1024, 1024
|
||||
API_PORT = 28820
|
||||
|
||||
# Nano Banana Pro (Gemini image generation)
|
||||
GEMINI_API_KEY = "AIzaSyBAqdK7ThVcct7pzgaqXR09resrao6j8ro"
|
||||
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY", "")
|
||||
GEMINI_MODEL = "gemini-2.5-flash-image"
|
||||
IMAGE_OUTPUT_DIR = "/mnt/d/fractal-brain/beast-build/generated_images"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user