diff --git a/data/skills/art_prompts/chinese_sweet_romance/README.md b/data/skills/art_prompts/chinese_sweet_romance/README.md index 7c3c2c7..32ec9f7 100644 --- a/data/skills/art_prompts/chinese_sweet_romance/README.md +++ b/data/skills/art_prompts/chinese_sweet_romance/README.md @@ -1,3 +1,5 @@ +# 全局美学基础 · 古风甜宠写实超现实主义 +123 123 1212121212的王师傅水电费第三方水电费 1212121212 diff --git a/data/skills/art_prompts/chinese_sweet_romance/images/f0f89ce4-b197-4bd6-9794-3d14d1c3ab1e.jpg b/data/skills/art_prompts/chinese_sweet_romance/images/f0f89ce4-b197-4bd6-9794-3d14d1c3ab1e.jpg deleted file mode 100644 index 9ec69a9..0000000 Binary files a/data/skills/art_prompts/chinese_sweet_romance/images/f0f89ce4-b197-4bd6-9794-3d14d1c3ab1e.jpg and /dev/null differ diff --git a/src/lib/initDB.ts b/src/lib/initDB.ts index 7bd081c..235a9b1 100644 --- a/src/lib/initDB.ts +++ b/src/lib/initDB.ts @@ -488,7 +488,7 @@ description: 专注于从剧本内容中提取所使用的资产(角色、场 table.text("state"); table.integer("trackId"); table.text("reason"); - table.text("videoPrompt"); + table.text("videoDesc"); table.integer("shouldGenerateImage"); // 0 否 1 是 table.integer("projectId"); table.integer("flowId"); //工作流id diff --git a/src/routes/production/workbench/getGenerateData.ts b/src/routes/production/workbench/getGenerateData.ts index 0a18465..2139de2 100644 --- a/src/routes/production/workbench/getGenerateData.ts +++ b/src/routes/production/workbench/getGenerateData.ts @@ -15,7 +15,7 @@ interface TrackMedia { src: string; id?: number; fileType: "image" | "video" | "audio"; - prompt?: string; + videoDesc?: string; } interface TrackItem { @@ -66,7 +66,7 @@ export default router.post( async (s): Promise => ({ src: s.filePath ? await u.oss.getFileUrl(s.filePath) : "", fileType: "image", - ...(s.prompt != null ? { prompt: s.prompt } : {}), + ...(s.prompt != null ? { prompt: s.videoDesc } : {}), ...(s.id != null ? { id: s.id } : {}), }), ), diff --git a/src/types/database.d.ts b/src/types/database.d.ts index dc02a15..c9e9f75 100644 --- a/src/types/database.d.ts +++ b/src/types/database.d.ts @@ -1,6 +1,50 @@ -// @db-hash 6aa15a584eba838157eddf2458c0e260 +// @db-hash ea4ad047f16c826806ff76f388882a9c //该文件由脚本自动生成,请勿手动修改 +export interface _o_storyboard_old_20260402 { + 'createTime'?: number | null; + 'duration'?: string | null; + 'filePath'?: string | null; + 'flowId'?: number | null; + 'id'?: number; + 'index'?: number | null; + 'projectId'?: number | null; + 'prompt'?: string | null; + 'reason'?: string | null; + 'scriptId'?: number | null; + 'shouldGenerateImage'?: number | null; + 'state'?: string | null; + 'trackId'?: number | null; + 'videoPrompt'?: string | null; +} +export interface _o_vendorConfig_old_20260401 { + 'author'?: string | null; + 'code'?: string | null; + 'createTime'?: number | null; + 'description'?: string | null; + 'icon'?: string | null; + 'id'?: string; + 'inputs'?: string | null; + 'inputValues'?: string | null; + 'models'?: string | null; + 'name'?: string | null; +} +export interface _o_videoTrack_old_20260401 { + 'id'?: number; + 'projectId'?: number | null; + 'scriptId'?: number | null; + 'videoId'?: number | null; +} +export interface _o_videoTrack_old_20260401_1 { + 'id'?: number; + 'projectId'?: number | null; + 'prompt'?: string | null; + 'reason'?: string | null; + 'scriptId'?: number | null; + 'selectVideoId'?: number | null; + 'state'?: string | null; + 'videoId'?: number | null; +} export interface memories { 'content': string; 'createTime': number; @@ -173,8 +217,10 @@ export interface o_storyboard { 'prompt'?: string | null; 'reason'?: string | null; 'scriptId'?: number | null; + 'shouldGenerateImage'?: number | null; 'state'?: string | null; 'trackId'?: number | null; + 'videoDesc'?: string | null; } export interface o_tasks { 'describe'?: string | null; @@ -197,7 +243,7 @@ export interface o_vendorConfig { 'code'?: string | null; 'createTime'?: number | null; 'description'?: string | null; - 'enable'?: number | null; + 'enableEnglish'?: number | null; 'icon'?: string | null; 'id'?: string; 'inputs'?: string | null; @@ -216,6 +262,7 @@ export interface o_video { 'videoTrackId'?: number | null; } export interface o_videoTrack { + 'duration'?: number | null; 'id'?: number; 'projectId'?: number | null; 'prompt'?: string | null; @@ -227,6 +274,10 @@ export interface o_videoTrack { } export interface DB { + "_o_storyboard_old_20260402": _o_storyboard_old_20260402; + "_o_vendorConfig_old_20260401": _o_vendorConfig_old_20260401; + "_o_videoTrack_old_20260401": _o_videoTrack_old_20260401; + "_o_videoTrack_old_20260401_1": _o_videoTrack_old_20260401_1; "memories": memories; "o_agentDeploy": o_agentDeploy; "o_agentWorkData": o_agentWorkData;