Delete a private voice
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"operationId": "638f14d6-81ba-49f7-8c21-a16f34dca78f",
"status": "deleted",
"name": "Narrator"
}{
"operationId": "638f14d6-81ba-49f7-8c21-a16f34dca78f",
"status": "deleting",
"name": "Narrator"
}Kling 4.0
Delete a private Kling voice
Remove a voice owned by your workspace and release its slot.
DELETE
/
video
/
kling
/
voices
/
{voiceId}
Delete a private voice
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/video/kling/voices/{voiceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"operationId": "638f14d6-81ba-49f7-8c21-a16f34dca78f",
"status": "deleted",
"name": "Narrator"
}{
"operationId": "638f14d6-81ba-49f7-8c21-a16f34dca78f",
"status": "deleting",
"name": "Narrator"
}Choose the
voiceId from List voices with scope=private. Send it as a string with an API key from the owning workspace. Sending this request in Try it deletes the selected voice. Deletion is free.
On HTTP 200 with status: deleted, the voice has been removed and its slot is available. On HTTP 202 with status: deleting, the voice is unavailable for new generations and still occupies a slot. Use the returned operationId to check the deletion. If the operation is still awaiting confirmation after 30 minutes, contact support with that ID. If a deletion fails, the voice returns to active.Path Parameters
Response
Current voice state. A deleted status confirms removal.