Saltar al contenido principal
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
}
Usa este endpoint para transferir la expresión o la interpretación de un video de origen a una imagen independiente mediante el wrapper de formato inverso de Runway.

Restricciones actuales

  • Actualmente, esta ruta solo admite recursos de origen en formato 16:9
  • Necesitas tanto un video de origen como una image de destino
  • Comienza con un clip de origen corto y estable antes de ajustar más el flujo de trabajo

Flujo de la tarea

1

Crear la tarea act-one

Envía el video de origen, la imagen de destino y la configuración de callback o seguimiento, y luego guarda el id de tarea devuelto.
2

Consultar la tarea

Continúa con Feed Get Task hasta que el wrapper alcance un estado terminal.
3

Persistir el resultado

Guarda la salida final en tu propio pipeline de medios si necesitas acceso duradero.

Autorizaciones

Authorization
string
header
requerido

Bearer token authentication. Use your CometAPI key.

Encabezados

X-Runway-Version
string

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

Cuerpo

application/json
video
string
predeterminado:http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4
requerido

URL of the source video containing the performance to transfer.

image
string
predeterminado:https://db.xiaohuhd.com/1.jpeg
requerido

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

callback_url
string
predeterminado:https://example.com/webhook
requerido

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

Respuesta

200 - application/json

OK

code
integer
requerido

HTTP status code

msg
string
requerido

Text description of the request result

data
object
requerido

Object containing specific response data.

exec_time
number
requerido

Time spent by the server processing this request