ProcessMedia API from the left-side API list. See the following figure to fill in the parameters such as input path, output path, and template ID. Set Definition to 21 (preset music identification template) under the AiAnalysisTask configuration to initiate the specified music identification task. ExtendedParameter is an extended parameter, and {"tag":{"process_type":"1102"}} is required to be filled in.
{"InputInfo": {"Type": "URL","UrlInputInfo": {"Url": "https://data-125xxxxxxx.cos.ap-guangzhou.tencentcos.cn/test/01-%E3%%%B7.mp4"//Input file URL. Replace it with the available file URL during the actual call.}},"OutputStorage": {"Type": "COS","CosOutputStorage": {"Bucket": "ie-mps-125xxxxxxx","Region": "ap-nanjing"}},"OutputDir": "/common/test/tiger/","AiAnalysisTask": {"Definition": 21,"ExtendedParameter": "{\\"tag\\":{\\"process_type\\":\\"1102\\"}}"},"TaskNotifyConfig": {"NotifyType": "URL","NotifyUrl": "http://xx.xx.xx.xx:5000//callback"}}
Field Name | Type | Description |
song_name | string | Song name |
album_name | string | Album name |
singer_name | string | Singer name |
other_singer_list | array | List of related singers |
reference_start | int | Approximate starting time point of the song |
reference_end | int | Approximate end time point of the song |
segment_list | array | Song occurrence time period |
"AiAnalysisResultSet": [{"ClassificationTask": null,"CoverTask": null,"DeLogoTask": null,"DescriptionTask": null,"FrameTagTask": null,"HeadTailTask": null,"HighlightTask": null,"HorizontalToVerticalTask": null,"SegmentTask": null,"TagTask": {"BeginProcessTime": "2025-06-13T12:08:20Z","ErrCode": 0,"ErrCodeExt": "","FinishTime": "2025-06-13T12:08:57Z","Input": {"Definition": 283568},"Message": "SUCCESS","Output": {"TagSet": [{"Confidence": 100,"Tag": "An Array of Stars","SpecialInfo": "{\\"song_mid\\": \\"000Quzkn4N0CBN\\", \\"song_id\\": 521340020, \\"reference_start\\": 30, \\"song_name\\": \\"An Array of Stars\\", \\"album_name\\": \\"An Array of Stars\\", \\"reference_end\\": 255, \\"singer_name\\": \\"TIA RAY\\", \\"segment_list\\": [[30, 165], [180, 255]], \\"other_singer_list\\": [{\\"singer_name\\": \\"Jam Hsiao\\"}]}"}]},"Progress": 100,"Status": "SUCCESS"},"Type": "Tag"}]
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback