Skip to main content

VideoPromptSegment

One local scene prompt occupying a specified fraction of the timeline.

promptPrompt (string)required

Local scene description, encoded alongside the global prompt.

Possible values: non-empty and <= 8000 characters

lengthLength (integer)required

Relative timeline length; segments share the actual clip in this ratio.

Possible values: >= 1 and <= 120

VideoPromptSegment
{
"prompt": "string",
"length": 0
}