Skip to content

[Bug]: failed to generate audio: Connection timeout to host Azure TTS V1 #785

Description

@emersong-espressolabs

问题描述 | Current Behavior

Running on Windows

Log Test 1 (Microsoft Edge, voice PT-BR):

2025-09-30 11:06:23.531 | INFO | main::960 - Começar a Gerar Vídeo

2025-09-30 11:06:23.533 | INFO | main::961 - {
"video_subject": "Curiosidades sobre as formigas",
"video_script": "As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.",
"video_terms": "ant facts, ant species, ant communication, ant colonies, ant agriculture",
"video_aspect": "9:16",
"video_concat_mode": "random",
"video_transition_mode": "None",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pexels",
"video_materials": null,
"video_language": "",
"voice_name": "pt-BR-AntonioNeural-Male",
"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": "MicrosoftYaHeiBold.ttc",
"text_fore_color": "#FFFFFF",
"text_background_color": true,
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}

2025-09-30 11:06:23.535 | INFO | app.services.task:start:211 - start task: 4138a72b-8fa0-4e2f-a49d-87122eae9a7c, stop_at: video

2025-09-30 11:06:23.537 | INFO | app.services.task:generate_script:17 -

generating video script

2025-09-30 11:06:23.538 | DEBUG | app.services.task:generate_script:26 - video script:
As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.

2025-09-30 11:06:23.540 | INFO | app.services.task:generate_terms:37 -

generating video terms

2025-09-30 11:06:23.541 | DEBUG | app.services.task:generate_terms:51 - video terms: [
"ant facts",
"ant species",
"ant communication",
"ant colonies",
"ant agriculture"
]

2025-09-30 11:06:23.546 | INFO | app.services.task:generate_audio:74 -

generating audio

2025-09-30 11:06:23.550 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: pt-BR-AntonioNeural, try: 1

2025-09-30 11:06:29.786 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=8975dee21cc3458fbe8acc4cc064f533

2025-09-30 11:06:33.799 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=d39ee9c905834541acd9fd1cbc428da9

2025-09-30 11:06:34.784 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=69c76af3d8c14a81a9e49de6b11986aa

2025-09-30 11:06:34.785 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: pt-BR-AntonioNeural, try: 2

2025-09-30 11:06:45.792 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=f07793965e154f8db35a85c63afae746

2025-09-30 11:06:45.794 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: pt-BR-AntonioNeural, try: 3

2025-09-30 11:06:56.801 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=82cb0e32042742659c5e4f55d0f2f954

2025-09-30 11:06:56.801 | ERROR | app.services.task:generate_audio:84 - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

2025-09-30 11:06:56.804 | ERROR | main::967 - Falha na Geração do Vídeo


Log test 2 (Google Chrome, Voice EN-US)

2025-09-30 11:12:35.817 | INFO | main::960 - Começar a Gerar Vídeo

2025-09-30 11:12:35.819 | INFO | main::961 - {
"video_subject": "ant facts",
"video_script": "Ants are remarkable creatures that exhibit fascinating behaviors and characteristics. With over 12,000 known species, they can be found on almost every continent, showcasing incredible adaptability to various environments. One interesting fact is that ants can carry objects up to 50 times their own body weight, utilizing their strong mandibles and teamwork to transport food and resources back to their colonies. Social structure among ants is also complex; they live in colonies that can range from a few dozen to millions of individuals, all working together for the collective survival of the group. Communication among ants is mainly through pheromones, allowing them to signal danger, mark food trails, or identify members of their colony. Lastly, some ant species even engage in farming activities, such as cultivating fungi or harvesting aphid honeydew, demonstrating an advanced level of social and environmental interaction.",
"video_terms": "ant facts, ant behavior, ant species, ant communication, ant colony structure",
"video_aspect": "9:16",
"video_concat_mode": "random",
"video_transition_mode": "None",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pexels",
"video_materials": null,
"video_language": "en-US",
"voice_name": "en-US-AvaNeural-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": "MicrosoftYaHeiBold.ttc",
"text_fore_color": "#FFFFFF",
"text_background_color": true,
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}

2025-09-30 11:12:35.821 | INFO | app.services.task:start:211 - start task: 5dfba21a-c204-4d9a-b11e-219f8f08ec7a, stop_at: video

2025-09-30 11:12:35.823 | INFO | app.services.task:generate_script:17 -

generating video script

2025-09-30 11:12:35.824 | DEBUG | app.services.task:generate_script:26 - video script:
Ants are remarkable creatures that exhibit fascinating behaviors and characteristics. With over 12,000 known species, they can be found on almost every continent, showcasing incredible adaptability to various environments. One interesting fact is that ants can carry objects up to 50 times their own body weight, utilizing their strong mandibles and teamwork to transport food and resources back to their colonies. Social structure among ants is also complex; they live in colonies that can range from a few dozen to millions of individuals, all working together for the collective survival of the group. Communication among ants is mainly through pheromones, allowing them to signal danger, mark food trails, or identify members of their colony. Lastly, some ant species even engage in farming activities, such as cultivating fungi or harvesting aphid honeydew, demonstrating an advanced level of social and environmental interaction.

2025-09-30 11:12:35.826 | INFO | app.services.task:generate_terms:37 -

generating video terms

2025-09-30 11:12:35.828 | DEBUG | app.services.task:generate_terms:51 - video terms: [
"ant facts",
"ant behavior",
"ant species",
"ant communication",
"ant colony structure"
]

2025-09-30 11:12:35.834 | INFO | app.services.task:generate_audio:74 -

generating audio

2025-09-30 11:12:35.837 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: en-US-AvaNeural, try: 1

2025-09-30 11:12:46.788 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=7a3690a7f4694e1eaaf97375e824b7a5

2025-09-30 11:12:46.789 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: en-US-AvaNeural, try: 2

2025-09-30 11:12:57.792 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=056cf0619f344936b8487d1a47c2b65d

2025-09-30 11:12:57.793 | INFO | app.services.voice:azure_tts_v1:1127 - start, voice name: en-US-AvaNeural, try: 3

2025-09-30 11:13:08.791 | ERROR | app.services.voice:azure_tts_v1:1150 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=d886d69caa514cd89f282fd365c23304

2025-09-30 11:13:08.794 | ERROR | app.services.task:generate_audio:84 - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

2025-09-30 11:13:08.795 | ERROR | main::967 - Falha na Geração do Vídeo

重现步骤 | Steps to Reproduce

The error occurred in all my tests for generating video.

错误日志 | Error Logs

***** Current directory: C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\ *****
***** FFmpeg file: C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\ffmpeg\ffmpeg-7.0-essentials_build\ffmpeg.exe *****
***** ImageMagick file: C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\imagemagic\ImageMagick-7.1.1-29-portable-Q16-x64\magick.exe *****

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.15.15:8501

******** sys.path ********
['C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\MoneyPrinterTurbo\webui\Main.py', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\MoneyPrinterTurbo\webui', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\python\python310.zip', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\python\DLLs', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\python\lib', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\python', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\lib\python\lib\site-packages', 'C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\MoneyPrinterTurbo']

2025-09-30 10:54:13.716 | INFO | app.config.config:load_config:21 - copy config.example.toml to config.toml
2025-09-30 10:54:13.717 | INFO | app.config.config:load_config:23 - load config from file: C:\Users\Emers\Downloads\MoneyPrinterTurbo-Portable-Windows-1.2.6\MoneyPrinterTurbo/config.toml
2025-09-30 10:54:13.728 | INFO | app.config.config::78 - MoneyPrinterTurbo v1.2.6
2025-09-30 11:01:33 | INFO | "./app\services\llm.py:321": generate_script - subject: Curiosidades sobre as formigas
2025-09-30 11:01:33 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:01:35 | ERROR | "./app\services\llm.py:362": generate_script - failed to generate video script: Error: Error code: 404 - {'error': {'message': 'Invalid URL ', 'type': 'invalid_request_error', 'param': None, 'code': None}}
2025-09-30 11:01:35 | INFO | "./app\services\llm.py:395": generate_terms - subject: Curiosidades sobre as formigas
2025-09-30 11:01:35 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:01:36 | ERROR | "./app\services\llm.py:403": generate_terms - failed to generate video script: Error: Error code: 404 - {'error': {'message': 'Invalid URL (POST /v1/chat/completions/chat/completions)', 'type': 'invalid_request_error', 'param': None, 'code': None}}
2025-09-30 11:01:50 | INFO | "./app\services\llm.py:321": generate_script - subject: Curiosidades sobre as formigas
2025-09-30 11:01:50 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:01:51 | ERROR | "./app\services\llm.py:362": generate_script - failed to generate video script: Error: Error code: 404 - {'error': {'message': 'Invalid URL ', 'type': 'invalid_request_error', 'param': None, 'code': None}}
2025-09-30 11:01:51 | INFO | "./app\services\llm.py:395": generate_terms - subject: Curiosidades sobre as formigas
2025-09-30 11:01:51 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:01:52 | ERROR | "./app\services\llm.py:403": generate_terms - failed to generate video script: Error: Error code: 404 - {'error': {'message': 'Invalid URL (POST /v1/chat/completions/chat/completions)', 'type': 'invalid_request_error', 'param': None, 'code': None}}
2025-09-30 11:02:35 | INFO | "./app\services\llm.py:321": generate_script - subject: Curiosidades sobre as formigas
2025-09-30 11:02:35 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:02:41 | SUCCESS | "./app\services\llm.py:364": generate_script - completed:
As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.
2025-09-30 11:02:41 | INFO | "./app\services\llm.py:395": generate_terms - subject: Curiosidades sobre as formigas
2025-09-30 11:02:41 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:02:43 | SUCCESS | "./app\services\llm.py:428": generate_terms - completed:
['ant facts', 'ant behavior', 'ant colonies', 'ant communication', 'ant agriculture']
2025-09-30 11:02:52 | INFO | "./app\services\llm.py:395": generate_terms - subject: Curiosidades sobre as formigas
2025-09-30 11:02:52 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
2025-09-30 11:02:54 | SUCCESS | "./app\services\llm.py:428": generate_terms - completed:
['ant facts', 'ant species', 'ant communication', 'ant colonies', 'ant agriculture']
2025-09-30 11:03:15 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:03:26 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=cf459a2ca66c4a9fa06e74276bb42415
2025-09-30 11:03:26 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:03:37 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=39f051f27ac148e6903ad6640ec57a6b
2025-09-30 11:03:37 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
2025-09-30 11:03:48 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=e16d7b38b86044ea80eefb8833c562f8
2025-09-30 11:03:48 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:03:53 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:03:59 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=c6ff127ed3c44b0486e98d3d84b52806
2025-09-30 11:03:59 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:04:04 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=37e8e7835c364090951ef6fd616d0147
2025-09-30 11:04:04 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:04:10 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=831f31a88b0b42a68691cec627c8fdaa
2025-09-30 11:04:10 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
2025-09-30 11:04:12 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
2025-09-30 11:04:12 | INFO | "./webui\Main.py:961": - {
"video_subject": "Curiosidades sobre as formigas",
"video_script": "As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.",
"video_terms": "ant facts, ant species, ant communication, ant colonies, ant agriculture",
"video_aspect": "9:16",
"video_concat_mode": "random",
"video_transition_mode": "None",
"video_clip_duration": 3,
"video_count": 1,
"video_source": "pexels",
"video_materials": null,
"video_language": "",
"voice_name": "pt-BR-AntonioNeural-Male",
"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": "MicrosoftYaHeiBold.ttc",
"text_fore_color": "#FFFFFF",
"text_background_color": true,
"font_size": 60,
"stroke_color": "#000000",
"stroke_width": 1.5,
"n_threads": 2,
"paragraph_number": 1
}
2025-09-30 11:04:12 | INFO | "./app\services\task.py:211": start - start task: 97ca3439-b8db-4f65-b466-0cc90ba3d07b, stop_at: video
2025-09-30 11:04:12 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:04:12 | DEBUG | "./app\services\task.py:26": generate_script - video script:
As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.
2025-09-30 11:04:12 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:04:12 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant species",
"ant communication",
"ant colonies",
"ant agriculture"
]
2025-09-30 11:04:12 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:04:12 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:04:15 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=daf1c2313fc14ed6b97195060333da88
2025-09-30 11:04:21 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=69052d64b708494ebd6792dae7ca406e
2025-09-30 11:04:23 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=b27a300d7b8d41b9be8b48c636862f2e
2025-09-30 11:04:23 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:04:34 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=94c6d7bb1a7e439abdbd462b78603880
2025-09-30 11:04:34 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
2025-09-30 11:04:45 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=2045091A31077677EC8DD809488BF97D91F07AF3191D73A877BD8BAACE76C2A9&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=28857f190f484fc78d8cbea9d4cd6fab
2025-09-30 11:04:45 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:04:45 | ERROR | "./webui\Main.py:967": - Falha na Geração do Vídeo
    2025-09-30 11:05:42 | ERROR | "./app\services\voice.py:1180": siliconflow_tts - SiliconFlow API key is not set
    2025-09-30 11:05:42 | ERROR | "./app\services\voice.py:1180": siliconflow_tts - SiliconFlow API key is not set
    2025-09-30 11:05:56 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
    2025-09-30 11:06:00 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
    2025-09-30 11:06:07 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=42ae2464d4e646d1b3e5426dcc5dcbda
    2025-09-30 11:06:07 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
    2025-09-30 11:06:11 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=e4dc365447b1422880258b39c8c1f28c
    2025-09-30 11:06:11 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
    2025-09-30 11:06:18 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=2d1a5fe897804dffb5583e320c175610
    2025-09-30 11:06:18 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
    2025-09-30 11:06:22 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=9e9abef38b394e39a0a18369d20f8cf8
    2025-09-30 11:06:22 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
    2025-09-30 11:06:23 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
    2025-09-30 11:06:23 | INFO | "./webui\Main.py:961": - {
    "video_subject": "Curiosidades sobre as formigas",
    "video_script": "As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.",
    "video_terms": "ant facts, ant species, ant communication, ant colonies, ant agriculture",
    "video_aspect": "9:16",
    "video_concat_mode": "random",
    "video_transition_mode": "None",
    "video_clip_duration": 3,
    "video_count": 1,
    "video_source": "pexels",
    "video_materials": null,
    "video_language": "",
    "voice_name": "pt-BR-AntonioNeural-Male",
    "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": "MicrosoftYaHeiBold.ttc",
    "text_fore_color": "#FFFFFF",
    "text_background_color": true,
    "font_size": 60,
    "stroke_color": "#000000",
    "stroke_width": 1.5,
    "n_threads": 2,
    "paragraph_number": 1
    }
    2025-09-30 11:06:23 | INFO | "./app\services\task.py:211": start - start task: 4138a72b-8fa0-4e2f-a49d-87122eae9a7c, stop_at: video
    2025-09-30 11:06:23 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:06:23 | DEBUG | "./app\services\task.py:26": generate_script - video script:
As formigas são criaturas fascinantes que desempenham papéis essenciais em seus ecossistemas. Muitas espécies de formigas podem carregar até 50 vezes o seu peso corporal, graças à força inerente de seus músculos. Elas vivem em colônias organizadas que podem variar de algumas dezenas a milhões de indivíduos, e cada formiga tem uma função específica, como rainhas, operárias ou soldados. A comunicação entre elas é surpreendente; elas utilizam feromônios, sons e movimentos corporais para se coordenar e tomar decisões. Curiosamente, algumas formigas praticam a agricultura, cultivando fungos que servem como alimento, enquanto outras formigas criam afídios, um tipo de inseto que secreta uma substância açucarada que as formigas adoram. Essas interações não só mostram a inteligência dessas criaturas, mas também destacam a complexidade de suas sociedades.
2025-09-30 11:06:23 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:06:23 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant species",
"ant communication",
"ant colonies",
"ant agriculture"
]
2025-09-30 11:06:23 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:06:23 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:06:29 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=8975dee21cc3458fbe8acc4cc064f533
2025-09-30 11:06:33 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=d39ee9c905834541acd9fd1cbc428da9
2025-09-30 11:06:34 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=69c76af3d8c14a81a9e49de6b11986aa
2025-09-30 11:06:34 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:06:45 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=f07793965e154f8db35a85c63afae746
2025-09-30 11:06:45 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
2025-09-30 11:06:56 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=82cb0e32042742659c5e4f55d0f2f954
2025-09-30 11:06:56 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:06:56 | ERROR | "./webui\Main.py:967": - Falha na Geração do Vídeo
    2025-09-30 11:09:07 | INFO | "./app\services\llm.py:321": generate_script - subject: Curiosidades sobre as formigas
    2025-09-30 11:09:07 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
    2025-09-30 11:09:13 | SUCCESS | "./app\services\llm.py:364": generate_script - completed:
    As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.
    2025-09-30 11:09:13 | INFO | "./app\services\llm.py:395": generate_terms - subject: Curiosidades sobre as formigas
    2025-09-30 11:09:13 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
    2025-09-30 11:09:15 | SUCCESS | "./app\services\llm.py:428": generate_terms - completed:
    ['ant facts', 'ant species', 'ant colonies', 'ant communication', 'ant ecosystem']
    2025-09-30 11:09:25 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
    2025-09-30 11:09:25 | INFO | "./webui\Main.py:961": - {
    "video_subject": "Curiosidades sobre as formigas",
    "video_script": "As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.",
    "video_terms": "ant facts, ant species, ant colonies, ant communication, ant ecosystem",
    "video_aspect": "9:16",
    "video_concat_mode": "random",
    "video_transition_mode": "None",
    "video_clip_duration": 3,
    "video_count": 1,
    "video_source": "pexels",
    "video_materials": null,
    "video_language": "",
    "voice_name": "pt-BR-AntonioNeural-Male",
    "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": "MicrosoftYaHeiBold.ttc",
    "text_fore_color": "#FFFFFF",
    "text_background_color": true,
    "font_size": 60,
    "stroke_color": "#000000",
    "stroke_width": 1.5,
    "n_threads": 2,
    "paragraph_number": 1
    }
    2025-09-30 11:09:25 | INFO | "./app\services\task.py:211": start - start task: b1a4b846-96f4-4b34-8bc7-59b12cb7a12c, stop_at: video
    2025-09-30 11:09:25 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:09:25 | DEBUG | "./app\services\task.py:26": generate_script - video script:
As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.
2025-09-30 11:09:25 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:09:25 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant species",
"ant colonies",
"ant communication",
"ant ecosystem"
]
2025-09-30 11:09:25 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:09:25 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 1
2025-09-30 11:09:36 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=22cc1437e76342acbf240af4758a8fcf
2025-09-30 11:09:36 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 2
2025-09-30 11:09:47 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=ebe55d0bd2104ae88d35953e477290ec
2025-09-30 11:09:47 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-AntonioNeural, try: 3
2025-09-30 11:09:58 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=0C4EBE403F471DB0674EE3E33FAD52CD6B075FB6743EDEB9754A2C3B9CF114A0&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=bd519e2a13f245629b7d42c262ae5c00
2025-09-30 11:09:58 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:09:58 | ERROR | "./webui\Main.py:967": - Falha na Geração do Vídeo
    2025-09-30 11:10:43 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-FranciscaNeural, try: 1
    2025-09-30 11:10:51 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
    2025-09-30 11:10:51 | INFO | "./webui\Main.py:961": - {
    "video_subject": "Curiosidades sobre as formigas",
    "video_script": "As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.",
    "video_terms": "ant facts, ant species, ant colonies, ant communication, ant ecosystem",
    "video_aspect": "9:16",
    "video_concat_mode": "random",
    "video_transition_mode": "None",
    "video_clip_duration": 3,
    "video_count": 1,
    "video_source": "pexels",
    "video_materials": null,
    "video_language": "",
    "voice_name": "pt-BR-FranciscaNeural-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": "MicrosoftYaHeiBold.ttc",
    "text_fore_color": "#FFFFFF",
    "text_background_color": true,
    "font_size": 60,
    "stroke_color": "#000000",
    "stroke_width": 1.5,
    "n_threads": 2,
    "paragraph_number": 1
    }
    2025-09-30 11:10:51 | INFO | "./app\services\task.py:211": start - start task: 056288c9-6696-4810-b6b5-42d99a291c4c, stop_at: video
    2025-09-30 11:10:51 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:10:51 | DEBUG | "./app\services\task.py:26": generate_script - video script:
As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.
2025-09-30 11:10:51 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:10:51 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant species",
"ant colonies",
"ant communication",
"ant ecosystem"
]
2025-09-30 11:10:51 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:10:51 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-FranciscaNeural, try: 1
2025-09-30 11:10:54 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=9f0c1bb35a274aa4a4780233419ff7e6
2025-09-30 11:11:02 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=6a425e11eba744d5b13ce32cc1158a01
2025-09-30 11:11:02 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-FranciscaNeural, try: 2
2025-09-30 11:11:13 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=cae503ef717142f7809d887a6f25640b
2025-09-30 11:11:13 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-FranciscaNeural, try: 3
2025-09-30 11:11:24 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=d25b1d80f0024d228977fb7eb167a96d
2025-09-30 11:11:24 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:11:24 | ERROR | "./webui\Main.py:967": - Falha na Geração do Vídeo
    2025-09-30 11:11:35 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
    2025-09-30 11:11:35 | INFO | "./webui\Main.py:961": - {
    "video_subject": "Curiosidades sobre as formigas",
    "video_script": "As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.",
    "video_terms": "ant facts, ant species, ant colonies, ant communication, ant ecosystem",
    "video_aspect": "9:16",
    "video_concat_mode": "random",
    "video_transition_mode": "None",
    "video_clip_duration": 3,
    "video_count": 1,
    "video_source": "pexels",
    "video_materials": null,
    "video_language": "",
    "voice_name": "pt-BR-ThalitaMultilingualNeural-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": "MicrosoftYaHeiBold.ttc",
    "text_fore_color": "#FFFFFF",
    "text_background_color": true,
    "font_size": 60,
    "stroke_color": "#000000",
    "stroke_width": 1.5,
    "n_threads": 2,
    "paragraph_number": 1
    }
    2025-09-30 11:11:35 | INFO | "./app\services\task.py:211": start - start task: 9c62fcee-f798-4313-914a-3882ec4b864e, stop_at: video
    2025-09-30 11:11:35 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:11:35 | DEBUG | "./app\services\task.py:26": generate_script - video script:
As formigas são criaturas fascinantes que desempenham papéis cruciais nos ecossistemas. Existem mais de 12.000 espécies conhecidas de formigas, variando em tamanho, cor e comportamento. Elas vivem em colônias que podem conter milhões de indivíduos, organizadas em uma estrutura social complexa com rainhas, operárias e machos. Além de serem excelentes colaboradoras, formigas são capazes de se comunicar entre si através de feromônios, sinais químicos que transmitem informações sobre comida, perigos e até mesmo a localização do ninho. Outro aspecto interessante é a sua capacidade de cultivar fungos; algumas espécies, como as formigas cortadeiras, coletam folhas que, quando trituradas, se tornam substrato para o fungo que elas cultivam e consomem. Isso mostra como essas pequenas criaturas podem ter um impacto significativo no meio ambiente e na biodiversidade.
2025-09-30 11:11:35 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:11:35 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant species",
"ant colonies",
"ant communication",
"ant ecosystem"
]
2025-09-30 11:11:35 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:11:35 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-ThalitaMultilingualNeural, try: 1
2025-09-30 11:11:46 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=f61de0293cf6460face84007f94ed1c9
2025-09-30 11:11:46 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-ThalitaMultilingualNeural, try: 2
2025-09-30 11:11:57 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=c839b6767ecd4546a24f89c732c931ae
2025-09-30 11:11:57 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: pt-BR-ThalitaMultilingualNeural, try: 3
2025-09-30 11:12:08 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=437c2c2f06ce4c27a093262753463694
2025-09-30 11:12:08 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:12:20 | INFO | "./app\services\llm.py:321": generate_script - subject: ant facts
    2025-09-30 11:12:20 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
    2025-09-30 11:12:26 | SUCCESS | "./app\services\llm.py:364": generate_script - completed:
    Ants are remarkable creatures that exhibit fascinating behaviors and characteristics. With over 12,000 known species, they can be found on almost every continent, showcasing incredible adaptability to various environments. One interesting fact is that ants can carry objects up to 50 times their own body weight, utilizing their strong mandibles and teamwork to transport food and resources back to their colonies. Social structure among ants is also complex; they live in colonies that can range from a few dozen to millions of individuals, all working together for the collective survival of the group. Communication among ants is mainly through pheromones, allowing them to signal danger, mark food trails, or identify members of their colony. Lastly, some ant species even engage in farming activities, such as cultivating fungi or harvesting aphid honeydew, demonstrating an advanced level of social and environmental interaction.
    2025-09-30 11:12:26 | INFO | "./app\services\llm.py:395": generate_terms - subject: ant facts
    2025-09-30 11:12:26 | INFO | "./app\services\llm.py:21": _generate_response - llm provider: openai
    2025-09-30 11:12:27 | SUCCESS | "./app\services\llm.py:428": generate_terms - completed:
    ['ant facts', 'ant behavior', 'ant species', 'ant communication', 'ant colony structure']
    2025-09-30 11:12:35 | INFO | "./webui\Main.py:960": - Começar a Gerar Vídeo
    2025-09-30 11:12:35 | INFO | "./webui\Main.py:961": - {
    "video_subject": "ant facts",
    "video_script": "Ants are remarkable creatures that exhibit fascinating behaviors and characteristics. With over 12,000 known species, they can be found on almost every continent, showcasing incredible adaptability to various environments. One interesting fact is that ants can carry objects up to 50 times their own body weight, utilizing their strong mandibles and teamwork to transport food and resources back to their colonies. Social structure among ants is also complex; they live in colonies that can range from a few dozen to millions of individuals, all working together for the collective survival of the group. Communication among ants is mainly through pheromones, allowing them to signal danger, mark food trails, or identify members of their colony. Lastly, some ant species even engage in farming activities, such as cultivating fungi or harvesting aphid honeydew, demonstrating an advanced level of social and environmental interaction.",
    "video_terms": "ant facts, ant behavior, ant species, ant communication, ant colony structure",
    "video_aspect": "9:16",
    "video_concat_mode": "random",
    "video_transition_mode": "None",
    "video_clip_duration": 3,
    "video_count": 1,
    "video_source": "pexels",
    "video_materials": null,
    "video_language": "en-US",
    "voice_name": "en-US-AvaNeural-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": "MicrosoftYaHeiBold.ttc",
    "text_fore_color": "#FFFFFF",
    "text_background_color": true,
    "font_size": 60,
    "stroke_color": "#000000",
    "stroke_width": 1.5,
    "n_threads": 2,
    "paragraph_number": 1
    }
    2025-09-30 11:12:35 | INFO | "./app\services\task.py:211": start - start task: 5dfba21a-c204-4d9a-b11e-219f8f08ec7a, stop_at: video
    2025-09-30 11:12:35 | INFO | "./app\services\task.py:17": generate_script -

generating video script

2025-09-30 11:12:35 | DEBUG | "./app\services\task.py:26": generate_script - video script:
Ants are remarkable creatures that exhibit fascinating behaviors and characteristics. With over 12,000 known species, they can be found on almost every continent, showcasing incredible adaptability to various environments. One interesting fact is that ants can carry objects up to 50 times their own body weight, utilizing their strong mandibles and teamwork to transport food and resources back to their colonies. Social structure among ants is also complex; they live in colonies that can range from a few dozen to millions of individuals, all working together for the collective survival of the group. Communication among ants is mainly through pheromones, allowing them to signal danger, mark food trails, or identify members of their colony. Lastly, some ant species even engage in farming activities, such as cultivating fungi or harvesting aphid honeydew, demonstrating an advanced level of social and environmental interaction.
2025-09-30 11:12:35 | INFO | "./app\services\task.py:37": generate_terms -

generating video terms

2025-09-30 11:12:35 | DEBUG | "./app\services\task.py:51": generate_terms - video terms: [
"ant facts",
"ant behavior",
"ant species",
"ant communication",
"ant colony structure"
]
2025-09-30 11:12:35 | INFO | "./app\services\task.py:74": generate_audio -

generating audio

2025-09-30 11:12:35 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 1
2025-09-30 11:12:46 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=7a3690a7f4694e1eaaf97375e824b7a5
2025-09-30 11:12:46 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 2
2025-09-30 11:12:57 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=056cf0619f344936b8487d1a47c2b65d
2025-09-30 11:12:57 | INFO | "./app\services\voice.py:1127": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 3
2025-09-30 11:13:08 | ERROR | "./app\services\voice.py:1150": azure_tts_v1 - failed, error: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=54823B87813AF18B021EF7AD420F735393DD3ED8FE9828280930E2F2D08322C8&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=d886d69caa514cd89f282fd365c23304
2025-09-30 11:13:08 | ERROR | "./app\services\task.py:84": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.
    2025-09-30 11:13:08 | ERROR | "./webui\Main.py:967": - Falha na Geração do Vídeo

Python 版本 | Python Version

v3.12

操作系统 | Operating System

Windows 11

MoneyPrinterTurbo 版本 | Version

v1.2.6

补充信息 | Additional Information

Installed using Windows mode, first running update.bat and then start.bat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions