跳转到主要内容
GET
/
api
/
ai
/
volcengine
/
video
/
{taskId}
火山格式查询视频任务
curl --request GET \
  --url https://aitoearn.cn/api/ai/volcengine/video/{taskId} \
  --header 'X-Api-Key: <api-key>'
{
  "id": "6a461da66fe8a12d33daabdd",
  "model": "doubao-seedance-2-0-260128",
  "status": "succeeded",
  "created_at": 1782980006,
  "updated_at": 1782980484,
  "content": {
    "video_url": "https://assets.aitoearn.ai/example/video.mp4"
  },
  "seed": 9190,
  "resolution": "720p",
  "ratio": "16:9",
  "duration": 8,
  "framespersecond": 24,
  "generate_audio": true,
  "priority": 0,
  "execution_expires_after": 172800,
  "usage": {
    "completion_tokens": 411300,
    "total_tokens": 411300
  }
}

授权

X-Api-Key
string
header
必填

需要从 AiToEarn 获取 API Key。点击前往「API Key 获取教程」

路径参数

taskId
string
必填

任务 ID,由火山格式创建视频生成任务接口返回。

响应

200 - application/json

火山格式原生响应,不使用 AiToEarn 通用响应包裹。

id
string
必填

任务ID

model
string
必填

模型名称

status
string
必填

任务状态

created_at
number
必填

创建时间

updated_at
number
必填

更新时间

error
object | null

错误信息

content
object

视频内容

seed
number

种子值

resolution
string

分辨率

ratio
string

宽高比

duration
number

时长

framespersecond
number

帧率

usage
object

使用量统计