You're looking at a specific version of this model. Jump to the model overview.
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Text prompt for video generation. Maximum 5000 characters.
|
|
| start_image |
string
|
Start frame image for the video. When provided without an end_image, the model runs in image-to-video mode. Supported formats: png, jpeg, jpg, webp.
|
|
| end_image |
string
|
End frame image for the video. Must be used together with start_image for start-end-to-video mode. The aspect ratios of start and end images must be similar (ratio between 0.8 and 1.25). Supported formats: png, jpeg, jpg, webp.
|
|
| duration |
integer
|
5
Min: 1 Max: 16 |
Duration of the video in seconds.
|
| aspect_ratio |
None
|
16:9
|
Aspect ratio of the output video. Only used in text-to-video mode (ignored when images are provided).
|
| resolution |
None
|
720p
|
Resolution of the output video.
|
| audio |
boolean
|
True
|
Whether to generate audio synchronized with the video (dialogue and sound effects).
|
| seed |
integer
|
Random seed. Set for reproducible generation.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}