11.02.2026 20:06:41
PS C:\Users\Kaleos\Desktop> & C:/Users/Kaleos/AppData/Local/Programs/Python/Python310/python.exe c:/Users/Kaleos/Desktop/ttsAPI_Google.py Ошибка: { "error": { "code": 403, "message": "Cloud Text-to-Speech API has not been used in project 831596457704 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=831596457704 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "SERVICE_DISABLED", "domain": "googleapis.com", "metadata": { "containerInfo": "831596457704", "service": "texttospeech.googleapis.com", "consumer": "projects/831596457704", "activationUrl": "https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=831596457704", "serviceTitle": "Cloud Text-to-Speech API" } }, { "@type": "type.googleapis.com/google.rpc.LocalizedMessage", "locale": "en-US", "message": "Cloud Text-to-Speech API has not been used in project 831596457704 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=831596457704 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry." }, { "@type": "type.googleapis.com/google.rpc.Help", "links": [ { "description": "Google developers console API activation", "url": "https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=831596457704" } ] } ] } }