Skip to main content

VideoRemakeIn

videostring<uuid>required

The source video (a file id) to shoot a new take after.

promptPromptrequired

What the new take shows.

Possible values: non-empty and <= 2500 characters

reference_imagesstring<uuid>[]nullable

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

Possible values: <= 4

aspect_ratioAspect Ratio

The frame's shape; auto follows the source. Defaults to auto.

Possible values: [auto, 16:9, 9:16, 1:1]

Default value: auto
durationDurationnullable

Length in seconds, 3–15. Omit to follow the source.

Possible values: >= 3 and <= 15

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

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