# StreamingSynthesizeRequest

- [JSON representation](https://docs.cloud.google.com/text-to-speech/docs/reference/rest/Shared.Types/StreamingSynthesizeRequest#SCHEMA_REPRESENTATION)

Request message for the `StreamingSynthesize` method. Multiple `StreamingSynthesizeRequest` messages are sent in one call. The first message must contain a `streamingConfig` that fully specifies the request configuration and must not contain `input`. All subsequent messages must only have `input` set.

| JSON representation |
|---|
| ``` { // Union field `streaming_request` can be only one of the following: "streamingConfig": { object (`https://docs.cloud.google.com/text-to-speech/docs/reference/rest/Shared.Types/StreamingSynthesizeConfig`) }, "input": { object (`https://docs.cloud.google.com/text-to-speech/docs/reference/rest/Shared.Types/StreamingSynthesisInput`) } // End of list of possible types for union field `streaming_request`. } ``` |

| Fields ||
|---|---|
| Union field `streaming_request`. The request to be sent, either a StreamingSynthesizeConfig or StreamingSynthesisInput. `streaming_request` can be only one of the following: ||
| `streamingConfig` | ``object (`https://docs.cloud.google.com/text-to-speech/docs/reference/rest/Shared.Types/StreamingSynthesizeConfig`)`` StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a `StreamingSynthesize` call. |
| `input` | ``object (`https://docs.cloud.google.com/text-to-speech/docs/reference/rest/Shared.Types/StreamingSynthesisInput`)`` Input to synthesize. Specified in all messages but the first in a `StreamingSynthesize` call. |