跳到主要内容

VideoRemakeIn

videostring<uuid>必填

重拍时参照的源视频(文件 id)。

promptPrompt必填

新拍的这一条要呈现的内容。

可能的取值: 非空 and <= 2500 个字符

reference_imagesstring<uuid>[]可为 null

最多 4 张图片(文件 id):要加进这条重拍里的东西。

可能的取值: <= 4

aspect_ratioAspect Ratio

画幅;auto 表示跟随源视频。默认为 auto。

可能的取值: [auto, 16:9, 9:16, 1:1]

默认值: auto
durationDuration可为 null

时长(秒),3–15。不填则跟随源视频。

可能的取值: >= 3 and <= 15

keep_audioKeep Audio

保留源视频的声音。默认为 true。

默认值: true
start_secondsStart Seconds可为 null

要使用的源视频片段的起点(秒)。仅当源视频超过此操作能处理的时长时才需要;不填时,这样的生成会以 invalid_input 失败。

可能的取值: >= 0 and <= 86400

VideoRemakeIn
{
"duration": 5,
"prompt": "The same scene, shot as a hand-drawn animation",
"video": "a3d5e7f9-1b2c-4d6e-8f0a-9c7b5d3e1f24"
}