MiniMax H3
curl --request POST \
--url https://api.ppio.com/v3/minimax/v2/video_generationimport requests
url = "https://api.ppio.com/v3/minimax/v2/video_generation"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.ppio.com/v3/minimax/v2/video_generation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ppio.com/v3/minimax/v2/video_generation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ppio.com/v3/minimax/v2/video_generation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ppio.com/v3/minimax/v2/video_generation")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ppio.com/v3/minimax/v2/video_generation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body视频
MiniMax H3
POST
/
v3
/
minimax
/
v2
/
video_generation
MiniMax H3
curl --request POST \
--url https://api.ppio.com/v3/minimax/v2/video_generationimport requests
url = "https://api.ppio.com/v3/minimax/v2/video_generation"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.ppio.com/v3/minimax/v2/video_generation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ppio.com/v3/minimax/v2/video_generation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ppio.com/v3/minimax/v2/video_generation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ppio.com/v3/minimax/v2/video_generation")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ppio.com/v3/minimax/v2/video_generation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body官方文档参考:MiniMax-视频生成API参考
参数及使用方式已对齐官方,详细参数可直接参考官方文档。
一、支持模型
| 模型 | 支持分辨率 |
|---|---|
MiniMax-H3 | 768P、2K |
MiniMax-H3-Max | 480P、768P |
MiniMax-H3-Highspeed | 480P、768P |
MiniMax-H3-Lite | 480P、768P |
二、视频生成 API
创建任务:
POST https://{api_domain}/v3/minimax/v2/video_generation
curl -X POST 'https://{api_domain}/v3/minimax/v2/video_generation' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMax-H3",
"content": [
{
"type": "text",
"text": "A cinematic product video in a clean studio"
}
],
"resolution": "768P",
"duration": 4,
"ratio": "16:9"
}'
创建视频重生成任务:
POST https://{api_domain}/v3/minimax/v2/video_regeneration
curl -X POST 'https://{api_domain}/v3/minimax/v2/video_regeneration' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMax-H3",
"source_task_id": "424010985738629",
"resolution": "2K"
}'
创建 Context IR 任务:
POST https://{api_domain}/v3/minimax/v2/h3_context_ir
curl -X POST 'https://{api_domain}/v3/minimax/v2/h3_context_ir' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMax-H3",
"content": [
{
"type": "text",
"text": "A cinematic product video in a clean studio"
},
{
"type": "image_url",
"image_url": { "url": "https://your-cdn.example.com/product.png" },
"role": "reference_image"
}
],
"duration": 6
}'
查询任务:
GET https://{api_domain}/v3/minimax/v2/query/video_generation/{task_id}
curl -X GET 'https://{api_domain}/v3/minimax/v2/query/video_generation/427916141998479' \
-H 'Authorization: Bearer <YOUR_API_KEY>'
最后修改于 2026年11月24日