Parameter Description# 1.
If both productLink and fileIds exist, the parameter of fileIds will be ignored, and all videos and images parsed from productLink will be used by default.
Request Body Params application/json
{
"productLink" : "string" ,
"fileIds" : [
"string"
] ,
"productName" : "string" ,
"productDescription" : "string" ,
"aspectRatio" : "string" ,
"language" : "string" ,
"voiceId" : "string" ,
"captionId" : "string" ,
"aiavatarId" : "string" ,
"videoLengthType" : 0 ,
"endcardFileId" : "string" ,
"endcardAspectRatio" : "string" ,
"endcardBackgroundColor" : "string" ,
"logoFileId" : "string" ,
"preview" : true ,
"isDiyScript" : false ,
"diyScriptDescription" : "string" ,
"targetAudience" : "string" ,
"noticeUrl" : "string"
} Request Code Samples
curl --location --request POST 'https://api.topview.ai/v1/m2v/task/submit' \
--header 'Topview-Uid;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"productLink": "string",
"fileIds": [
"string"
],
"productName": "string",
"productDescription": "string",
"aspectRatio": "string",
"language": "string",
"voiceId": "string",
"captionId": "string",
"aiavatarId": "string",
"videoLengthType": 0,
"endcardFileId": "string",
"endcardAspectRatio": "string",
"endcardBackgroundColor": "string",
"logoFileId": "string",
"preview": true,
"isDiyScript": false,
"diyScriptDescription": "string",
"targetAudience": "string",
"noticeUrl": "string"
}' Responses application/json Generate Code
{
"code" : "string" ,
"message" : "string" ,
"result" : {
"taskId" : "string" ,
"status" : "string" ,
"errorMsg" : null
}
} Modified at 2025-09-16 10:32:18