Skip to main content
POST
/
runway
/
feed
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
}

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 兼容格式任务后,使用此端点轮询任务状态。此端点适用于所有 /runway/pro/* 工作流。

关键响应字段

  • codemsg — 请求级别状态
  • data.status — 任务进度状态码
  • data.video_url — 任务完成后的视频文件地址
  • data.poster — 视频封面图地址
  • data.last_frame — 视频最后一帧图片地址

轮询模式

2

处理首次查询

刚创建的任务可能短暂返回 task_not_exist。如遇此情况,等待几秒后重试。
3

持续轮询至终态

重复调用此端点,直到任务离开排队或进行中状态,且响应中包含可用的输出 URL。

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your DeerAPI key.

Headers

X-Runway-Version
string

Body

application/json
task_id
string
default:example
required

任务ID

Response

200 - application/json

OK

code
integer
required

HTTP 状态码。

msg
string
required

请求结果说明。

data
object
required
exec_time
number
required

请求处理耗时。

ip
string