Open Jiang8002000 opened 2 months ago
2024-09-03 16:04:29.288 | INFO | main::783 - 开始生成视频
2024-09-03 16:04:29.308 | INFO | main::784 - { "video_subject": "父母如何教导孩子学会拒绝", "video_script": "", "video_terms": "", "video_aspect": "16:9", "video_concat_mode": "random", "video_clip_duration": 3, "video_count": 1, "video_source": "pixabay", "video_materials": null, "video_language": "zh-CN", "voice_name": "zh-CN-XiaoxiaoNeural-Female", "voice_volume": 1.0, "voice_rate": 1.0, "bgm_type": "random", "bgm_file": "", "bgm_volume": 0.2, "subtitle_enabled": true, "subtitle_position": "bottom", "custom_position": 70.0, "font_name": "MicrosoftYaHeiNormal.ttc", "text_fore_color": "#e4128f", "text_background_color": "transparent", "font_size": 60, "stroke_color": "#000000", "stroke_width": 1.5, "n_threads": 2, "paragraph_number": 1 }
2024-09-03 16:04:29.324 | INFO | app.services.task:start:210 - start task: ede388e9-37c0-4f86-a79f-0bc31d76d54e, stop_at: video
2024-09-03 16:04:29.327 | INFO | app.services.task:generate_script:18 -
2024-09-03 16:04:29.330 | INFO | app.services.llm:generate_script:282 - subject: 父母如何教导孩子学会拒绝
2024-09-03 16:04:29.332 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:32.142 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:32.144 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 1
2024-09-03 16:04:32.146 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:33.646 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Incorrect API key provided', 'type': 'incorrect_api_key_error'}}
2024-09-03 16:04:33.648 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 2
2024-09-03 16:04:33.651 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:36.265 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:36.267 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 3
2024-09-03 16:04:36.268 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:38.717 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:38.718 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 4
2024-09-03 16:04:38.719 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:41.196 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:41.198 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 5
2024-09-03 16:04:41.199 | SUCCESS | app.services.llm:generate_script:323 - completed:
2024-09-03 16:04:41.200 | ERROR | app.services.task:generate_script:31 - failed to generate video script.
2024-09-03 16:04:41.201 | ERROR | main::790 - 视频生成失败
有高手解答下吗
大语言模型 llm的api key验证不通过
2024-09-03 16:04:29.288 | INFO | main::783 - 开始生成视频
2024-09-03 16:04:29.308 | INFO | main::784 - {
"video_subject": "父母如何教导孩子学会拒绝",
"video_script": "",
"video_terms": "",
"video_aspect": "16:9",
"video_concat_mode": "random",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pixabay",
"video_materials": null,
"video_language": "zh-CN",
"voice_name": "zh-CN-XiaoxiaoNeural-Female",
"voice_volume": 1.0,
"voice_rate": 1.0,
"bgm_type": "random",
"bgm_file": "",
"bgm_volume": 0.2,
"subtitle_enabled": true,
"subtitle_position": "bottom",
"custom_position": 70.0,
"font_name": "MicrosoftYaHeiNormal.ttc",
"text_fore_color": "#e4128f",
"text_background_color": "transparent",
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}
2024-09-03 16:04:29.324 | INFO | app.services.task:start:210 - start task: ede388e9-37c0-4f86-a79f-0bc31d76d54e, stop_at: video
2024-09-03 16:04:29.327 | INFO | app.services.task:generate_script:18 -
generating video script
2024-09-03 16:04:29.330 | INFO | app.services.llm:generate_script:282 - subject: 父母如何教导孩子学会拒绝
2024-09-03 16:04:29.332 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:32.142 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:32.144 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 1
2024-09-03 16:04:32.146 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:33.646 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Incorrect API key provided', 'type': 'incorrect_api_key_error'}}
2024-09-03 16:04:33.648 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 2
2024-09-03 16:04:33.651 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:36.265 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:36.267 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 3
2024-09-03 16:04:36.268 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:38.717 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:38.718 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 4
2024-09-03 16:04:38.719 | INFO | app.services.llm:_generate_response:18 - llm provider: moonshot
2024-09-03 16:04:41.196 | ERROR | app.services.llm:generate_script:318 - failed to generate script: Error code: 401 - {'error': {'message': 'Invalid Authentication', 'type': 'invalid_authentication_error'}}
2024-09-03 16:04:41.198 | WARNING | app.services.llm:generate_script:321 - failed to generate video script, trying again... 5
2024-09-03 16:04:41.199 | SUCCESS | app.services.llm:generate_script:323 - completed:
2024-09-03 16:04:41.200 | ERROR | app.services.task:generate_script:31 - failed to generate video script.
2024-09-03 16:04:41.201 | ERROR | main::790 - 视频生成失败