GET
实用工具
音频转silk
各种音频转silk格式,ubuntu-x64可以自己编译:https://wwif.lanzouu.com/imWeQ37ub4gh
如果你有其他系统可以自行修改编译脚本
累计调用 9
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/Mp32Silk
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| file | string | 可选 | 上传音频文件 | 暂无 |
| url | string | 可选 | 音频链接,推荐使用file上传,而不是使用url链接,速度上差距太大 | 暂无 |
| type | string | 可选 | 返回格式默认json | 暂无 |
| format | int | 可选 | 模式,1正常,2放快,3放慢,默认是1 | 暂无 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 返回提示 |
响应示例
200 OK
{
"code": -8,
"message": "请使用有效的音频文件或链接",
"timestamp": 1791344696516,
"req_timestamp": 1791344695722
}
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/Mp32Silk?file=%E6%9A%82%E6%97%A0&url=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/Mp32Silk?file=%E6%9A%82%E6%97%A0&url=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/Mp32Silk?file=%E6%9A%82%E6%97%A0&url=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/Mp32Silk?file=%E6%9A%82%E6%97%A0&url=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())