Text to Speech

Voice Cloning

Lip Sync Video

Other

Delete Model

Delete created voice models

Delete Model API

Endpoint

POST /api/open/delete-model

Request Headers

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

Request Parameters

{
  "modelId": string  // Required,Model ID
}

Response Data

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

// Error Response
{
  "error": string     // Error message
}

CURL Example

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

Online Debug

Status Code Description

Status Code Description:
200 OK                  - Request successful
400 Bad Request         - Invalid request parameters
401 Unauthorized        - Invalid API Token
403 Forbidden          - Access forbidden
404 Not Found          - Resource not found
413 Payload Too Large  - Upload file too large
429 Too Many Requests  - Rate limit exceeded/Insufficient credits
500 Server Error       - Internal server error

Error Response Format:
{
  "error": string,      // Error message
  "details": string,    // Detailed error message (optional)
  "code": string       // Error code (optional)
}