export const RESOLUTIONS = [ { value: '1344x768', width: 1344, height: 768, label: '1344×768 (横屏 · 官方默认)', maxFrames: 412, isLandscape: true, aspect: '16:9' }, { value: '768x1344', width: 768, height: 1344, label: '768×1344 (竖屏 · 官方默认)', maxFrames: 412, isLandscape: false, aspect: '9:16' }, { value: '832x480', width: 832, height: 480, label: '832×480 (横屏 · 标准)', maxFrames: 1125, isLandscape: true, aspect: '16:9' }, { value: '480x832', width: 480, height: 832, label: '480×832 (竖屏 · 推荐短剧)', maxFrames: 1125, isLandscape: false, aspect: '9:16' }, { value: '1024x576', width: 1024, height: 576, label: '1024×576 (横屏 · 高清)', maxFrames: 743, isLandscape: true, aspect: '16:9' }, { value: '576x1024', width: 576, height: 1024, label: '576×1024 (竖屏 · 高清)', maxFrames: 743, isLandscape: false, aspect: '9:16' }, { value: '448x256', width: 448, height: 256, label: '448×256 (横屏 · 超长)', maxFrames: 1200, isLandscape: true, aspect: '16:9' }, { value: '256x448', width: 256, height: 448, label: '256×448 (竖屏 · 超长)', maxFrames: 1200, isLandscape: false, aspect: '9:16' }, ]; export const DEFAULT_RES = '480x832'; export const DEFAULT_DUR = '243'; // 10s @ 24fps export const DURATIONS = [ { value: '124', frames: 124, label: '5秒 (124帧)' }, { value: '243', frames: 243, label: '10秒 (243帧 · 默认)' }, { value: '362', frames: 362, label: '15秒 (362帧)' }, { value: '412', frames: 412, label: '17秒 (412帧 · 1344上限)' }, { value: '600', frames: 600, label: '25秒 (600帧)' }, { value: '743', frames: 743, label: '31秒 (743帧 · 1024上限)' }, { value: '900', frames: 900, label: '37.5秒 (900帧)' }, { value: '1125', frames: 1125, label: '47秒 (1125帧 · 832上限)' }, { value: '1200', frames: 1200, label: '50秒 (1200帧 · 256画质上限)' }, ]; export const STEPS_BY_TURBO = { true: [ { value: '4', label: '4 步 (极速推荐 · LoRA 蒸馏)' }, { value: '8', label: '8 步 (上限)' }, ], false: [ { value: '20', label: '20 步 (平衡标准)' }, { value: '50', label: '50 步 (全质量 · 约9.6倍耗时)' }, ], }; export const SEED_OPTIONS = [ { value: '0', label: '0 (默认固定)' }, { value: '42', label: '42' }, { value: '123', label: '123' }, { value: '2024', label: '2024' }, { value: 'random', label: '🎲 随机 Seed' }, ];