Texto a voz

Clonado de voz

Lip Sync

Otros

Eliminar modelo

Prueba la API para eliminar modelos de voz.

API Eliminar modelo

Endpoint

POST /api/open/delete-model

Encabezados de solicitud

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

Parámetros de solicitud

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

Respuesta

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

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

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

Depuración en línea

Códigos de estado

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