You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generates voice clone key given a short voice prompt. This method validates the voice prompts with a series of checks against the voice talent statement to verify the voice clone is safe to generate.
30
-
31
-
## Parameters
32
-
33
-
* `connection` (*type:* `GoogleApi.TextToSpeech.V1.Connection.t`) - Connection to server
* `:alt` (*type:* `String.t`) - Data format for response.
38
-
* `:callback` (*type:* `String.t`) - JSONP
39
-
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
40
-
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41
-
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
42
-
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
43
-
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
44
-
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
45
-
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Copy file name to clipboardExpand all lines: clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@ defmodule GoogleApi.TextToSpeech.V1.Model.VoiceSelectionParams do
25
25
* `languageCode` (*type:* `String.t`, *default:* `nil`) - Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn't a Canadian voice available), or even a different language, e.g. using "nb" (Norwegian Bokmal) instead of "no" (Norwegian)".
26
26
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code.
27
27
* `ssmlGender` (*type:* `String.t`, *default:* `nil`) - The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement; if a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request.
28
-
* `voiceClone` (*type:* `GoogleApi.TextToSpeech.V1.Model.VoiceCloneParams.t`, *default:* `nil`) - Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service will choose the voice clone matching the specified configuration.
29
28
"""
30
29
31
30
useGoogleApi.Gax.ModelBase
@@ -34,15 +33,13 @@ defmodule GoogleApi.TextToSpeech.V1.Model.VoiceSelectionParams do
0 commit comments