Grok Imagine Video

xAI's Grok video generation model. Auto-switches between text-to-video and image-to-video based on inputs.

Try Grok Imagine Video in the playground

Last updated View as MarkdownAgent setup

Grok Imagine Video

Badge: New
Node type: video:xai_grok_imagine_video_text_to_video
Category: video

Description

Grok Imagine Video is xAI's video generation model. The Wireflow node switches between text to video and image to video based on its inputs: a prompt alone makes a clip from text, and a wired image animates that image. Clips run 1 to 15 seconds at 480p or 720p, in aspect ratios such as 16:9, 1:1 and 2:3. Its node type is video:xai_grok_imagine_video_text_to_video. Call it from code by running a saved workflow that contains it with POST /api/v1/workflows/{id}/run, or let an agent build and run it over the Wireflow MCP server. It costs about 10 credits per second. That is the rate for a 5-second clip; shorter clips can cost a bit more per second, and you are always charged for the real length.

Pricing

  • Cost: ~10 credits per second
  • Per-second rate: The figure is the rate for a 5-second clip. Shorter clips can cost a bit more per second. You're always charged for the real length.

Variant family

  • Family: xai-grok-imagine-video
  • Is primary: yes
  • All variants: video:xai_grok_imagine_video_text_to_video, video:xai_grok_imagine_video_image_to_video

Canvas ports

These appear as port handles on the left side of the node.

ID Label Details
prompt Prompt TEXT (required)
image_url Image URL IMAGE — Optional - uses text-to-video when not connected

These render as form fields in the right-side config panel when the node is selected.

ID Label Details
duration Duration NUMBER · 1…15 — Video duration in seconds.
aspect_ratio Aspect Ratio TEXT · options: 16:9, 4:3, 3:2, 1:1, 2:3, +2
resolution Resolution TEXT · options: 480p, 720p

Outputs

ID Label Type
video Generated Video VIDEO

Auto-generated from the Wireflow node registry.

For AI agents: the full documentation index is at /llms.txt, and most docs pages are available as Markdown by adding .md to the URL.

© 2026 Wireflow. All rights reserved.