When you submit a video extension task to the Runway API, you can set a callback address through the callBackUrlparameter. After the task is completed, the system will automatically push the results to your specified address.
callBackUrl in the following format:{
"code": 200,
"msg": "All generated successfully.",
"data": {
"image_url": "https://file.com/m/xxxxxxxx.png",
"task_id": "ee603959-debb-48d1-98c4-a6d1c717eba6",
"video_id": "485da89c-7fca-4340-8c04-101025b2ae71",
"video_url": "https://file.com/k/xxxxxxx.mp4"
}
}| Parameter | Type | Required | Description |
|---|---|---|---|
code | integer | Yes | Callback status code indicating task processing result |
msg | string | Yes | Status message providing detailed status description |
data.task_id | string | Yes | Task ID, consistent with the taskId returned when you submitted the task |
data.video_id | string | No | Video unique identifier (returned only on success) |
data.video_url | string | No | Accessible video URL, valid for 14 days (returned only on success) |
data.image_url | string | No | Cover image URL of the generated video (returned only on success) |
| Status Code | Description |
|---|---|
| 200 | Success - Request has been processed successfully |
| 400 | Client Error - Request parameters are incorrect or content is inappropriate |
| 500 | Server Error - An unexpected error occurred while processing the request |