model | string (enum) | Yes | — | Model name. Available values: MiniMax-Hailuo-02. Note: FL2V does not support 512P resolution |
first_frame_image | string | No | — | Image for the video's first frame. Supports a public URL or Base64 Data URL. The output video dimensions follow the first frame image. See image requirements below |
last_frame_image | string | Yes | — | Image for the video's last frame. Supports a public URL or Base64 Data URL. When frame dimensions differ, the model will crop the last frame to match the first frame. See image requirements below |
prompt | string | No | — | Video text description, up to 2000 characters. MiniMax-Hailuo-02 supports [instruction] camera controls (see Appendix) |
prompt_optimizer | boolean | No | true | Whether to auto-optimize the prompt. Set to false for more precise control |
duration | integer | No | 6 | Video duration in seconds. Available values depend on resolution (see table below) |
resolution | string (enum) | No | 768P | Video resolution. Available values: 768P, 1080P |
callback_url | string | No | — | Webhook URL for task status change notifications (see Appendix) |
aigc_watermark | boolean | No | false | Whether to add a watermark to the generated video |