Skip to main content
Generates videos from text prompts using the MiniMax Hailuo-02 model. You can optionally provide a starting image as the first frame to create a video that continues from that image.

Inputs

ParameterDescriptionData TypeRequiredRange
prompt_textText prompt to guide the video generation.STRINGYes-
seedThe random seed used for creating the noise (default: 0).INTNo0 to 18446744073709551615
first_frame_imageOptional image to use as the first frame to generate a video.IMAGENo-
prompt_optimizerOptimize prompt to improve generation quality when needed (default: True).BOOLEANNo-
durationThe length of the output video in seconds (default: 6).COMBONo6
10
resolutionThe dimensions of the video display. 1080p is 1920x1080, 768p is 1366x768 (default: “768P”).COMBONo"768P"
"1080P"
Note: When using the MiniMax-Hailuo-02 model with 1080P resolution, the duration is limited to 6 seconds.

Outputs

Output NameDescriptionData Type
outputThe generated video file.VIDEO
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 180e8d3c739e34094a12a719d3187378a4c360a5799a4b23029edf164d0c55a3