跳到主要内容

VideoEditIn

qualityQuality

standard,或 pro:输出 1080p。默认为 standard。

可能的取值: [standard, pro]

默认值: standard
videostring<uuid>必填

源视频(文件 id),时长 3 到 15 秒。

promptPrompt必填

要做的修改;视频的其余部分——时长和镜头——保持不变。

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

reference_imagesstring<uuid>[]可为 null

最多 4 张图片(文件 id):要加进视频里的东西。

可能的取值: <= 4

keep_audioKeep Audio

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

默认值: true
start_secondsStart Seconds可为 null

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

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

VideoEditIn
{
"prompt": "Turn the daytime scene into a snowy night",
"video": "a3d5e7f9-1b2c-4d6e-8f0a-9c7b5d3e1f24"
}