메인 콘텐츠로 건너뛰기
POST
/
runway
/
pro
/
act_one
Act-one Expression Migration
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
}
이 엔드포인트를 사용하면 Runway reverse-format 래퍼를 통해 소스 비디오의 표정이나 퍼포먼스를 별도의 이미지에 전이할 수 있습니다.

현재 제약 사항

  • 이 경로는 현재 16:9 소스 에셋만 지원합니다
  • 소스 video와 대상 image가 모두 필요합니다
  • 워크플로를 더 세부적으로 조정하기 전에 짧고 안정적인 소스 클립으로 시작하세요

작업 흐름

1

act-one 작업 생성

소스 비디오, 대상 이미지, 그리고 callback 또는 추적 설정을 제출한 다음, 반환된 작업 id를 저장하세요.
2

작업 폴링

래퍼가 최종 상태에 도달할 때까지 Feed Get Task로 계속 확인하세요.
3

결과 저장

지속적으로 접근해야 한다면 최종 출력을 자체 미디어 파이프라인에 저장하세요.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

헤더

X-Runway-Version
string

Optional Runway version header, for example 2024-11-06.

본문

application/json
video
string
기본값:http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4
필수

URL of the source video containing the performance to transfer.

image
string
기본값:https://db.xiaohuhd.com/1.jpeg
필수

URL of the target image whose character will receive the expression.

callback_url
string
기본값:https://example.com/webhook
필수

Webhook URL that receives a POST request with the result when the task completes.

응답

200 - application/json

OK

code
integer
필수

HTTP status code

msg
string
필수

Text description of the request result

data
object
필수

Object containing specific response data.

exec_time
number
필수

Time spent by the server processing this request