使用 POST /runway/pro/act_one,透過 CometAPI 在 Runway 影片/圖片中遷移 Act-one 表情,並支援 X-Runway-Version(僅限 16:9)。
curl --request POST \
--url https://api.cometapi.com/runway/pro/act_one \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video": "http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "http://baidu.com"
}
'{
"code": 123,
"msg": "<string>",
"data": {
"task_id": "<string>"
},
"exec_time": 123
}video 與目標 image輪詢任務
Bearer token authentication. Use your CometAPI key.
Optional Runway version header, for example 2024-11-06.
URL of the source video containing the performance to transfer.
URL of the target image whose character will receive the expression.
Webhook URL that receives a POST request with the result when the task completes.
curl --request POST \
--url https://api.cometapi.com/runway/pro/act_one \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video": "http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "http://baidu.com"
}
'{
"code": 123,
"msg": "<string>",
"data": {
"task_id": "<string>"
},
"exec_time": 123
}