Skip to main content

VideoEditing

Edit a temporal region or append video to one verified source clip.

operationOperation (string)required

Retake regenerates a region; extend appends to the source to reach the requested total duration.

Possible values: [retake, extend]

start_seconds object

Inclusive retake-region start, snapped to the causal latent grid.

anyOf
number

Possible values: >= 0 and <= 120

end_seconds object

Exclusive retake-region end, including the complete aligned clip duration, snapped to the causal latent grid.

anyOf
number

Possible values: > 0 and <= 121

regenerate_audioRegenerate Audio (boolean)

Retake also regenerates its audio region; false preserves the source track. Extension generates new audio.

Default value: true
VideoEditing
{
"operation": "retake",
"start_seconds": 0,
"end_seconds": 0,
"regenerate_audio": true
}