Runway Best Practices
CometAPI Runway Video Interface Production Environment Best Practices
1. Handling Retry Logic
code
is 200. If successful, msg
will display success information.msg
will show the specific error reason.2. Task Callbacks
callback_url
parameter when submitting a task request.{
"task_id": "d51c94db-f7fa-4ad3-a083-b8918686c478",
"status": "3",
"prompt": "a cat",
"prompt_en": "a little kitten.",
"video_url": "https://runwaycdn.cometapi.com/attachments/video/runway/20241011/8af2304880d6b32bfff5f0ea33007566.mp4",
"poster": "https://runwaycdn.cometapi.com/attachments/video/runway/20241011/6771c68bf540b62a96e7c4a5b2b375a7.png",
"last_frame": "https://runwaycdn.cometapi.com/attachments/video/runway/20241011/8af7cc2b46fc7ad5d1e0efedd0bd0893.png",
"msg": null,
"point": "320",
"refund": "0",
"create_time": "1728622596",
"update_time": "1728622955"
}