MiniMax H3 视频再生成
将合规 MiniMax H3 768P 源视频重新生成至 2K,独立于原视频计费。使用 source_task_id 或 content/base_video 两种方式之一,不同时提交。请求正文 model 固定 MiniMax-H3;本操作使用 minimax-h3-regeneration 权限与价格。
source_task_id必须为同一 aiiqq.com 令牌创建、最近7天内成功的视频生成公开 ID;须来自相同原生协议和创建时的渠道密钥。平台 /v1/video/generate 任务不能用于此引用。通过 base_video提交时,必须同时提供生成源视频的最终提示词及相同参考素材;源视频须为 MiniMax-H3 768P 输出,含音轨,24fps,宽高均可被32整除,107–362帧。上游可能对任务ID引用额外要求白名单。再生成不使用统一视频生成入口。字段参考官方再生成文档。
Authorization
bearerAuth 使用 Authorization Bearer API Key 进行鉴权。
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/video_regeneration" \ -H "Content-Type: application/json" \ -d '{ "model": "MiniMax-H3", "resolution": "2K", "source_task_id": "task_H3_SOURCE_EXAMPLE" }'{
"task_id": "task_H3_GENERATION_EXAMPLE"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string",
"http_code": "string"
},
"request_id": "string"
}增强提示词 Context-IR
异步读取文本及参考素材,返回增强提示词,不生成视频。请求正文 model 仍为 MiniMax-H3;本操作使用 minimax-h3-context-ir 权限与价格。成功结果读取 task.content.prompt,输入/输出用量分别在 task.usage.prompt_tokens 和 completion_tokens。Context-IR 不使用统一视频生成接口;返回的公开 task_id通过 /v2/query/video_generation/{task_id} 查询。字段参考[官方 Context-IR 文档](https://platform.minimax.cn/docs/api-reference/video-generation-v2-h3-context-ir)。
查询 H3 任务
查询视频生成、Context-IR 或再生成任务。必须使用网关返回的公开 task_ ID及创建时的同一 aiiqq.com 令牌,网关绑定原渠道与密钥;平台格式任务不能使用此路径。建议每10–15秒轮询,查询不重复收费。视频成功结果在 task.content.url,Context-IR 文本在 task.content.prompt;原始计量在 task.usage。任务列表路径(不带 task_id)未提供。