Hello,
we are interesting in a custom voice model which should be used for Dialogflow voicebot. As per this link https://cloud.google.com/text-to-speech/custom-voice/docs I am trying to submit a new model / request but was not able to finish it. Everything is prepared but when apply the curl command it ends with two different errors.
curl -X POST \
-H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \
-H "Content-Type: application/json; charset=utf-8" \
-d @request.json \
https://texttospeech.googleapis.com/v1beta1/text:synthesiz
curl -X POST \
-H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \
-H "Content-Type: application/json; charset=utf-8" \
-d @request.json \
https://texttospeech.googleapis.com/v1beta1/text:synthesize
{
"input":{
"text":"Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets."
},
"voice":{
"languageCode":"en-US",
"custom_voice":{
"reportedUsage":"REALTIME",
"model":"projects/<xxx>/locations/us-central1/models/cctr",
}
},
"audioConfig":{
"audioEncoding":"LINEAR16"
}
}
First is missing language code where I add "languageCode":"en-US", based on the documentation but then it ends with missing model error. I think I missed some step but was not able to find which one, probably some step with model creation?
Any help will be appreciated.
Thank you,
Roman
Hi @Roman5
Welcome back to Google Cloud Community
After you set up your text-to-speech custom voice you need to implement your model.
To implement Custom Voice, please contact a member of the sales team
Model training
It takes Google several weeks to train and evaluate your custom voice model. There is no SLA support for critical bugs for Beta features.
Evaluation and user acceptance tests
Google conducts an initial round of evaluation of the trained model. Once it passes our internal quality criteria, we will send you some offline audio samples recorded using your custom model. You will then follow a user acceptance testing process to evaluate the audio results and officially sign off on the model.
Here is a reference that might help you.
Text-to-Speech documentation
https://cloud.google.com/text-to-speech/custom-voice/docs
Custom Voice quickstart
https://cloud.google.com/text-to-speech/custom-voice/docs/quickstart
Contact sales team
https://cloud.google.com/contact
I feel you this api for text to speech ai
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |