task_id of a completed video generation and choose between preset mode or custom mode.
Model
Modes
There are two mutually exclusive modes:| Mode | How to activate | Behaviour |
|---|---|---|
| Preset | Provide video_preset | The preset controls the video style. prompt, extend_at, and extend_duration are ignored |
| Custom | Omit video_preset | You control timing and prompt. prompt, extend_at, and extend_duration are required |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task ID of a completed video generation |
video_preset | string | No | "spicy" or "normal". Enables preset mode |
prompt | string | No | Text prompt to guide the extension. Required in custom mode |
extend_at | float | No | Second in the source video to start the extension from. Required in custom mode |
extend_duration | int | No | Length of the extension: 6 or 10 seconds. Required in custom mode |
