Skip to content

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
	}
}
FieldTypeDescriptionRequired
uuidstringCorresponding taskIdYes
typeintCorresponding task type, synthetic task is 1Yes
dataobjectReturned data bodyYes
codeintTask Execution Results
0 Success
Other Failures
Yes
messagestringTask execution result informationYes
durationlongVideo duration, in microsecondsNo
urlstringVideo 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
widthintVideo widthNo
heightintVideo heightNo
coverUrlstringURL 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
fileSizelongVideo file size, in bytesNo

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.。