Merge branch '108' of https://github.com/HBAI-Ltd/Toonflow-app into 108
This commit is contained in:
commit
55d7180755
@ -1,5 +1,3 @@
|
||||
# 全局美学基础 · 古风甜宠写实超现实主义
|
||||
123
|
||||
123
|
||||
1212121212的王师傅水电费第三方水电费
|
||||
1212121212
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 272 KiB |
@ -355,6 +355,11 @@ description: 专注于从剧本内容中提取所使用的资产(角色、场
|
||||
- 场景中的固定陈设不需要单独提取为道具,除非该物件有独立剧情作用
|
||||
`,
|
||||
},
|
||||
{
|
||||
name: "视频提示词生成",
|
||||
type: "videoPromptGeneration",
|
||||
data: "根据以下提示词生成一个视频提示词",
|
||||
},
|
||||
]);
|
||||
},
|
||||
},
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user