#I am currently creating a project using the APISome of the messages have slight regular cursing, n
1 messages · Page 1 of 1 (latest)
The issue you're experiencing with the API silently failing when generating audio for messages containing mild cursing could be related to content moderation or restrictions within the API. While the playground may allow such content, the API might have stricter filters in place that prevent the generation of audio for certain words or phrases.
To address this, you can try the following:
-
Modify the Text: Consider rephrasing or slightly altering the text to avoid triggering any potential filters. Even minor adjustments to the wording might resolve the issue.
-
Test Smaller Chunks: Break down the text into smaller sections (under 800 characters) and test each chunk individually. This can help identify specific parts of the text causing the failure.
-
Check Stability and Similarity Settings: Adjusting these settings in the API might improve the output and reduce issues with text processing.
-
Use the Website UI: If the text works perfectly in the playground, you can generate the audio there and download it as a workaround.
If none of these steps resolve the issue, you may need to contact the support team for further assistance. Use the email associated with your account and provide details about the text and the error to help them investigate.
this is used for realtime TTS reading of a livestream chat feed