#7453 {"error":{"err_code":-10004,"message":"Insufficient account balance. Create your own tool, for details please view 302.A

2605**83d Posted at: 2 hours ago

{"error":{"err_code":-10004,"message":"Insufficient account balance. Create your own tool, for details please view 302.AI","message_cn":"账户余额不足,创建属于自己的工具,更多请访问 302.AI","message_jp":"アカウント残高が不足しています。独自のツールを作成するには、302.AI をご覧ください。","type":"api_error"}}:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'rate': '+0%', 'role': 'Yunyi:DragonHDFlashLatestNeural(Male)', 'filename': 'C:\Users\windos\AppData\Local\Temp/pyvideotrans/33-1789801270.9276385.wav', 'tts_type': 33, 'language': 'zh-cn', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 232, in run
File "videotrans\tts\_base.py", line 97, in run
File "videotrans\tts\_base.py", line 200, in _exec
File "videotrans\tts\_base.py", line 160, in _local_mul_thread
File "videotrans\tts\_base.py", line 212, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_ai302tts.py", line 66, in _run
videotrans.configure.excepts.StopTask: {"error":{"err_code":-10004,"message":"Insufficient account balance. Create your own tool, for details please view 302.AI","message_cn":"账户余额不足,创建属于自己的工具,更多请访问 302.AI","message_jp":"アカウント残高が不足しています。独自のツールを作成するには、302.AI をご覧ください。","type":"api_error"}}


=
system:Windows-10-10.0.22631-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:F:/视频配音

1 Replies

#1 DeepSeek reply at 2 hours ago

核心原因:你使用的配音渠道是 302.AI,其服务器返回 err_code: -10004 Insufficient account balance,即 302.AI 账户余额不足,因此 TTS 请求被拒绝,任务中断。

解决方案:

  1. 登录 302.AI 平台,为你的账户充值,或检查当前 API Key 所属账户是否已欠费。
  2. 充值后重新执行配音任务即可。
  3. 如不想使用 302.AI,可在主界面将配音渠道改为免费的 Edge-TTS(免费)(你的日志中角色 Yunyi:DragonHDFlashLatestNeural 表明你实际想用 Edge 音色),无需任何余额即可使用。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource