comfyui_generate_video
Generate videos from text prompts and reference images using ComfyUI workflows. Control duration, frames, resolution, seed, and advanced parameters; poll job status for results.
Instructions
Generate a video with the default video workflow (preset "video"). image/image2 are
start or reference images (URL, base64 or ComfyUI input filename) if the workflow uses them.
Use duration (seconds) or length (frames), whichever the workflow maps.
Video is slow: by default returns immediately; poll comfyui_job_status.
Empty arguments keep the workflow's own values. extra sets more workflow params or raw
"." overrides; workflow swaps the preset for another workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| seed | No | ||
| wait | No | ||
| extra | No | ||
| image | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| image2 | No | ||
| length | No | ||
| prompt | Yes | ||
| timeout | No | ||
| duration | No | ||
| workflow | No | ||
| aspect_ratio | No | ||
| negative_prompt | No |