获取音频详情

通过音频编号获取新音频详情信息。

接口地址(URI):/api/music/detail

HTTP请求方式:GET

请求参数:
请求值字段 必选 类型 说明
ids true string 音频编号。(多个用“,”分隔,最多20个)
返回参数:
返回字段 说明
res_id 音频编号
title  标题
keywords 关键词
license_type 授权类型。返回值:1,2 1=RM:限定用途类 2=RF:非特定使用范围
preview_url_https 音频MP3下载地址-https地址
preview_jpg_json_https 音频对应的波形图下载地址-json文件-https地址
album_cover_url_https 音频对应的专辑封面预览图地址-https地址
artist 音频署名(作者)
music_type 1-音乐,2-音效
size 原音频大小(源文件为WAV格式)
bpm 音乐节拍数
has_vocal 是否人声,1-是 2-否
genre 流派id
mood 情绪id
sub_genre 子流派id
duration 音频时长,单位为秒
have_limit_size 音乐的尺寸信息,asset_format为视频格式,size为文件大小。
请求参数示例example value:
Curl:
curl -X GET --header 'Accept: application/json' --header 'api-key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' --header 'authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' 'https://api.fotomore.com/api/music/detail?ids=VCG231145521
Request URL:
https://api.fotomore.com/api/music/detail?ids=VCG231145521
返回数据示例example value:
{
    "status_code": 1,
    "message": "ok",
    "data": {
        "list": [
            {
                "res_id": "VCG231145521",
                "title": "MEL201_02_1_Blow_A_Gasket_(Full)_Cookie_Cartel",
                "artist": "COOKIE CARTEL",
                "caption": "",
                "license_type": 1,
                "duration": 135,
                "genre": "46940",
                "sub_genre": "",
                "mood": "47165,47194",
                "bpm": 161,
                "size": 23814236,
                "music_type": 1,
                "has_vocal": 2,
                "keywords": "运动会",
                "preview_jpg_json_https": "https://music-static-api.fotomore.com/music/wave/VCG231145521.json",
                "preview_url_https": "https://music-static-api.fotomore.com/music/preview/VCG231145521.mp3",
                "album_cover_url_https": "https://music-static-api.fotomore.com/music/album_cover_800/47457.jpg",
                "have_limit_size": [
                    {
                        "asset_format": "mp3",
                        "size": 2161332
                    },
                    {
                        "asset_format": "wav",
                        "size": 23814236
                    }
                ]
            }
        ]
    }
}