Текст в речь
Клонирование голоса
Липсинк
Другое
Текст в речь
Клонирование голоса
Липсинк
Другое
Удалить модель
Тест API удаления голосовой модели.
API удаления модели
Эндпоинт
POST /api/open/delete-model
Заголовки запроса
Content-Type: application/json Authorization: Bearer YOUR_API_TOKEN // API ключ
Параметры запроса
{
"modelId": string // undefined,ID модели
}Ответ
// undefined - 200
{
"modelId": string, // undefined
"message": string // undefined
}
// undefined
{
"error": string // undefined
}Пример CURL
curl -X POST https://fishaudio.org/api/open/delete-model \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"modelId": "your_model_id"
}'Онлайн-отладка
Коды статуса
200: Success 400: Bad Request 401: Unauthorized 403: Forbidden 404: Not Found 429: Too Many Requests 500: Internal Server Error