This commit is contained in:
zhishi 2026-04-02 03:04:59 +08:00
commit 55d7180755
4 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,3 @@
# 全局美学基础 · 古风甜宠写实超现实主义
123
123
1212121212的王师傅水电费第三方水电费
1212121212

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

View File

@ -355,6 +355,11 @@ description: 专注于从剧本内容中提取所使用的资产(角色、场
-
`,
},
{
name: "视频提示词生成",
type: "videoPromptGeneration",
data: "根据以下提示词生成一个视频提示词",
},
]);
},
},

View File

@ -17,10 +17,11 @@ export default router.post(
const { trackId, projectId, prompt, model } = req.body;
const [id, modelData] = model.split(":");
const projectData = await u.db("o_project").select("*").where({ id: projectId }).first();
const videoPrompt = await u.db("o_prompt").where("type", "videoPromptGeneration").first();
const artStyle = projectData?.artStyle || "无";
const visualManual = u.getArtPrompt(artStyle, "art_storyboard_video");
const { text } = await u.Ai.Text("universalAi").invoke({
system: visualManual,
system: `${videoPrompt?.data},${visualManual}`,
messages: [
{
role: "user",