Generate a short video clip from either one uploaded external image or a Grok-generated image reference.
-
prompt Optional motion prompt. Maximum length: 5000 characters.
-
images Optional external source image batch. If connected, only the first image is uploaded and used.
-
task_id Optional Grok image-generation task id. Use this instead of
imageswhen you want to animate one of Grok's generated images. -
index Which image to use from the Grok
task_idsource. Range: 0 to 5. -
mode Choose from fun, normal, or spicy. Spicy is only supported for
task_idsources. -
duration Output length in seconds: 6, 10, or 15.
-
resolution Choose 480p or 720p.
-
log Enable console logging.
- VIDEO ComfyUI VIDEO output compatible with the SaveVideo node.
-
External image mode Connect
imagesand leavetask_idempty. -
Grok image reference mode Set
task_idandindex, and leaveimagesdisconnected.
- Provide exactly one source method:
imagesortask_id. - External image mode supports one image only.
- If multiple ComfyUI images are connected, the first image is used.
- If
mode=spicyis selected with an external image, the node logs a warning and sendsnormal. - The KIE callback example for this endpoint appears to show a
.jpgURL inresultUrls; this node treats the endpoint as video and downloads the first result as VIDEO output.