#6172 google/chirp-3 is a transcription model and cannot be used with the chat/completions endpoint. Use the /api/v1/audio/tra

103.81* Posted at: 1 hour ago

google/chirp-3 is a transcription model and cannot be used with the chat/completions endpoint. Use the /api/v1/audio/transcriptions endpoint instead.
https://openrouter.ai/api/v1
{'model': 'google/chirp-3', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 8192}:Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 77, in _item_task
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\chat\completions\completions.py", line 1215, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.BadRequestError: Error code: 400 - {'error': {'message': 'google/chirp-3 is a transcription model and cannot be used with the chat/completions endpoint. Use the /api/v1/audio/transcriptions endpoint instead.', 'code': 400}, 'user_id': 'user_3HDE3gd4ubM44a0xR3MpEOeRVXg'}

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 71, in run
File "videotrans\translator\_base.py", line 206, in _run_srt
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\translator\_openaicompat.py", line 82, in _item_task
videotrans.configure.excepts.StopTask: google/chirp-3 is a transcription model and cannot be used with the chat/completions endpoint. Use the /api/v1/audio/transcriptions endpoint instead.
https://openrouter.ai/api/v1
{'model': 'google/chirp-3', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 8192}


=
system:Windows-10-10.0.22631-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

你在翻译渠道的 OpenRouter.ai 中配置了模型 google/chirp-3,但该模型是语音转录专用模型,无法用于文本翻译。请将模型更换为 OpenRouter 支持的文本生成模型(如 google/gemini-3-flash-previewminimax/minimax-m2.7)。

操作步骤:

  1. 打开菜单 -> 翻译设置 -> OpenRouter.ai。
  2. 修改“模型”一项为正确的文本模型(可从下拉列表选择)。
  3. 保存并重新执行翻译任务。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource