Model
Supported Modes
| Mode | Description |
|---|---|
text_to_video | 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 | Yes | — | text_to_video or first_last_frame |
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, 10, or 12 |
resolution | string | No | "720p" | 720p or 1080p |
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. |
