diff --git a/apps/web/src/pages/viral-video/ViralVideoPage.tsx b/apps/web/src/pages/viral-video/ViralVideoPage.tsx index 07cfe8dd2..436059368 100644 --- a/apps/web/src/pages/viral-video/ViralVideoPage.tsx +++ b/apps/web/src/pages/viral-video/ViralVideoPage.tsx @@ -30,7 +30,6 @@ import { uploadAssetDirect, getAssetLibraries, getAssetsByKind, type AssetItem } import { fetchPresetVoices } from "@/api/voices" import { getVoiceClones, getVoiceClonePreview } from "@/api/voice-clone" import type { VoiceClone } from "@/api/voice-clone" -import DurationWheelPicker from "@/components/common/DurationWheelPicker" import { FUSION_LEVELS, STYLE_STRENGTHS, @@ -224,6 +223,7 @@ const RATIOS = [ { v: "16:9", label: "16:9 横屏(B站/YouTube)" }, { v: "1:1", label: "1:1 方形(小红书)" }, ] +const DURATIONS = Array.from({ length: 16 }, (_, i) => 15 + i) /** 兜底模型列表(接口未返回时使用,字段与 ViralVideoModel 对齐;后端返回后自动覆盖) */ const FALLBACK_VIDEO_MODELS: ViralVideoModel[] = [ { @@ -2433,12 +2433,12 @@ const ViralVideoPage: React.FC = () => {