GET /v1/video/generations/{task_id}GET /v1/videos/{task_id} for the result.model, prompt, seconds, and an optional image URL.ratio, resolution, generate_audio, watermark,content, ...) go inside the metadata object.seconds is a string. "-1" lets the model choose the duration.| Scenario | Fields |
|---|---|
| Text to video | model, prompt |
| Image to video, first frame | model, prompt, image |
| Image to video, first and last frame | model, prompt, metadata.content with role: first_frame and role: last_frame |
| Multimodal reference | model, prompt, metadata.content with several reference items |
| Edit video | model, prompt, metadata.content with video_url, plus omni_reference_task_type: edit |
| Extend video | model, prompt, metadata.content with video_url, plus omni_reference_task_type: extend |
image and every metadata.content entry take an HTTP(S) URL or adata:image/png;base64,.... Uploaded files areseconds is "-1" the model picks the length,duration field.