VideoCreateIn
qualityQuality
standard,或 pro:支持参考素材、最长 15 秒和 4k 分辨率。默认为 standard。
可能的取值: [standard, pro]
默认值:
standardpromptPrompt必填
视频里发生的事。
可能的取值: 非空 and <= 4000 个字符
first_framestring<uuid>可为 null
视频开头的图片(文件 id)。
last_framestring<uuid>可为 null
视频结尾的图片(文件 id)。需要同时提供 first_frame。
reference_imagesstring<uuid>[]可为 null
仅 pro:最多 9 张图片(文件 id),视频会参照它们的主体或外观。不能与 first_frame / last_frame 同时使用。
可能的取值: <= 9
reference_videosstring<uuid>[]可为 null
仅 pro:最多 3 段视频(文件 id),合计最多 15 秒,视频会跟随它们的动作或运镜。
可能的取值: <= 3
reference_audiosstring<uuid>[]可为 null
仅 pro:最多 3 段音频(文件 id),用作视频的声音。需要至少一张参考图片或一段参考视频。
可能的取值: <= 3
durationDuration
时长(秒):4–12(pro:最长 15)。默认为 5。
可能的取值: >= 4 and <= 15
默认值:
5aspect_ratioAspect Ratio
画幅;auto 表示跟随输入。默认为 auto。
可能的取值: [16:9, 4:3, 1:1, 3:4, 9:16, 21:9, auto]
默认值:
autoresolutionResolution
480p、720p 或 1080p(pro:还支持 4k)。默认为 720p。
可能的取值: [480p, 720p, 1080p, 4k]
默认值:
720paudioAudio
让视频带声音。默认为 true。
默认值:
trueVideoCreateIn
{
"prompt": "A paper boat drifting down a rainy street, the camera following it"
}