使用 Runway 兼容格式 POST /runway/feed 查询视频生成任务的状态和结果。
curl --request POST \
--url https://api.deerapi.com/runway/feed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd"
}
'{
"code": 200,
"msg": "成功",
"data": {
"task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd",
"state": "",
"status": "0",
"prompt": "",
"prompt_en": null,
"video_url": null,
"raw_video_url": null,
"poster": null,
"last_frame": null,
"msg": null,
"create_time": "0",
"update_time": "0"
},
"exec_time": 0
}在创建 Runway 兼容格式任务后,使用此端点轮询任务状态。此端点适用于所有Documentation Index
Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
Use this file to discover all available pages before exploring further.
/runway/pro/* 工作流。
code 和 msg — 请求级别状态data.status — 任务进度状态码data.video_url — 任务完成后的视频文件地址data.poster — 视频封面图地址data.last_frame — 视频最后一帧图片地址先创建任务
Bearer token authentication. Use your DeerAPI key.
任务ID
curl --request POST \
--url https://api.deerapi.com/runway/feed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd"
}
'{
"code": 200,
"msg": "成功",
"data": {
"task_id": "221c136d-7888-43c3-acd3-1fcc90d51cfd",
"state": "",
"status": "0",
"prompt": "",
"prompt_en": null,
"video_url": null,
"raw_video_url": null,
"poster": null,
"last_frame": null,
"msg": null,
"create_time": "0",
"update_time": "0"
},
"exec_time": 0
}