#874 openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan

*34.216* Posted at: 3 hours ago 👁9

请求过于频繁,请稍后重试或调大暂停时间:

Traceback (most recent call last):

File "videotrans\util\ListenVoice.py", line 18, in run

File "videotrans\tts\__init__.py", line 275, in run

File "videotrans\tts\_base.py", line 182, in run

File "tenacity\__init__.py", line 480, in __call__

File "videotrans\tts\_openaitts.py", line 52, in _run

File "openai\_response.py", line 626, in __enter__

File "openai\resources\audio\speech.py", line 103, in create

File "openai\_base_client.py", line 1259, in post

File "openai\_base_client.py", line 1047, in request

openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

=====

Windows-10-10.0.27959-SP0

version:v3.81

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个错误是由于您使用的 OpenAI TTS 配音服务配额已用尽或账单问题导致的,而不是简单的请求频率过高。

问题分析:

从错误日志可以看出:

  • 错误发生在 _openaitts.py 第52行,这是使用 OpenAI TTS 进行语音合成时
  • 错误类型是 insufficient_quota(配额不足)
  • 错误代码 429 表示超出了当前配额限制

解决方案:

1. 检查 OpenAI 账户状态

  • 登录 OpenAI 平台 (platform.openai.com)
  • 检查您的账户余额和配额限制
  • 确保账户有足够的余额或信用额度

2. 更换配音渠道

  • 在软件界面中,切换到其他可用的配音渠道,如:
  • edge-TTS:免费且无配额限制(推荐)
  • Azure TTS:如果您有 Azure 账户
  • 其他本地 TTS 服务:如 CosyVoice、ChatTTS 等

3. 调整高级设置(临时缓解)

  • 进入"菜单 → 工具 → 高级选项"
  • 在"配音调整"部分:
  • 将"同时配音字幕数"设为 1
  • 将"配音后暂停时间/秒"设为 5-10 秒

重要提醒:

这个错误与软件本身的"暂停时间"设置关系不大,主要是 OpenAI 服务端的配额限制。建议优先检查账户状态或更换到其他配音渠道。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions