ThioJoe / Auto-Synced-Translated-Dubs

Automatically translates the text of a video based on a subtitle file, and then uses AI voice services to create a new dubbed & translated audio track where the speech is synced using the subtitle's timings.
GNU General Public License v3.0
1.6k stars 158 forks source link

"message": "Only \"Standard\" subscriptions for the region of the called service are valid." #91

Open BlueBlue7891 opened 6 months ago

BlueBlue7891 commented 6 months ago

Hello, I encountered the following error while using your program:

G:\TTS\Auto-Synced-Translated-Dubs-0.20.1 [🐍 v3.10.6][⏱ 5s]
❯ python main.py
------- 'Auto Synced Translated Dubs' script by ThioJoe - Release version 0.20.1 -------

----- Beginning Processing of Languages -----

----- Beginning Processing of Language (1/2): en-US -----
Original language is the same as the target language. Skipping translation.

[05/29/2024 04:10:56 PM China Standard Time] Failed to submit batch synthesis job: {
"code": "Forbidden",
Only \"Standard\" subscriptions for the region of the called service are valid.
}

ERROR: An expected file was not found. This is likely because the TTS service failed to synthesize the audio. Refer to any error messages above.

How to solve this problem?