Unfavorite a public voice
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/audio/voices/{voiceId}/favorite \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/audio/voices/{voiceId}/favorite"
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/audio/voices/{voiceId}/favorite', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"isFavorite": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Find and manage voices
Unfavorite a public voice
Remove a workspace favorite. The public voice remains available for synthesis.
DELETE
/
audio
/
voices
/
{voiceId}
/
favorite
Unfavorite a public voice
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/audio/voices/{voiceId}/favorite \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/audio/voices/{voiceId}/favorite"
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/audio/voices/{voiceId}/favorite', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"isFavorite": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Remove this public favorite for every API key in the workspace. Returns
{"isFavorite":false} even when the favorite was already absent. The public voice can still be used for speech and dialogue.