Model
Supported Modes
| Mode | Description |
|---|---|
| (omit) | Text-to-video. You control the aspect ratio. |
first_last_frame | Start frame required, end frame optional. Aspect ratio auto-detected from input. |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | "" | Text description of the desired video |
mode | string | No | null | first_last_frame. Omit for text-to-video. |
aspect_ratio | string | No | "1:1" | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Only used for text-to-video. |
duration | integer | No | 5 | Duration in seconds: 5 or 10 |
seed | integer | No | random | Seed for reproducibility |
first_frame_url | string | Conditional | null | Start frame image. Required for first_last_frame. |
last_frame_url | string | No | null | End frame image. Optional for first_last_frame. |
