语音合成
声音克隆
对口型视频
其他
语音合成
声音克隆
对口型视频
其他
删除模型
删除已创建的语音模型
删除模型接口
接口地址
POST /api/open/delete-model
请求头
Content-Type: application/json Authorization: Bearer YOUR_API_TOKEN // API Key
请求参数
{
"modelId": string // 必填,模型 ID
}返回数据
// 成功响应 - 200
{
"modelId": string, // undefined
"message": string // undefined
}
// 错误响应
{
"error": string // 错误提示信息
}CURL 示例
curl -X POST https://fishaudio.net/api/open/delete-model \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"modelId": "your_model_id"
}'在线调试
状态码说明
状态码说明:
200 OK - 请求成功
400 Bad Request - 请求参数错误
401 Unauthorized - API Token 无效
403 Forbidden - 禁止访问
404 Not Found - 资源不存在
413 Payload Too Large - 上传文件过大
429 Too Many Requests - 请求频率超限/积分不足
500 Server Error - 服务器内部错误
错误响应格式:
{
"error": string, // 错误信息
"details": string, // 详细错误信息(可选)
"code": string // 错误代码(可选)
}