how to use google cloud text to speech API? i contacted their support not of much help. any smart guy who can get me through this? - google-cloud-platform

I created the credentials, but was not able to locate the product for end use. there was a page but we had to use code there some jason script may be. not the product they showed in the demo.

Related

What are Cloud Anchors?

I was exploring Google IO 2022 webpage, having been introduced to it just this year. Something that was interesting to me was ARCore Cloud Anchors - https://codelabs.developers.google.com/codelabs/arcore-cloud-anchors
I wanted to know more about how cloud anchors work but could not find much on the internet that explains this concept intuitively. Kindly help me understand what are these and how do they work.
PS: If this is the wrong stack exchange site to post this query, kindly let me know where can I post this query instead?

optimizing data mining from google form for online statistics for recommendation system (Flask app delpoyed on Heroku)

I'm building the Flask app delpoyed on Heroku: recommendation system for the field of future study.
Now I'm stuck on the next question: for now, pupils can fill Google Form, their data adding to Google Sheets, and based on that I'm doing offline statistics. And now I want to implement live-statistics. Because of some "multiple response" questions, there is a problem to take new data from Google Sheets of form without converting data. If I will convert all responces each time, all of that will be not optimized.
What is the best way to implement live-statistics: I don't want use Heroku database and I want to use my Google Sheet. Maybe there is some way to create and update csv file online after each new response?
Any suggestions?
Thank you in advance!
As suggested by Tin, you can use the Sheet API directly; here is a useful guide to get started for Python.
However, since you mention you want to use your Sheet directly, it would be a good idea to take a look at Google Apps Script, it can be quite useful for working with Google products directly and it's easy to use.
You can try with this tutorial on how to get started with Apps Script to work with Sheets. If you have any further questions, feel free to post them separately, the community will be more than happy to help.

Google Cloud SDK documentation

I have just started looking at Google Cloud. I have been following this tutorial to try to setup the system.
I can successfully download the tar file, I can successfully run install.sh, however when I run the following command I get some unusual behaviour:
./google-cloud-sdk/bin/gcloud init
1) I agree to login - fine.
2) It brings up a page where I need to choose one of my accounts, which I do.
3) It brings up a website saying:
Google Cloud SDK wants to access your Google Account
I then hit Allow.
4) This is where it all goes wrong. It then tries to go to a website such as the following:
http://localhost:8085/?code=4/tQD6sXNDlkpcdFUctB7ZgKKuj7T1Aiqev4o7zGaDVpctit6zrqFfWbnAXSo_zFTVjo4_VyxrUlUtq8IgsRAS7M0&scope=openid%20email%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/cloud-platform%20https://www.googleapis.com/auth/appengine.admin%20https://www.googleapis.com/auth/compute%20https://www.googleapis.com/auth/accounts.reauth%20https://www.googleapis.com/auth/plus.me
The website displays something saying 'This site can't be reached'.
This seems strange to me. Why is Google attempting to access http://localhost:8085 ? Surely it should be going to some kind of Google site.
If you could offer any help or advice, I would very much appreciate it. Please bear in mind that I am new to Google Cloud and I would need some very basic help. I am trying to setup a simple website with something like "hello world" with html/css and python.
If you know of any alternative tutorials that work, I would really appreciate it.
I had the same problem as you. I solved it by using gcloud auth login --no-launch-browser

How to change the voice of google tts

I'm currently using the url below,
If the language is ko, the male voice, if en, only the female voice.
I want to unify it with a female voice.
- http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=hello%20world%20&tl=en
- http://translate.google.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=hello%20world%20&tl=ko
What should I do?
The similar questions to change tts voice from male to female or the other way around have been asked numerous times. Unfortunately, Google doesn't support this yet.
There are many existing requests already on Google Translate Forum:
https://productforums.google.com/forum/#!forum/translate
You can follow any existing post or create a new one if you wish.
So I'm doing something similar to you and found a great tutorial from mdn with a GitHub repo I know it's not from google's API but you can use it for web apps and then use Google's API as a fullback https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/

Google Home API for going to a URL and login

I am a very new developer who can write basic HTML (yes I know it's English), and is looking for a solution to a problem that I basically invented.
I recently bought a product called Doorbird, a very cool and well engineered IP Doorbell. The reason I bought it, is because it has an App, and integrates with IP phones and support video, and has a few bells and whistles, if you're not familiar with this product, I highly recommend looking at it.
The "problem" is that it does not integrate with Google Home, or Amazon Echo. However, it does have an API that allows you to go to the URL, login and unlock the door. I was looking into creating my own action that would have the Google Home login to the Doorbell and go to the unlock URL.
My issue is, I have no experience with this, but I pick things up very quickly, and believe in myself!
I already looked at the api.ai site from Google, and have signed up. It looked simple, but upon further investigation looks very complicated.
If anyone would be able to point me in the right direction I would be greatly appreciative.
Thanks in advance,
-Jack G
You need them to publish their REST api so that you can call the 'action' to unlock directly vs. having to go to a login page. You would probably set up oauth to have your server talk to theirs or use web headers. Ask their tech support if they support direct REST api using a security model.