Skip to main content

VideoEditIn

qualityQuality

standard, or pro for 1080p output. Defaults to standard.

Possible values: [standard, pro]

Default value: standard
videostring<uuid>required

The source video (a file id), 3 to 15 seconds long.

promptPromptrequired

The change to make; the rest of the video — its length and its shots — stays the same.

Possible values: non-empty and <= 2500 characters

reference_imagesstring<uuid>[]nullable

Up to 4 images (file ids) of what to bring into the video.

Possible values: <= 4

keep_audioKeep Audio

Keep the source video's sound. Defaults to true.

Default value: true
start_secondsStart Secondsnullable

Where the part of the source video to use begins, in seconds. Needed only when the source is longer than this operation takes; without it such a generation fails with invalid_input.

Possible values: >= 0 and <= 86400

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