diff --git a/apps/web/src/api/viral-video/types.ts b/apps/web/src/api/viral-video/types.ts index 54b38c06b..01d7c894e 100644 --- a/apps/web/src/api/viral-video/types.ts +++ b/apps/web/src/api/viral-video/types.ts @@ -1,8 +1,8 @@ -export type FusionLevel = "full_ai" | "polish" | "as_is" +export type FusionLevel = "ai_full" | "ai_polish" | "user_primary" export const FUSION_LEVELS: { value: FusionLevel; label: string; desc: string }[] = [ - { value: "full_ai", label: "AI 全写", desc: "给我方向,全由AI创作" }, - { value: "polish", label: "AI润色", desc: "我写草稿,AI帮我润色" }, - { value: "as_is", label: "按我写的来", desc: "几乎不改我的文案" }, + { value: "ai_full", label: "AI 全写", desc: "给我方向,全由AI创作" }, + { value: "ai_polish", label: "AI润色", desc: "我写草稿,AI帮我润色" }, + { value: "user_primary", label: "按我写的来", desc: "几乎不改我的文案" }, ] export type StyleStrength = "light" | "medium" | "strict" diff --git a/apps/web/src/pages/viral-video/ViralVideoPage.tsx b/apps/web/src/pages/viral-video/ViralVideoPage.tsx index ffec6f64e..b0e9763a0 100644 --- a/apps/web/src/pages/viral-video/ViralVideoPage.tsx +++ b/apps/web/src/pages/viral-video/ViralVideoPage.tsx @@ -121,7 +121,7 @@ const emptyTask = (id: string, title: string): TabTask => ({ title, images: [], refVideo: null, - fusionLevel: "full_ai", + fusionLevel: "ai_full", styleStrength: "medium", voiceId: "", userCopy: "", @@ -425,7 +425,7 @@ const ViralVideoPage: React.FC = () => { images: imgUrls, reference_video_url: task.refVideo?.ossUrl || undefined, style_strength: task.refVideo?.ossUrl ? task.styleStrength : undefined, - user_copy_text: task.fusionLevel !== "full_ai" ? task.userCopy : undefined, + user_copy_text: task.fusionLevel !== "ai_full" ? task.userCopy : undefined, fusion_level: task.fusionLevel, // 注意:STEP1「开始分析」阶段还没有真正开始生成视频,后端会跑到 WAIT_USER_CONFIRM 暂停。 // 配音和视频参数在 STEP2 确认文案时由 confirm-intent 继续使用;但后端接口目前只接收一次 payload, @@ -816,14 +816,14 @@ const ViralVideoPage: React.FC = () => {