使用 Runway 兼容格式 POST /runway/pro/act_one 将源视频中的表情和动作迁移到目标图片上。
curl --request POST \
--url https://api.deerapi.com/runway/pro/act_one \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video": "https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "https://your-server.com/callback"
}
'{
"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.
video 和目标 image轮询任务状态
Bearer token authentication. Use your DeerAPI key.
curl --request POST \
--url https://api.deerapi.com/runway/pro/act_one \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video": "https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "https://your-server.com/callback"
}
'{
"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
}