diff --git a/backend/server.js b/backend/server.js index 6da2c31..0d98389 100644 --- a/backend/server.js +++ b/backend/server.js @@ -338,7 +338,7 @@ app.post('/api/sparkplug/extract', authenticate, upload.single('file'), async (r // Call Gemini to extract prompt const genAI = new GoogleGenerativeAI(geminiKey); - const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" }); + const model = genAI.getGenerativeModel({ model: "gemini-1.5-pro" }); const prompt = ` You are an expert product designer. Read the following text from a product spec PDF and create a highly detailed, concise visual design prompt for an image generation AI.