Merge branch 'develop' of https://github.com/HBAI-Ltd/Toonflow-app into develop

This commit is contained in:
zhishi 2026-04-14 11:39:18 +08:00
commit f81b7afdd4
3 changed files with 36 additions and 6 deletions

View File

@ -89,9 +89,6 @@ export default router.post(
} }
const artStyle = projectData?.artStyle || "无"; const artStyle = projectData?.artStyle || "无";
const visualManual = u.getArtPrompt(artStyle, "art_skills", "art_storyboard_video"); const visualManual = u.getArtPrompt(artStyle, "art_skills", "art_storyboard_video");
console.log("%c Line:99 🍧 storyboard", "background:#e41a6a", storyboard);
console.log("%c Line:97 🍣 assets", "background:#7f2b82", assets);
const content = ` const content = `
****${modelData}, ****${modelData},
****):${assets ****):${assets

View File

@ -15,7 +15,7 @@ export default router.post("/", async (req, res) => {
const promptMap = new Map(promptList.map((p) => [p.model, p.prompt])); const promptMap = new Map(promptList.map((p) => [p.model, p.prompt]));
const models = await u.vendor.getModelList(item.id!); const models = await u.vendor.getModelList(item.id!);
const filteredModels = models const filteredModels = models
.filter((m: any) => m.type === "image" || m.type === "video") .filter((m: any) => m.type === "video")
.map((m: any) => ({ .map((m: any) => ({
name: m.name, name: m.name,
type: m.type as "image" | "video", type: m.type as "image" | "video",

View File

@ -1,6 +1,37 @@
// @db-hash 88c167ba73e2771e7b043419ca5089dd // @db-hash 61fa5dc78f789e88edc7eeb51f55a1b7
//该文件由脚本自动生成,请勿手动修改 //该文件由脚本自动生成,请勿手动修改
export interface _o_project_old_20260404 {
'artStyle'?: string | null;
'createTime'?: number | null;
'directorManual'?: string | null;
'id'?: number | null;
'imageModel'?: string | null;
'imageQuality'?: string | null;
'intro'?: string | null;
'mode'?: string | null;
'name'?: string | null;
'projectType'?: string | null;
'type'?: string | null;
'userId'?: number | null;
'videoModel'?: string | null;
'videoRatio'?: string | null;
}
export interface _o_prompt_old_20260406 {
'data'?: string | null;
'id'?: number;
'name'?: string | null;
'type'?: string | null;
'useData'?: string | null;
}
export interface _o_prompt_old_20260406_1 {
'data'?: string | null;
'id'?: number;
'name'?: string | null;
'TEXT'?: any | null;
'type'?: string | null;
'useData'?: string | null;
}
export interface memories { export interface memories {
'content': string; 'content': string;
'createTime': number; 'createTime': number;
@ -210,7 +241,6 @@ export interface o_user {
'password'?: string | null; 'password'?: string | null;
} }
export interface o_vendorConfig { export interface o_vendorConfig {
'code'?: string | null;
'enable'?: number | null; 'enable'?: number | null;
'id'?: string; 'id'?: string;
'inputValues'?: string | null; 'inputValues'?: string | null;
@ -239,6 +269,9 @@ export interface o_videoTrack {
} }
export interface DB { export interface DB {
"_o_project_old_20260404": _o_project_old_20260404;
"_o_prompt_old_20260406": _o_prompt_old_20260406;
"_o_prompt_old_20260406_1": _o_prompt_old_20260406_1;
"memories": memories; "memories": memories;
"o_agentDeploy": o_agentDeploy; "o_agentDeploy": o_agentDeploy;
"o_agentWorkData": o_agentWorkData; "o_agentWorkData": o_agentWorkData;