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
}