抖音去水印API、快手短视频去水印接口对接文档

该接口为单个视频去水印解析接口,支持的平台:抖音、快手、火山、今日头条、西瓜视频、Tiktok、Kwai、Youtube、Facebook、Instagram、Twitter、小红书、bilibili哔哩哔哩B站、QQ看点、AcFun、淘宝、UC视频、趣头条、皮皮虾、 小咖秀、趣多拍、微视、美拍、网易云音乐、陌陌、映客、迅雷、阳光宽频、全民K歌、刷宝、WIDE短视频 、微博、秒拍、轻视频、最右、开眼、酷燃、剪映、糗事百科、好看视频、Tumblr、WIDE、梨视频等

接口地址:https://api.henghengmao.com/video

请求方式:GET 或 POST

示例代码:PHP语言调用示例

接口参数:

userId	在开发者接口管理中心获取
secretKey	在开发者接口管理中心获取
url	视频分享链接地址(如果是GET请求,先对此参数进行UrlEncode编码)

请求成功的返回结果:

//如果是视频
{
    data: {
        cover: "https://p9-dy.byteimg.com/tos-cn-p-0015/8eb97d37c4ca4ae7bd36b3f071a9d5a6_1593872650~tplv-dy-360p.jpeg?from=2563711402",
        imgs: null,
        text: "要去三亚玩儿冲浪了,开心得像个200斤的胖子",
        video: "http://v6-dy-y.ixigua.com/ffe6eb7ea00082e1242b8405f1478735/5f313894/video/tos/cn/tos-cn-ve-15/531d2020d77e478d8759b042234f00b0/?a=1128&br=4518&bt=1506&cr=0&cs=0&dr=0&ds=6&er=&l=202008101907410101980602074513220B&lr=&mime_type=video_mp4&qs=0&rc=anNxdG44dmw8djMzM2kzM0ApZzU0Ozc1PDw0N2g1OTlpM2dzbmphM28zLi1fLS0wLS9zczViMDYwMi4wMzFiNjRjYTY6Yw%3D%3D&vl=&vr="
    },
    msg: "成功",
    code: 200
}

//如果是图集
{
    data: {
        imgs: [
            "http://sns-img-hw.xhscdn.com/955ef6b8-6f4e-3511-91d2-6e23c269bb2a?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/0e8b8ce1-43a9-3206-91b9-fff6dc3335c0?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/69380950-903a-3dd9-b81b-5315243b37c3?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/3092fcaa-071f-3784-b460-45cd351e80d9?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/26c036da-6e86-399a-8f6e-1f9c32b1c5ee?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/96d3b397-9618-3836-9ce5-c33502ec9d81?imageView2/2/w/1080/format/jpg",
            "http://sns-img-hw.xhscdn.com/ff68043b-7877-3ead-8caa-59f4d037cdb3?imageView2/2/w/1080/format/jpg"
        ],
        cover: null,
        text: "iPhone Xr半价入!!!两个手机换着玩 最近想买个备用机,观望iPhone Xr很久了迟迟没入手",
        video: null
    },
    msg: "成功",
    code: 200
}

请求失败的返回结果:

{
    code: 400,
    msg: "缺少参数"
}

你可能感兴趣的:(网络资源,接口,ajax,post,restful,api)