TDN-M commited on
Commit
3c15937
·
verified ·
1 Parent(s): 75d318d

Update pages/api/generate.js

Browse files
Files changed (1) hide show
  1. pages/api/generate.js +2 -2
pages/api/generate.js CHANGED
@@ -61,13 +61,13 @@ export default async function handler(req, res) {
61
  {
62
  text: `${
63
  prompt ? prompt + ". " : ""
64
- }From the provided hand-drawing interiors design as the starting point, convert it into a detailed interior photoghraphy. Maintain the original line of while adding depth and visual appeal.`,
65
  },
66
  ];
67
  console.log("Using multipart content with drawing data and prompt");
68
  } else {
69
  // Use text-only prompt if no drawing is provided
70
- generationContent = prompt || "Convert a basic 2D plan layout 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.";
71
  console.log("Using text-only prompt");
72
  }
73
 
 
61
  {
62
  text: `${
63
  prompt ? prompt + ". " : ""
64
+ }Use the provided hand-drawing as the starting line-art, build it up to a stunning photo. Remeber to keep the original line of while adding depth and visual appeal.`,
65
  },
66
  ];
67
  console.log("Using multipart content with drawing data and prompt");
68
  } else {
69
  // Use text-only prompt if no drawing is provided
70
+ generationContent = prompt || "Convert a basic line into a stunning artwork.";
71
  console.log("Using text-only prompt");
72
  }
73