Files
2026-06-07 20:43:31 -07:00

1.5 KiB

GrokVideoEditNode

Category: api node/video/Grok

Display Name: Grok Video Edit

Description

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

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

Parameter Data Type Required Range Description
model COMBO Yes "grok-imagine-video-beta" The AI model to use for video editing.
prompt STRING Yes N/A Text description of the desired video.
video VIDEO Yes N/A The input video to be edited. Maximum supported duration is 8.7 seconds and 50MB file size.
seed INT No 0 to 2147483647 A seed value to determine if the node should re-run. The actual results are nondeterministic regardless of the seed value (default: 0).

Constraints:

  • The input video must be between 1 and 8.7 seconds in duration.
  • The input video file size must not exceed 50MB.

Outputs

Output Name Data Type Description
video VIDEO The edited video generated by the AI model.

Source: comfy_api_nodes/nodes_grok.py

Used in 1 template(s)