Google Cloud Text-To-Speech Text:synthesize API

The Text:synthesize API from Google Cloud Text-To-Speech — 1 operation(s) for text:synthesize.

Operations 1

POST /text:synthesize Google Cloud Text-To-Speech Synthesize speech #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-cloud-text-to-speech-text-synthesize-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-cloud-text-to-speech-text-synthesize-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Cloud Text-to-Speech Text:synthesize API
  description: Synthesizes natural-sounding speech from text or SSML input using Google's AI-powered voice synthesis technology.
  version: v1
  contact:
    name: Google Cloud
    url: https://cloud.google.com/text-to-speech
servers:
- url: https://texttospeech.googleapis.com/v1
tags:
- name: Text:synthesize
paths:
  /text:synthesize:
    post:
      operationId: synthesizeSpeech
      summary: Google Cloud Text-To-Speech Synthesize speech
      description: Synthesizes speech from text or SSML input.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SynthesizeSpeechRequest'
      responses:
        '200':
          description: Successful response containing synthesized audio.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SynthesizeSpeechResponse'
      tags:
      - Text:synthesize
components:
  schemas:
    SynthesizeSpeechResponse:
      type: object
      properties:
        audioContent:
          type: string
          description: Base64-encoded audio content.
    SynthesizeSpeechRequest:
      type: object
      required:
      - input
      - voice
      - audioConfig
      properties:
        input:
          type: object
          properties:
            text:
              type: string
            ssml:
              type: string
        voice:
          type: object
          properties:
            languageCode:
              type: string
            name:
              type: string
            ssmlGender:
              type: string
        audioConfig:
          type: object
          properties:
            audioEncoding:
              type: string
              enum:
              - AUDIO_ENCODING_UNSPECIFIED
              - LINEAR16
              - MP3
              - OGG_OPUS
              - MULAW
              - ALAW
            speakingRate:
              type: number
            pitch:
              type: number
            volumeGainDb:
              type: number
            sampleRateHertz:
              type: integer