创建任务 minimax/video-01

POST /replicate/v1/models/minimax/video-01/predictions

MethodPOST
Path/replicate/v1/models/minimax/video-01/predictions
Typehttp
Status1
Module2102810
Folder62419371

说明

概览

MethodPOST
Path/replicate/v1/models/minimax/video-01/predictions
Typehttp
Status1
Module2102810
Folder62419371

参数

{
  "query": [],
  "path": [],
  "cookie": [],
  "header": [
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "GTujCrB2It",
      "enable": true,
      "name": "Authorization",
      "sampleValue": "Bearer {{YOUR_API_KEY}}"
    }
  ]
}

请求体

{
  "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"
    ]
  },
  "mediaType": "",
  "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": ""
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 728720396,
    "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"
          ]
        },
        "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"
          ]
        }
      },
      "required": [
        "id",
        "model",
        "version",
        "input",
        "logs",
        "output",
        "data_removed",
        "error",
        "status",
        "created_at",
        "urls"
      ]
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": [],
    "oasExtensions": ""
  }
]

响应示例

[
  {
    "name": "成功示例",
    "responseId": 728720396,
    "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": 648888619
  }
]