curl --request POST \
--url https://api.dreamto.ai/v2/video_regeneration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-H3",
"source_task_id": "task_7Rk2mQ9vXc4LpT8nWb3sYh6dZf1aGe5J",
"resolution": "2K"
}
'{
"task_id": "task_7Rk2mQ9vXc4LpT8nWb3sYh6dZf1aGe5J"
}{
"type": "error",
"error": {
"type": "bad_request_error",
"message": "invalid params, content must include a non-empty text item (prompt is required) (2013)",
"http_code": "400"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "authorized_error",
"message": "login fail: Please carry the API secret key in the 'Authorization' field of the request header (1004)",
"http_code": "401"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "insufficient_balance_error",
"message": "insufficient balance (1008)",
"http_code": "402"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "unprocessable_entity_error",
"message": "video description contains sensitive content (1026)",
"http_code": "422"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "rate_limit_error",
"message": "rate limit, please retry later (1002)",
"http_code": "429"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "server_error",
"message": "internal error (1000)",
"http_code": "500"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "overloaded_error",
"message": "the service is overloaded, please retry later (1000)",
"http_code": "529"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}MiniMax H3
创建视频再生成任务
把 MiniMax-H3 768P 视频再生成为 2K。可按任务 Id(source_task_id)或按源视频(content 中的 base_video)提交,二者必须且只能提供其一。返回的 task_id 用查询任务接口查询,task_type 为 regeneration。
POST
/
v2
/
video_regeneration
curl --request POST \
--url https://api.dreamto.ai/v2/video_regeneration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-H3",
"source_task_id": "task_7Rk2mQ9vXc4LpT8nWb3sYh6dZf1aGe5J",
"resolution": "2K"
}
'{
"task_id": "task_7Rk2mQ9vXc4LpT8nWb3sYh6dZf1aGe5J"
}{
"type": "error",
"error": {
"type": "bad_request_error",
"message": "invalid params, content must include a non-empty text item (prompt is required) (2013)",
"http_code": "400"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "authorized_error",
"message": "login fail: Please carry the API secret key in the 'Authorization' field of the request header (1004)",
"http_code": "401"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "insufficient_balance_error",
"message": "insufficient balance (1008)",
"http_code": "402"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "unprocessable_entity_error",
"message": "video description contains sensitive content (1026)",
"http_code": "422"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "rate_limit_error",
"message": "rate limit, please retry later (1002)",
"http_code": "429"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "server_error",
"message": "internal error (1000)",
"http_code": "500"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}{
"type": "error",
"error": {
"type": "overloaded_error",
"message": "the service is overloaded, please retry later (1000)",
"http_code": "529"
},
"request_id": "20261205112532258615475826d9d6AbCdEfGh"
}请求体
application/json
创建视频再生成任务的请求体:把符合 MiniMax-H3 768P 输出规格的视频再生成为 2K。source_task_id 与 content 必须且只能提供其一。

