Video(Image-to-video)
POST
/minimaxi/v1/video_generationImage-to-video from from Minimax
Minimax Document:https://platform.minimaxi.com/document/video_generation?key=66d1439376e52fcee2853049#whYrra7nHOP2eZy9yMMbnnU6
Price:0.4 PTC / call
请求参数
Model ID of the algorithm called. optional: video-01
Generate a description of the video. (Note: needs to be less than 200 words)
With a default value of True, the model automatically optimizes the incoming prompt to enhance generation quality. If more precise control is needed, set this parameter to False so the model can follow the instructions more closely. In such cases, it's advisable to provide a more fine-tuned prompt for optimal results.
The model uses the image passed through this parameter as the first frame to generate the video. The URL or base64 encoding of the image can be provided. When passing this parameter, you can set the prompt to an empty string or omit it entirely, allowing the model to decide how to evolve the image. Incoming images must meet the following conditions: JPG/JPEG/PNG format, aspect ratio between 2:5 and 5:2, short side pixels greater than 300px, and a size no larger than 20MB.
{
"model": "video-01",
"prompt": "a man is smile",
"first_frame_image": "https://file.302ai.cn/gpt/imgs/20241012/813d3e2cecf146b1b5a3d1e742ee3e5d.png"
}
示例代码
Responses
{}