ComfyUI Video Generator
AI-generatedSummary
Generate video from two input images using a ComfyUI workflow, queue generation, and return the resulting video binary with metadata.
Inputs
- workflow (required) — The ComfyUI workflow in JSON format with video output nodes (e.g., AnimateDiff, SVD)
- firstImageType (required) — Input type for the first image
- firstImage (required) — URL or base64 data of the first input image
- firstImageBinaryProperty (required) — Name of the binary property containing the first image
- secondImageType (required) — Input type for the second image
- secondImage (required) — URL or base64 data of the second input image
- secondImageBinaryProperty (required) — Name of the binary property containing the second image
- firstImageNodeId (required) — Node ID in workflow for the first LoadImage node
- secondImageNodeId (required) — Node ID in workflow for the second LoadImage node
- frameCount — Number of frames to generate for the video
- frameRate — Frame rate for the output video
- timeout — Maximum time in minutes to wait for video generation
Output shape
single item with json and binary payload
Returns video binary as base64 along with metadata JSON describing mimeType, fileName, status, frameCount, frameRate, and duration. Throws NodeApiError on timeout or generation failure.