We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例行检查
功能描述
OpenAI 默认的 TTS(Text-to-Speech)接口对输入文本有不超过 4096 个字符的限制。当输入文本超过这个限制时,API 会返回错误。为了提升用户体验,希望项目能够自动处理超过 4096 个字符的文本,将其拆分成多个部分,分别调用 TTS API 生成音频,最后将生成的多个音频片段合并成一个完整的音频文件。
应用场景
长文本语音播放:在自动化生成语音内容的场景中,确保不会因为文本长度限制而失败,提升自动化流程的鲁棒性。
相关示例
The text was updated successfully, but these errors were encountered:
赞同
Sorry, something went wrong.
No branches or pull requests
例行检查
功能描述
OpenAI 默认的 TTS(Text-to-Speech)接口对输入文本有不超过 4096 个字符的限制。当输入文本超过这个限制时,API 会返回错误。为了提升用户体验,希望项目能够自动处理超过 4096 个字符的文本,将其拆分成多个部分,分别调用 TTS API 生成音频,最后将生成的多个音频片段合并成一个完整的音频文件。
应用场景
长文本语音播放:在自动化生成语音内容的场景中,确保不会因为文本长度限制而失败,提升自动化流程的鲁棒性。
相关示例
The text was updated successfully, but these errors were encountered: