Используйте POST /runway/pro/act_one для миграции выражений Act-one в видео/изображениях Runway через CometAPI с поддержкой 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": "https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "https://example.com/webhook"
}
'{
"code": 200,
"message": "",
"msg": "success",
"data": {
"task_id": "196642a0-05e1-441a-981e-eb0c1f5d983b"
}
}Используйте этот endpoint, чтобы перенести выражение или исполнение из исходного видео на отдельное изображение.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
video, и целевое imageСоздайте задачу act-one
Опрашивайте задачу
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": "https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"image": "https://db.xiaohuhd.com/1.jpeg",
"callback_url": "https://example.com/webhook"
}
'{
"code": 200,
"message": "",
"msg": "success",
"data": {
"task_id": "196642a0-05e1-441a-981e-eb0c1f5d983b"
}
}