# Hailuo 02 (https://docs.fuser.studio/docs/nodes/video/hailuo-02)

_Provided by [Fal](https://fal.ai) — [Learn More](https://fal.ai/models/fal-ai/minimax/hailuo-02/standard/image-to-video)._

## Inputs [#inputs]

- **Prompt** (`textarea`) — The prompt to generate a video from.

- **First Frame** (`image`) — The image to use as the first frame of the video.

   Optional: `true`

- **Last Frame** (`image`) — The image to use as the last frame of the video.

   Optional: `true`

- **Model** (`dropdown`) — The model to use for video generation.

   Optional: `true` • Default: `standard` • Accepts: `Fast (Image to Video)`, `Standard`, `Pro`

- **Duration** (`dropdown`) — The duration of the generated video. This property is only available for the Standard model.

   Optional: `true` • Default: `6` • Accepts: `6 seconds`, `10 seconds`

- **Resolution** (`dropdown`) — The resolution of the generated video. This property is only available for the Standard model when using the image to video mode.

   Optional: `true` • Default: `768P` • Accepts: `512p`, `768p`

- **Optimize Prompt** (`toggle`) — Optimize the prompt with more details, specificity, and clarity.

   Optional: `true` • Default: `true`

## Outputs [#outputs]

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