From 77ab52504044f9211309a9ff3075759090e3c8c9 Mon Sep 17 00:00:00 2001 From: GouJ Date: Thu, 24 Sep 2026 18:51:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=95=E9=95=9C=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=94=AF=E6=8C=81=E6=89=8B=E5=8A=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E8=BE=93=E5=85=A5=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ShotProductionAssets.vue | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/features/production/components/ShotProductionAssets.vue b/src/features/production/components/ShotProductionAssets.vue index e0873a2..f0a7e7d 100644 --- a/src/features/production/components/ShotProductionAssets.vue +++ b/src/features/production/components/ShotProductionAssets.vue @@ -119,6 +119,7 @@ const generationCatalog = ref(null) const generationCatalogError = ref('') const videoProvider = ref('') const videoGenerationOptions = ref({}) +const videoInputModeOverride = ref<'auto' | 'first_frame' | 'omni_reference'>('auto') const projectAspectRatio = ref('9:16') /** 单镜手动生成默认继承项目配置,用户修改只作用于本次请求。 */ @@ -258,7 +259,10 @@ async function generateVideo() { await runOperation(props.projectId, `提交镜头 ${props.shot.shotNo} 视频质量任务`, async () => { const result = await productionApi.generateQualityVideo(shotId, { provider: videoProvider.value || undefined, - inputMode: videoInputPlan.value?.inputMode, + inputMode: + videoInputModeOverride.value === 'auto' + ? videoInputPlan.value?.inputMode + : videoInputModeOverride.value, generationOptions: videoGenerationOptions.value, maxRepairAttempts: 2, allowedTexts: [] @@ -658,6 +662,23 @@ async function inspectSpecs() { @update:provider="videoProvider = $event" @update:options="videoGenerationOptions = $event" /> +
+

输入模式

+ +

自动模式遵循后端 Planner;手动选择只影响当前镜头本次生成。

+
生成模型目录读取失败:{{ generationCatalogError }}