Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The Grok Reference-to-Video node generates a video based on a text prompt, using up to seven reference images to guide the style and content of the output. It connects to an external API to create the video, which is then downloaded and returned.

Inputs

ParameterData TypeRequiredRangeDescription
promptSTRINGYesN/AText description of the desired video.
modelCOMBOYes"grok-imagine-video"The model to use for video generation.
model.reference_imagesIMAGEYes1 to 7 imagesUp to 7 reference images to guide the video generation.
model.resolutionCOMBOYes"480p"
"720p"
The resolution of the output video.
model.aspect_ratioCOMBOYes"16:9"
"4:3"
"3:2"
"1:1"
"2:3"
"3:4"
"9:16"
The aspect ratio of the output video.
model.durationINTYes2 to 10The duration of the output video in seconds (default: 6).
seedINTNo0 to 2147483647Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0).
Note: The model parameter is a group containing reference_images, resolution, aspect_ratio, and duration. You must provide at least one reference image, and you can provide up to seven.

Outputs

Output NameData TypeDescription
videoVIDEOThe generated video file.

Source fingerprint (SHA-256): df50e80ca403d05469881e1c456ca4777d70989d8950c5e3844271c3ff8df85a