Skip to content

视频任务状态查询

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /minimax/v1/query/video_generation:
    get:
      summary: 视频任务状态查询
      deprecated: false
      description: ''
      tags:
        - 视频模型/海螺 视频生成
      parameters:
        - name: task_id
          in: query
          description: |
            视频生成任务的唯一标识ID
          required: false
          example: '306792606023824'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                      action:
                        type: string
                      status:
                        type: string
                      fail_reason:
                        type: string
                      submit_time:
                        type: integer
                      start_time:
                        type: integer
                      finish_time:
                        type: integer
                      progress:
                        type: string
                      data:
                        type: object
                        properties:
                          file:
                            type: object
                            properties:
                              bytes:
                                type: integer
                              file_id:
                                type: integer
                              purpose:
                                type: string
                              filename:
                                type: string
                              created_at:
                                type: integer
                              download_url:
                                type: string
                              backup_download_url:
                                type: string
                            required:
                              - bytes
                              - file_id
                              - purpose
                              - filename
                              - created_at
                              - download_url
                              - backup_download_url
                          status:
                            type: string
                          file_id:
                            type: string
                          task_id:
                            type: string
                          base_resp:
                            type: object
                            properties:
                              status_msg:
                                type: string
                              status_code:
                                type: integer
                            required:
                              - status_msg
                              - status_code
                          video_width:
                            type: integer
                          video_height:
                            type: integer
                        required:
                          - file
                          - status
                          - file_id
                          - task_id
                          - base_resp
                          - video_width
                          - video_height
                    required:
                      - task_id
                      - action
                      - status
                      - fail_reason
                      - submit_time
                      - start_time
                      - finish_time
                      - progress
                      - data
                required:
                  - code
                  - message
                  - data
              example:
                code: success
                message: ''
                data:
                  task_id: '306792606023824'
                  action: video_generation
                  status: SUCCESS
                  fail_reason: '306793063383292'
                  submit_time: 1756453472
                  start_time: 0
                  finish_time: 1756453535
                  progress: 100%
                  data:
                    file:
                      bytes: 0
                      file_id: 306793063383292
                      purpose: video_generation
                      filename: output.mp4
                      created_at: 1756453566
                      download_url: >-
                        https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/inference_output%2Fvideo%2F2025-08-29%2F454554d4-6485-469b-8eff-f6786bbaff62%2Foutput.mp4?Expires=1756485985&OSSAccessKeyId=LTAI5tAmwsjSaaZVA6cEFAUu&Signature=5DmRk6grPMEwP7rLq0LwJbi633A%3D
                      backup_download_url: >-
                        https://public-cdn-video-data-algeng-us.oss-us-east-1.aliyuncs.com/inference_output%2Fvideo%2F2025-08-29%2F454554d4-6485-469b-8eff-f6786bbaff62%2Foutput.mp4?Expires=1756485985&OSSAccessKeyId=LTAI5tCpJNKCf5EkQHSuL9xg&Signature=ouuhy8toH%2B58BJOIvnM57Iw5zyc%3D
                    status: Success
                    file_id: '306793063383292'
                    task_id: '306792606023824'
                    base_resp:
                      status_msg: success
                      status_code: 0
                    video_width: 1366
                    video_height: 768
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 视频模型/海螺 视频生成
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5443236/apis/api-327360871-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://www.anyapi.vip
    description: 正式环境
security:
  - bearer: []

AnyAPI — 专业的 AI 接口聚合服务