🔧 Switch to gemini-2.5-flash - properly supported for image generation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user