Update pages/api/generate.js
Browse files- pages/api/generate.js +1 -1
pages/api/generate.js
CHANGED
|
@@ -58,7 +58,7 @@ export default async function handler(req, res) {
|
|
| 58 |
// Combine drawing with text prompt
|
| 59 |
generationContent = [
|
| 60 |
imagePart,
|
| 61 |
-
{ text: `${prompt}.
|
| 62 |
];
|
| 63 |
console.log("Using multipart content with drawing data and prompt");
|
| 64 |
} else {
|
|
|
|
| 58 |
// Combine drawing with text prompt
|
| 59 |
generationContent = [
|
| 60 |
imagePart,
|
| 61 |
+
{ text: `${prompt}. From the dribble line as the starting idea, Improve and make a stunning image.` || "Add something new to this drawing, in the same style." }
|
| 62 |
];
|
| 63 |
console.log("Using multipart content with drawing data and prompt");
|
| 64 |
} else {
|