Video

Video Generation

Generate video from text prompt

post/v1/video_generation

Request

Request body

promptstring

Text prompt for video generation

model'MiniMax-Hailuo-02' | 'T2V-01-Director' | 'T2V-01' required

Model to use for video generation

prompt_optimizerboolean

Whether to optimize the prompt

seedinteger

Random seed for generation

callback_urlstring

Callback URL for completion notification

first_frame_imagestring

First frame image URL

watermarkstring

Watermark settings

durationinteger

Video duration in seconds

resolutionstring

Video resolution

aigc_watermarkboolean

Whether to add AIGC watermark

fast_pretreatmentboolean

Whether to use fast pretreatment

ignore_pretreatment_errorboolean

Whether to ignore pretreatment errors

user_translateboolean

Whether to use user translation

last_frame_imagestring

Last frame image URL

priorityinteger

Task priority

Response

Successful response

task_idstring

Task ID for tracking video generation

Changes

No recorded changes to this operation across all 1 revision of this API.