TDN-M commited on
Commit
283e02f
·
verified ·
1 Parent(s): 6a128e9

Update pages/api/generate.js

Browse files
Files changed (1) hide show
  1. 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}. 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 {
 
58
  // Combine drawing with text prompt
59
  generationContent = [
60
  imagePart,
61
+ { text: `${prompt}. "Take the provided 2D plan layout. Convert it into a detailed 3D sketch, including walls, doors, windows, and basic furniture placement. Enhance the design with a realistic perspective and improve it to create a stunning 3D representation. Maintain the original style of the layout while adding depth and visual appeal." }
62
  ];
63
  console.log("Using multipart content with drawing data and prompt");
64
  } else {