> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Text-to-Speech

> How to set up the Google Text-to-Speech connector, plus the actions that are available.

<div className="connector-page-header">
  <img src="https://stackone-logos.com/api/google/filled/svg" alt="Google Text-to-Speech" className="connector-page-icon" />

  <div className="connector-page-changelog">
    <div className="connector-page-version"><span className="connector-page-tag-preview connector-page-stage-tag">Preview</span><span>v0.1.0</span></div>
    <div><a href="/connectors/googletexttospeech/changelog">See changelog</a></div>
  </div>

  <div className="connector-page-header-meta">
    <div className="connector-page-subtitle"><a href="#actions">7 actions</a> · 1 auth method</div>

    <div className="connector-page-category-tags">
      <span className="connector-page-category-tag">AI</span>
    </div>
  </div>
</div>

## Getting Started

<Steps>
  <Step title="Create or Select a Project">
    Set up a new project or select an existing one. See [Organizations & Projects](/gateway/concepts/organizations-and-projects).
  </Step>

  <Step title="Configure the Connector">
    Enable the connector and set up a Connector Profile in your project. See [Setup Connector Profile](/gateway/quickstart#setup-connector-profile).

    <Columns cols={2}>
      <Card title="Connector Profile · OAuth 2.0" href="/connectors/googletexttospeech/guides/connector-profile/oauth-2-0" icon="https://stackone-logos.com/api/google/filled/svg" horizontal>
        Requires registering an OAuth client in a Google Cloud project with the Cloud Text-to-Speech API enabled. Uses the cloud...
      </Card>
    </Columns>
  </Step>

  <Step title="Link an Account">
    Link an account [from the dashboard](/connect/managing-connectors/linking-accounts#link-from-the-dashboard) (or via [StackOne Hub](/embed/account-linking/overview)).

    See the guide for the authentication type chosen in the Connector Profile:

    <Columns cols={2}>
      <Card title="Link Account · OAuth 2.0" href="/connectors/googletexttospeech/guides/link-account/oauth-2-0" icon="https://stackone-logos.com/api/google/filled/svg" horizontal />
    </Columns>
  </Step>

  <Step title="Use Actions">
    Connect an AI platform to the linked account's actions. See [AI Platforms](/connect/ai-platforms/overview).

    Other ways to call actions are listed in [Protocols & SDKs](/connect/protocols-and-sdks).
  </Step>
</Steps>

## Actions

<div className="connector-meta-library-section">
  <div className="connector-actions-controls not-prose" data-connector-actions-controls>
    <div className="connector-actions-controls__row">
      <input type="search" className="connector-actions-search" data-connector-actions-search placeholder="Search actions" aria-label="Search actions" />

      <div className="connector-actions-scopes" data-connector-actions-scopes>
        <button type="button" className="connector-actions-scopes__toggle" data-connector-actions-scopes-toggle aria-expanded="false">
          <span>Scopes<span data-connector-actions-scopes-count /></span>
        </button>

        <div className="connector-actions-scopes__menu">
          <div className="connector-actions-scopes__header">
            <input type="search" className="connector-actions-scopes__search" data-connector-actions-scope-search placeholder="Search scopes..." aria-label="Search scopes" />

            <div className="connector-actions-scopes__actions">
              <button type="button" data-connector-actions-scopes-select-all>Select all</button>
              <span>|</span>
              <button type="button" data-connector-actions-scopes-clear>Clear</button>
            </div>
          </div>

          <label className="connector-actions-scopes__item">
            <input type="checkbox" value="https://www.googleapis.com/auth/cloud-platform" data-connector-actions-scope-filter />

            <span>https\://​www\.googleapis.com/auth/cloud-platform</span>
          </label>

          <div className="connector-actions-scopes__empty" data-connector-actions-scopes-empty hidden>No scopes found</div>
        </div>
      </div>
    </div>
  </div>

  <div className="meta-library-count" data-connector-actions-count>7 actions</div>

  <div className="not-prose meta-library-table-container" data-connector-actions-table>
    <div className="connector-meta-library-grid connector-meta-library-grid--three-col">
      <div className="connector-meta-library-row">
        <div className="meta-library-grid-header-cell">Action</div>
        <div className="meta-library-grid-header-cell">Description</div>
        <div className="meta-library-grid-header-cell">Required scopes</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_projects_locations_synthesize_long_audio" data-action-label="Synthesize Long Audio" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Synthesize Long Audio</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_projects_locations_synthesize_long_audio" aria-label="Copy googletexttospeech_projects_locations_synthesize_long_audio"><code className="connector-page-code">googletexttospeech\_projects\_locations\_synthesize\_long\_audio</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Start an asynchronous long audio synthesis job that writes the result to Cloud Storage</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_projects_locations_operations_list" data-action-label="List Operations" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Operations</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_projects_locations_operations_list" aria-label="Copy googletexttospeech_projects_locations_operations_list"><code className="connector-page-code">googletexttospeech\_projects\_locations\_operations\_list</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List long-running long audio synthesis operations in a project location</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_projects_locations_operations_get" data-action-label="Get Operation" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Operation</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_projects_locations_operations_get" aria-label="Copy googletexttospeech_projects_locations_operations_get"><code className="connector-page-code">googletexttospeech\_projects\_locations\_operations\_get</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get the latest state of a long-running operation</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_operations_cancel" data-action-label="Cancel Operation" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Cancel Operation</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_operations_cancel" aria-label="Copy googletexttospeech_operations_cancel"><code className="connector-page-code">googletexttospeech\_operations\_cancel</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Request cancellation of a long-running operation</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_operations_delete" data-action-label="Delete Operation" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Delete Operation</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_operations_delete" aria-label="Copy googletexttospeech_operations_delete"><code className="connector-page-code">googletexttospeech\_operations\_delete</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Delete a long-running operation record</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_text_synthesize" data-action-label="Synthesize Speech" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Synthesize Speech</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_text_synthesize" aria-label="Copy googletexttospeech_text_synthesize"><code className="connector-page-code">googletexttospeech\_text\_synthesize</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Synthesize speech from text or SSML and return base64-encoded audio</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>

      <div className="connector-meta-library-row" data-action-id="googletexttospeech_voices_list" data-action-label="List Voices" data-action-scopes="https://www.googleapis.com/auth/cloud-platform" data-action-auth="OAuth 2.0" data-action-auth-scopes="{&#x22;OAuth 2.0&#x22;:[&#x22;https://www.googleapis.com/auth/cloud-platform&#x22;]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Voices</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="googletexttospeech_voices_list" aria-label="Copy googletexttospeech_voices_list"><code className="connector-page-code">googletexttospeech\_voices\_list</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List the voices supported for speech synthesis, optionally filtered by language</div>

        <div className="meta-library-grid-cell meta-library-grid-cell--values">
          <div className="connector-meta-library-values-list"><button type="button" className="connector-page-code-button" data-copy="https://www.googleapis.com/auth/cloud-platform" aria-label="Copy scope https://www.googleapis.com/auth/cloud-platform"><code className="connector-page-code">https\://​www\.googleapis.com/auth/cloud-platform</code></button></div>
        </div>
      </div>
    </div>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.