Nodes/ERPK Collection/Grok Text to Video
ComfyUI Node

Grok Text to Video

Generate a video from a text prompt using xAI Grok.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Grok Text to Video
  • client
  • video_url
prompt
modelgrok-imagine-video
aspect_ratio16:9
resolution720p
duration5
seed-1
CategoryERPK/Grok/Video

Inputs (7)

NameTypeDefaultDescription
promptSTRINGText description of the video to generate.
clientoptGROK_API_CLIENTGrok API client from Grok API Client node. Optional: when unconnected, the key is resolved from ComfyUI Settings or grok/config.ini.
modeloptCOMBOgrok-imagine-videoxAI video model.
aspect_ratiooptCOMBO16:9Output aspect ratio.
resolutionoptCOMBO720pOutput resolution. 480p is faster; 720p is HD.
durationoptINT51–15Video duration in seconds (1–15).
seedoptINT-1-1–4294967295Seed for ComfyUI cache invalidation only — not forwarded to the API. -1 for random.

Outputs (1)

NameTypeDescription
video_urlSTRING