refactor: update STEPS to 5 steps + add clip count constants (#1899)

This commit is contained in:
2026-09-14 20:45:58 +08:00
parent 347b2a367a
commit d48e8d4bdf
+12 -7
View File
@@ -27,16 +27,21 @@ export const VOICE_GENDER_ICON: Record<string, string> = {
neutral: "✨",
}
/* ── 步骤定义 ── */
/* ── 步骤定义(5步,#1899 简化:删除选模板步骤) ── */
export const STEPS = [
{ key: 1, label: "选择模板" },
{ key: 2, label: "选择素材" },
{ key: 3, label: "选择配音" },
{ key: 4, label: "选择标题" },
{ key: 5, label: "确认生成" },
{ key: 6, label: "选择封面" },
{ key: 1, label: "选择素材" },
{ key: 2, label: "选择配音" },
{ key: 3, label: "选择标题" },
{ key: 4, label: "确认生成" },
{ key: 5, label: "选择封面" },
]
/* ── 片段数量配置(#1899) ── */
export const DEFAULT_CLIP_COUNT = 3
export const MIN_CLIP_COUNT = 1
export const MAX_CLIP_COUNT = 10
export const CLIP_COUNT_STEP = 1
/* ── 批量生成限制 ── */
export const MAX_PREVIEW_COUNT = 10
export const MIN_PREVIEW_COUNT = 1