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 Video Extend node uses an AI model to create a seamless continuation of an existing video. You provide a short video and a text prompt describing what should happen next, and the node generates a new video clip that follows on from the original.

Inputs

ParameterData TypeRequiredRangeDescription
promptSTRINGYesN/AText description of what should happen next in the video.
videoVIDEOYesN/ASource video to extend. MP4 format, 2-15 seconds.
modelCOMBOYes"grok-imagine-video"The model to use for video extension. When selected, it reveals a nested duration parameter.
seedINTNo0 to 2147483647Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0).
Parameter Constraints:
  • The video input must be an MP4 file between 2 and 15 seconds in length and cannot exceed 50MB in file size.
  • The prompt must contain at least one character (whitespace is trimmed).
  • The model parameter is a dynamic combo. Selecting the “grok-imagine-video” option reveals a nested duration parameter, which controls the length of the extension in seconds (default: 8, range: 2 to 10).

Outputs

Output NameData TypeDescription
outputVIDEOThe newly generated video extension.

Source fingerprint (SHA-256): 7e56ecb0cb31795b4124671e074ef274d6de61ec2cd734b6edd5e76a3cb6a7ba