# Grok Imagine (https://docs.fuser.studio/docs/nodes/video/grok-imagine)

_Provided by [Fal](https://fal.ai) — [Learn More](https://fal.ai/models/xai/grok-imagine-video/text-to-video)._

## Inputs [#inputs]

- **Prompt** (`textarea`) — Text description of the video to generate. When using reference images, cite them as @Image1, @Image2, etc. in your prompt. Maximum 4096 characters.

- **Images** (`image`) _(accepts multiple)_ — Optional images to guide video generation. Provide no images for text-to-video, one image to animate it as the first frame, or two to seven images as visual references (cite them as @Image1, @Image2, etc. in your prompt).

   Optional: `true`

- **Duration** (`slider`) — Video duration in seconds. Text-to-video and image-to-video support 1–15 seconds. Reference-to-video supports 1–10 seconds.

   Optional: `true` • Default: `6` • Minimum: `1` • Maximum: `15`

- **Aspect Ratio** (`dropdown`) — Aspect ratio of the generated video. "Auto" matches the input image aspect ratio and is only applicable for image-to-video mode.

   Optional: `true` • Default: `16:9` • Accepts: `Auto`, `16:9`, `4:3`, `3:2`, `1:1`, `2:3`, `3:4`, `9:16`

- **Resolution** (`dropdown`) — Resolution of the generated video.

   Optional: `true` • Default: `720p` • Accepts: `480p`, `720p`

## Outputs [#outputs]

- **Generated Video** (`video`) — The generated video from the model.