Przejdź do głównej treści
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
}
Użyj tego endpointu, aby przenieść ekspresję lub wykonanie z filmu źródłowego na osobny obraz za pośrednictwem wrappera reverse-format Runway.

Bieżące ograniczenia

  • Ta ścieżka obecnie obsługuje wyłącznie zasoby źródłowe w proporcjach 16:9
  • Potrzebujesz zarówno źródłowego video, jak i docelowego image
  • Zacznij od krótkiego, stabilnego klipu źródłowego, zanim dalej dostroisz workflow

Przebieg zadania

1

Utwórz zadanie act-one

Prześlij film źródłowy, obraz docelowy oraz ustawienia callback lub śledzenia, a następnie zapisz zwrócone id zadania.
2

Sprawdzaj status zadania

Kontynuuj z Feed Get Task, aż wrapper osiągnie stan końcowy.
3

Zapisz wynik

Zapisz końcowy wynik we własnym pipeline mediów, jeśli potrzebujesz trwałego dostępu.

Autoryzacje

Authorization
string
header
wymagane

Bearer token authentication. Use your CometAPI key.

Nagłówki

X-Runway-Version
string

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

Treść

application/json
video
string
domyślnie:http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4
wymagane

URL of the source video containing the performance to transfer.

image
string
domyślnie:https://db.xiaohuhd.com/1.jpeg
wymagane

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

callback_url
string
domyślnie:https://example.com/webhook
wymagane

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

Odpowiedź

200 - application/json

OK

code
integer
wymagane

HTTP status code

msg
string
wymagane

Text description of the request result

data
object
wymagane

Object containing specific response data.

exec_time
number
wymagane

Time spent by the server processing this request