content | object[] | true | Video assets, provided in params; use the slug from the model table for the top-level model field. Supports text, first-frame, first-and-last-frame, and omni-reference inputs; up to 10 reference images, 5 videos, and 5 audio clips. First-frame, first-and-last-frame, and omni-reference modes cannot be combined. |
|---|
content[].type | string | true | text, image_url, video_url, or audio_url. |
|---|
content[].text | string | conditional | Required when type=text; English text of no more than 1000 words is recommended. |
|---|
content[].image_url | object | conditional | Required when type=image_url; must contain url. |
|---|
content[].image_url.url | string | conditional | A public URL, data:image/...;base64,..., or asset:// asset URI; each image must be smaller than 30MB, with width and height between 300 and 6000 pixels and an aspect ratio between 0.4 and 2.5. |
|---|
content[].video_url | object | conditional | Required when type=video_url; must contain url. |
|---|
content[].video_url.url | string | conditional | A public URL or asset URI for the reference video; must comply with the upstream provider's format and asset duration limits. |
|---|
content[].audio_url | object | conditional | Required when type=audio_url; must contain url. Audio-only input is supported. |
|---|
content[].audio_url.url | string | conditional | A public URL or asset URI for the reference audio. |
|---|
content[].role | string | conditional | Use first_frame for the first frame, last_frame for the last frame, reference_image for a reference image, reference_video for a video, or reference_audio for audio; required in first-and-last-frame and omni-reference modes. |
|---|
omni_reference_task_type | string | false | Defaults to auto; other options are reference, edit, and extend. edit requires a 4-30-second reference video, ratio=adaptive, and duration=-1; extend requires a reference video and ratio=adaptive. |
|---|
resolution | string | false | Defaults to 720p; only 480p and 720p are supported. |
|---|
ratio | string | false | Defaults to adaptive; supports 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, and adaptive. First-frame, first-and-last-frame, video editing, and video extension modes support only adaptive. |
|---|
duration | integer | false | Defaults to -1 (automatic); supports 4-30 seconds or -1. Must be -1 for video editing to preserve the reference video's duration. |
|---|
generate_audio | boolean | false | Defaults to true to generate a synchronized audio track; false generates a silent video. |
|---|
watermark | boolean | false | Defaults to false; true displays an AI Generated watermark. |
|---|
output_format | string | false | Defaults to mp4; options are mp4 and mov. |
|---|
return_last_frame | boolean | false | Defaults to false; when true, the result query response includes the last frame as a watermark-free JPEG. |
|---|
service_tier | string | false | Only default for online inference is supported; flex is not supported. |
|---|
callback_url | string | false | The URL that receives POST notifications when the upstream task status changes; notifications include the upstream task ID, while the platform's /result endpoint uses the local jobId. |
|---|
execution_expires_after | integer | false | Defaults to 172800; range: 3600-259200, in seconds. |
|---|
priority | integer | false | Defaults to 0; range: 0-9. Higher values indicate higher priority; applies only within the same Endpoint. |
|---|
safety_identifier | string | false | A unique end-user identifier of up to 64 English characters; using a hash of the user identifier is recommended. |
|---|