diff --git a/src/features/production/components/KeyframeDialog.vue b/src/features/production/components/KeyframeDialog.vue index f0146bf..cf8895a 100644 --- a/src/features/production/components/KeyframeDialog.vue +++ b/src/features/production/components/KeyframeDialog.vue @@ -84,7 +84,10 @@ async function loadPreview() { previewPending.value = true previewError.value = '' try { - const result = await productionApi.previewKeyframe(props.shotId) + const result = await productionApi.previewKeyframe(props.shotId, { + provider: imageProvider.value || undefined, + generationOptions: imageGenerationOptions.value + }) if (!result || result.shotId !== props.shotId) throw new Error('预览结果与当前镜头不匹配。') preview.value = result } catch (cause) {