no message
This commit is contained in:
parent
4f5b85c182
commit
f12e6bb87b
@ -66,9 +66,6 @@ export default router.post(
|
|||||||
return await u.oss.getImageBase64(item);
|
return await u.oss.getImageBase64(item);
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
console.log("%c Line:64 🍡 base64", "background:#ea7e5c", base64);
|
|
||||||
|
|
||||||
return;
|
|
||||||
//新增
|
//新增
|
||||||
const [videoId] = await u.db("o_video").insert({
|
const [videoId] = await u.db("o_video").insert({
|
||||||
filePath: videoPath,
|
filePath: videoPath,
|
||||||
|
|||||||
@ -27,9 +27,7 @@ export default router.post(
|
|||||||
messages: [
|
messages: [
|
||||||
{
|
{
|
||||||
role: "user",
|
role: "user",
|
||||||
content: `你是一个专业的${modelData}视频提示词生成助手。请根据以下提供的提示词,生成一段完整的、可直接用于视频生成模型的中文提示词。${prompt.join(
|
content: `${prompt.join(",")}`,
|
||||||
",",
|
|
||||||
)}`,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user