From 3dd300950a77eedf8032542e1be1aa3ac2ec116a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Mon, 20 Oct 2025 21:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=88=9B=E5=BB=BA=EF=BC=9A?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=97=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/DTO/movie_start_dto.ts | 2 ++ components/pages/create-video/CreateInput/VideoCreationForm.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/api/DTO/movie_start_dto.ts b/api/DTO/movie_start_dto.ts index c0a47bc..220fc95 100644 --- a/api/DTO/movie_start_dto.ts +++ b/api/DTO/movie_start_dto.ts @@ -351,6 +351,8 @@ export interface CreateMovieProjectV4Request { aspect_ratio: AspectRatioValue; /** 扩展模式 */ expansion_mode: boolean; + /** 视频时长 */ + video_duration: string; /** 是否是图生 */ is_image_to_video: boolean; /** pcode编码 */ diff --git a/components/pages/create-video/CreateInput/VideoCreationForm.tsx b/components/pages/create-video/CreateInput/VideoCreationForm.tsx index 4eea06f..f01d29e 100644 --- a/components/pages/create-video/CreateInput/VideoCreationForm.tsx +++ b/components/pages/create-video/CreateInput/VideoCreationForm.tsx @@ -192,6 +192,7 @@ export default function VideoCreationForm() { language: configOptions.language, aspect_ratio: configOptions.aspect_ratio, expansion_mode: configOptions.expansion_mode, + video_duration: configOptions.videoDuration, is_image_to_video: photos.length > 0, pcode: configOptions.pcode === 'portrait' ? '' : configOptions.pcode, };