官方文档:https://replicate.com/minimax/video-01
POST
/replicate/v1/models/minimax/video-01/predictions创建任务 minimax/video-01
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/replicate/v1/models/minimax/video-01/predictions \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses",
"prompt_optimizer": true
}
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
input | JSON body | object | 否 | - | - |
input.prompt | JSON body | string | 是 | 生成文本提示。 | - |
input.prompt_optimizer | JSON body | boolean | 否 | 使用提示优化器。默认值:true | - |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | 响应 JSON | string | 是 | - | - |
model | 响应 JSON | string | 是 | - | - |
version | 响应 JSON | string | 是 | - | - |
input | 响应 JSON | object | 是 | - | - |
input.prompt | 响应 JSON | string | 是 | - | - |
input.prompt_optimizer | 响应 JSON | boolean | 是 | - | - |
logs | 响应 JSON | string | 是 | - | - |
output | 响应 JSON | null | 是 | - | - |
data_removed | 响应 JSON | boolean | 是 | - | - |
error | 响应 JSON | null | 是 | - | - |
status | 响应 JSON | string | 是 | - | - |
created_at | 响应 JSON | string | 是 | - | - |
urls | 响应 JSON | object | 是 | - | - |
urls.cancel | 响应 JSON | string | 是 | - | - |
urls.get | 响应 JSON | string | 是 | - | - |
urls.stream | 响应 JSON | string | 是 | - | - |
urls.web | 响应 JSON | string | 是 | - | - |
响应示例
{
"id": "ree8dymk95rmc0crb3yt2pqhr4",
"model": "minimax/video-01",
"version": "hidden",
"input": {
"prompt": "a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses",
"prompt_optimizer": true
},
"logs": "",
"output": null,
"data_removed": false,
"error": null,
"status": "starting",
"created_at": "2025-07-30T01:41:10.089Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/ree8dymk95rmc0crb3yt2pqhr4/cancel",
"get": "https://api.replicate.com/v1/predictions/ree8dymk95rmc0crb3yt2pqhr4",
"stream": "https://stream.replicate.com/v1/files/bcwr-wykptlq2o5ws5ukylao2u654xfxv6aaaekgxijlr7aibzkftt7bq",
"web": "https://replicate.com/p/ree8dymk95rmc0crb3yt2pqhr4"
}
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899847,
"name": "创建任务 minimax/video-01",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [
{
"type": "customScript",
"data": "// 将接口返回数据,封装成自己需要的结构\r\nvar resp = {\r\n response: pm.response.json().data[0].url\r\n}\r\n\r\n// html 模板字符\r\nvar template = `<html><img src=\"{{response}}\" /></html>`;\r\n\r\n// 设置 visualizer 数据。传模板、解析对象。\r\npm.visualizer.set(template, resp);",
"defaultEnable": true,
"enable": true,
"id": "fgH0MbuxXDoMxl5zcrSZCdv3Tq7KK2Yu"
}
],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "官方文档:https://replicate.com/minimax/video-01",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/replicate/v1/models/minimax/video-01/predictions",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "生成文本提示。"
},
"prompt_optimizer": {
"type": "boolean",
"description": "使用提示优化器。默认值:true"
}
},
"required": [
"prompt"
],
"x-apifox-orders": [
"prompt",
"prompt_optimizer"
]
}
},
"x-apifox-orders": [
"input"
]
},
"examples": [
{
"value": "{\n \"input\": {\n \"prompt\": \"a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses\",\n \"prompt_optimizer\": true\n }\n }",
"mediaType": "application/json",
"description": ""
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "GTujCrB2It",
"name": "Authorization",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "Bearer {{YOUR_API_KEY}}"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 166608218,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"version": {
"type": "string"
},
"input": {
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"prompt_optimizer": {
"type": "boolean"
}
},
"required": [
"prompt",
"prompt_optimizer"
],
"x-apifox-orders": [
"prompt",
"prompt_optimizer"
]
},
"logs": {
"type": "string"
},
"output": {
"type": "null"
},
"data_removed": {
"type": "boolean"
},
"error": {
"type": "null"
},
"status": {
"type": "string"
},
"created_at": {
"type": "string"
},
"urls": {
"type": "object",
"properties": {
"cancel": {
"type": "string"
},
"get": {
"type": "string"
},
"stream": {
"type": "string"
},
"web": {
"type": "string"
}
},
"required": [
"cancel",
"get",
"stream",
"web"
],
"x-apifox-orders": [
"cancel",
"get",
"stream",
"web"
]
}
},
"required": [
"id",
"model",
"version",
"input",
"logs",
"output",
"data_removed",
"error",
"status",
"created_at",
"urls"
],
"x-apifox-orders": [
"id",
"model",
"version",
"input",
"logs",
"output",
"data_removed",
"error",
"status",
"created_at",
"urls"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 166608218,
"data": "{\n \"id\": \"ree8dymk95rmc0crb3yt2pqhr4\",\n \"model\": \"minimax/video-01\",\n \"version\": \"hidden\",\n \"input\": {\n \"prompt\": \"a woman is walking through a busy Tokyo street at night, she is wearing dark sunglasses\",\n \"prompt_optimizer\": true\n },\n \"logs\": \"\",\n \"output\": null,\n \"data_removed\": false,\n \"error\": null,\n \"status\": \"starting\",\n \"created_at\": \"2025-07-30T01:41:10.089Z\",\n \"urls\": {\n \"cancel\": \"https://api.replicate.com/v1/predictions/ree8dymk95rmc0crb3yt2pqhr4/cancel\",\n \"get\": \"https://api.replicate.com/v1/predictions/ree8dymk95rmc0crb3yt2pqhr4\",\n \"stream\": \"https://stream.replicate.com/v1/files/bcwr-wykptlq2o5ws5ukylao2u654xfxv6aaaekgxijlr7aibzkftt7bq\",\n \"web\": \"https://replicate.com/p/ree8dymk95rmc0crb3yt2pqhr4\"\n }\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fc09b-0b2b-735d-a142-97b8fc917715"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436086,
"ordering": 90,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-02T03:53:34.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [
"BLANK.166608218"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}