Skip to main content
This node uses the Grok API to edit an existing video based on a text prompt. It uploads your video, sends a request to the AI model to modify it according to your description, and returns the newly generated video.

Inputs

ParameterDescriptionData TypeRequiredRange
modelThe AI model to use for video editing (default: "grok-imagine-video").COMBOYes"grok-imagine-video"
"grok-imagine-video-beta"
promptText description of the desired video.STRINGYesN/A
videoThe input video to be edited. Maximum supported duration is 8.7 seconds and 50MB file size.VIDEOYesN/A
seedA seed value to determine if the node should re-run. The actual results are nondeterministic regardless of the seed value (default: 0).INTNo0 to 2147483647
Constraints:
  • The input video must be between 1 and 8.7 seconds in duration.
  • The input video file size must not exceed 50MB.
  • The prompt must not be empty.

Outputs

Output NameDescriptionData Type
videoThe edited video generated by the AI model.VIDEO
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 04cdc989b48445562017cd2c2066c773473c5c241ed94ff6eca00b8aadf4c6df