generate_video
Submit a video generation prompt and receive a videoId to poll for progress. Enable wait to block until video is complete, with optional auto-download to a specified directory.
Instructions
Submit a video generation task. By default returns a videoId immediately for progress polling with get_video. Set wait=true to block until generation completes. Optionally provide outputDir to auto-download the video when completed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| seed | No | ||
| wait | No | ||
| image | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| outputDir | No | ||
| frame_rate | No | ||
| num_frames | No | ||
| negative_prompt | No |