🔧 Switch to gemini-2.5-flash - properly supported for image generation

This commit is contained in:
2025-12-31 10:26:38 +01:00
parent fddc9021bb
commit 6daf686954
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ def generate_creature(zone_name: str, creature_name: str, description: str, styl
log_file.flush()
# Generate image
model = genai.GenerativeModel("gemini-1.5-flash")
model = genai.GenerativeModel("gemini-2.5-flash")
response = model.generate_content([full_prompt])
if hasattr(response, '_result') and response._result.candidates: