Skip to content

Images are now embedded into the paragraph #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions _posts/2020-06-30-Google-S2T-T2S-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,27 @@ Welcome to the API Reference Guide for Google Speech2Text and Text2Speech.

NOTE: If you've already created a project and service account, you may skip this step. For wodoto's case, our project is "vector-control", and service account is "scazlab-wodoto".

<p>
<img src="https://github.com/ScazLab/ScazLab.github.io/blob/master/images/setup-guide-1.png" height="250" align="right"/>
</p>
Navigate to [https://console.cloud.google.com/apis](https://console.cloud.google.com/apis), making sure to sign into the Scazlab gmail account. From here, click "select a project" on the top-left, and choose "NEW PROJECT." Name your project and leave organization blank. Make sure to select your newly-created project from the same menu once it's been created.
![Step 1 image](https://github.com/ScazLab/ScazLab.github.io/tree/master/images/setup-guide-1.png)

Select "Library" from the left navigation bar, search for the API you'd like to use, select it and click "ENABLE." This will take some time to load. For speech2text and text2speech, we're using "Cloud Text-to-Speech API" and "Cloud Speech-to-Text API."

<p>
<img src="https://github.com/ScazLab/ScazLab.github.io/blob/master/images/setup-guide-3.png" height="250" align="right"/>
</p>
Once you've added all the APIs, again from the left navigation bar select "Credentials." Then, click on "Create Credentials, select "Create service account," give it a name, an optional description, and hit "CREATE."

![Step 2 image](https://github.com/ScazLab/ScazLab.github.io/tree/master/images/setup-guide-3.png)

On the next page, give it the role "Owner," and then keep hitting "NEXT" until the service account has been created.


## Setting up the GCloud key.
Make sure to have your project selected from the top-left menu, and to be logged into the Scazlab gmail account. Find your service account on the "Credentials" tab at [https://console.cloud.google.com/apis](https://console.cloud.google.com/apis), under "Service Accounts." Select it, scroll down, and click on "ADD KEY," then "Create new key", and select the type to be JSON.

![Step 3 image](https://github.com/ScazLab/ScazLab.github.io/tree/master/images/setup-guide-5.png)
<p>
<img src="https://github.com/ScazLab/ScazLab.github.io/blob/master/images/setup-guide-5.png" height="250" align="right"/>
</p>
Make sure to have your project selected from the top-left menu, and to be logged into the Scazlab gmail account. Find your service account on the "Credentials" tab at [https://console.cloud.google.com/apis](https://console.cloud.google.com/apis), under "Service Accounts." Select it, scroll down, and click on "ADD KEY," then "Create new key", and select the type to be JSON.

Your browser should then prompt you to download a .json file.

Expand Down Expand Up @@ -62,7 +68,5 @@ In either case, congratulations! You should now be able to interact with Google'





To edit this document, make changes [here](https://github.com/ScazLab/ScazLab.github.io/blob/master/_posts/2020-06-30-Google-S2T-T2S-API.md)