Appearance
视频任务查询
接口与 MiniMax 官网一致;返回状态与字段以官网为准
- 路径
/minimaxi/v1/query/video_generation - 与官网一致:请求参数与返回字段与 MiniMax 官网保持一致。
task_id参数同时接受上游原始任务 ID 和平台platform_id(video_)。
请求示例
bash
curl --request GET \
--url 'https://aiapi.fhddos.com/minimaxi/v1/query/video_generation?task_id=106916112212032' \
--header 'Authorization: Bearer <token>'示例响应(官方)
json
{
"task_id": "176843862716480",
"status": "Success",
"file_id": "176844028768320",
"video_width": 1920,
"video_height": 1080,
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}字段要点
status:任务状态;常见为Queueing/Processing/Success/Failed(以官网为准)。file_id:在Success时返回;用于后续files/retrieve获取下载地址,或files/retrieve_content直下。video_width/video_height:成品视频宽高(部分模型或分辨率返回)。base_resp.status_code:0 表示成功;非 0 为错误,status_msg提示原因。
OpenAPI
yaml
openapi: 3.0.3
info:
title: Fhddos Core API
version: '1.0'
description: >-
Core OpenAI-compatible and model-family endpoints used by the Fhddos user
docs.
servers:
- url: https://aiapi.fhddos.com
security:
- BearerAuth: []
paths:
/minimaxi/v1/query/video_generation:
get:
tags:
- MiniMaxi
summary: Query MiniMaxi video task
parameters:
- name: task_id
in: query
required: true
schema:
type: string
responses:
'200':
$ref: '#/components/responses/JsonObject'
components:
responses:
JsonObject:
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GenericObject'
schemas:
GenericObject:
type: object
additionalProperties: true
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'Authorization: Bearer <token>'