Functional Description
If you prefer to obtain the final result through callbacks instead of active polling, the fixed callback path is /job/compile/complete . For example, if the callback prefix provided is http://demo.com/prefix/, the actual callback URL is http://demo.com/prefix/job/compile/complete
Request
plain
POST /job/compile/complete
Content-Type: application/json
Response
response body
json
{
"uuid": "2025042501",
"type": 1,
"data": {
"code": 0,
"message": "success",
"duration": 15000000,
"url": "https://wslfile/tmptest/2025/04/25/video-compiled/2025042501/2025042501.mp4",
"width": 1080,
"height": 1920,
"coverUrl":"https://xxxxxx.demo.com/xxxx.jpg",
"fileSize":15000000
}
}
Field | Type | Description | Required |
---|---|---|---|
uuid | string | Corresponding taskId | Yes |
type | int | Corresponding task type, synthetic task is 1 | Yes |
data | object | Returned data body | Yes |
code | int | Task Execution Results 0 Success Other Failures | Yes |
message | string | Task execution result information | Yes |
duration | long | Video duration, in microseconds | No |
url | string | Video URL link During the Meishe platform testing period, the synthesized video will be automatically deleted after two days. If you need to keep it, please download it as soon as possible. | No |
width | int | Video width | No |
height | int | Video height | No |
coverUrl | string | URL of the cover URL of the final video. During the Meishe platform testing period, the synthesized video will be automatically deleted after two days. If you need to keep it, please download it as soon as possible. | No |
fileSize | long | Video file size, in bytes | No |
The response code and response body are not considered. If an error occurs in the connection, the server will wait for 5 seconds and try again. The server can try up to 3 times, with a timeout of 10 seconds each time.。