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, };