ComfyUI Node
BYOKey Grok Video (xAI)
Generate a video from a prompt or an image using Grok (xAI).
BYOKey Grok Video (xAI)
- image
- output
◄api_key►
◄base_urlhttps://api.x.ai/v1►
◄modelgrok-imagine-video►
◄prompt►
◄resolution480p►
◄aspect_ratioauto►
◄duration6►
◄seed0►
◄poll_interval10►
◄max_wait600►
Categoryapi/byokey/video
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| base_url | STRING | https://api.x.ai/v1 | — |
| model | COMBO | grok-imagine-video | grok-imagine-video-1.5 currently always requires an input image. |
| prompt | STRING | Text description of the desired video. | |
| resolution | COMBO | 480p | The resolution of the output video. |
| aspect_ratio | COMBO | auto | The aspect ratio of the output video. |
| duration | INT | 61–15 | The duration of the output video in seconds. |
| seed | INT | 00–2147483647 | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed. |
| imageopt | IMAGE | Optional starting image for grok-imagine-video. Required for grok-imagine-video-1.5. | |
| poll_intervalopt | INT | 101–120 | — |
| max_waitopt | INT | 60030–3600 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | VIDEO | — |