Texto para fala

Clonagem de voz

Sincronização labial

Outros

Excluir modelo

Teste a API de remoção de modelo de voz.

API Excluir modelo

Endpoint

POST /api/open/delete-model

Cabeçalhos da requisição

Content-Type: application/json
Authorization: Bearer YOUR_API_TOKEN  // Chave API

Parâmetros da requisição

{
  "modelId": string  // undefined,ID do modelo
}

Resposta

// undefined - 200
{
  "modelId": string,   // undefined
  "message": string    // undefined
}

// undefined
{
  "error": string     // undefined
}

Exemplo 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"
  }'

Depuração online

Códigos de status

200: Success
400: Bad Request
401: Unauthorized
403: Forbidden
404: Not Found
429: Too Many Requests
500: Internal Server Error