@googleapis/texttospeech 1.4.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/build/v1.d.ts +84 -2
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +83 -1
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +84 -2
- package/v1beta1.ts +83 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v2.0.0...texttospeech-v2.0.1) (2025-05-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **texttospeech:** update the API ([3275bbb](https://github.com/googleapis/google-api-nodejs-client/commit/3275bbb67c37875565897bb3ecc957f0525d1082))
|
|
9
|
+
|
|
10
|
+
## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v1.5.0...texttospeech-v2.0.0) (2025-02-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **texttospeech:** This release has breaking changes.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **texttospeech:** update the API ([0e6f86a](https://github.com/googleapis/google-api-nodejs-client/commit/0e6f86a78cc7c0de89500628f9e6c714e3f91a8d))
|
|
20
|
+
* **texttospeech:** update the API ([bd7926f](https://github.com/googleapis/google-api-nodejs-client/commit/bd7926f6a86ba09e8dd25a49f245354881d19564))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **texttospeech:** update the API ([c9e1e37](https://github.com/googleapis/google-api-nodejs-client/commit/c9e1e374cc6c6e578d81c57c41b6b95e6e21c4f1))
|
|
26
|
+
|
|
27
|
+
## [1.5.0](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v1.4.2...texttospeech-v1.5.0) (2024-10-30)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **texttospeech:** update the API ([bd7926f](https://github.com/googleapis/google-api-nodejs-client/commit/bd7926f6a86ba09e8dd25a49f245354881d19564))
|
|
33
|
+
|
|
3
34
|
## [1.4.2](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v1.4.1...texttospeech-v1.4.2) (2024-08-27)
|
|
4
35
|
|
|
5
36
|
|
package/build/v1.d.ts
CHANGED
|
@@ -74,6 +74,15 @@ export declare namespace texttospeech_v1 {
|
|
|
74
74
|
voices: Resource$Voices;
|
|
75
75
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Used for advanced voice options.
|
|
79
|
+
*/
|
|
80
|
+
export interface Schema$AdvancedVoiceOptions {
|
|
81
|
+
/**
|
|
82
|
+
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
|
|
83
|
+
*/
|
|
84
|
+
lowLatencyJourneySynthesis?: boolean | null;
|
|
85
|
+
}
|
|
77
86
|
/**
|
|
78
87
|
* Description of audio data to be synthesized.
|
|
79
88
|
*/
|
|
@@ -95,7 +104,7 @@ export declare namespace texttospeech_v1 {
|
|
|
95
104
|
*/
|
|
96
105
|
sampleRateHertz?: number | null;
|
|
97
106
|
/**
|
|
98
|
-
* Optional. Input only. Speaking rate/speed, in the range [0.25,
|
|
107
|
+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
|
|
99
108
|
*/
|
|
100
109
|
speakingRate?: number | null;
|
|
101
110
|
/**
|
|
@@ -108,6 +117,32 @@ export declare namespace texttospeech_v1 {
|
|
|
108
117
|
*/
|
|
109
118
|
export interface Schema$CancelOperationRequest {
|
|
110
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Pronunciation customization for a phrase.
|
|
122
|
+
*/
|
|
123
|
+
export interface Schema$CustomPronunciationParams {
|
|
124
|
+
/**
|
|
125
|
+
* The phonetic encoding of the phrase.
|
|
126
|
+
*/
|
|
127
|
+
phoneticEncoding?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
|
|
130
|
+
*/
|
|
131
|
+
phrase?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* The pronunciation of the phrase. This must be in the phonetic encoding specified above.
|
|
134
|
+
*/
|
|
135
|
+
pronunciation?: string | null;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* A collection of pronunciation customizations.
|
|
139
|
+
*/
|
|
140
|
+
export interface Schema$CustomPronunciations {
|
|
141
|
+
/**
|
|
142
|
+
* The pronunciation customizations are applied.
|
|
143
|
+
*/
|
|
144
|
+
pronunciations?: Schema$CustomPronunciationParams[];
|
|
145
|
+
}
|
|
111
146
|
/**
|
|
112
147
|
* Description of the custom voice to be synthesized.
|
|
113
148
|
*/
|
|
@@ -165,6 +200,15 @@ export declare namespace texttospeech_v1 {
|
|
|
165
200
|
*/
|
|
166
201
|
voices?: Schema$Voice[];
|
|
167
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* A collection of turns for multi-speaker synthesis.
|
|
205
|
+
*/
|
|
206
|
+
export interface Schema$MultiSpeakerMarkup {
|
|
207
|
+
/**
|
|
208
|
+
* Required. Speaker turns.
|
|
209
|
+
*/
|
|
210
|
+
turns?: Schema$Turn[];
|
|
211
|
+
}
|
|
168
212
|
/**
|
|
169
213
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
170
214
|
*/
|
|
@@ -217,6 +261,14 @@ export declare namespace texttospeech_v1 {
|
|
|
217
261
|
* Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.
|
|
218
262
|
*/
|
|
219
263
|
export interface Schema$SynthesisInput {
|
|
264
|
+
/**
|
|
265
|
+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
|
|
266
|
+
*/
|
|
267
|
+
customPronunciations?: Schema$CustomPronunciations;
|
|
268
|
+
/**
|
|
269
|
+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
|
|
270
|
+
*/
|
|
271
|
+
multiSpeakerMarkup?: Schema$MultiSpeakerMarkup;
|
|
220
272
|
/**
|
|
221
273
|
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
|
|
222
274
|
*/
|
|
@@ -268,6 +320,10 @@ export declare namespace texttospeech_v1 {
|
|
|
268
320
|
* The top-level message sent by the client for the `SynthesizeSpeech` method.
|
|
269
321
|
*/
|
|
270
322
|
export interface Schema$SynthesizeSpeechRequest {
|
|
323
|
+
/**
|
|
324
|
+
* Advanced voice options.
|
|
325
|
+
*/
|
|
326
|
+
advancedVoiceOptions?: Schema$AdvancedVoiceOptions;
|
|
271
327
|
/**
|
|
272
328
|
* Required. The configuration of the synthesized audio.
|
|
273
329
|
*/
|
|
@@ -290,6 +346,19 @@ export declare namespace texttospeech_v1 {
|
|
|
290
346
|
*/
|
|
291
347
|
audioContent?: string | null;
|
|
292
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* A multi-speaker turn.
|
|
351
|
+
*/
|
|
352
|
+
export interface Schema$Turn {
|
|
353
|
+
/**
|
|
354
|
+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
|
|
355
|
+
*/
|
|
356
|
+
speaker?: string | null;
|
|
357
|
+
/**
|
|
358
|
+
* Required. The text to speak.
|
|
359
|
+
*/
|
|
360
|
+
text?: string | null;
|
|
361
|
+
}
|
|
293
362
|
/**
|
|
294
363
|
* Description of a voice supported by the TTS service.
|
|
295
364
|
*/
|
|
@@ -311,6 +380,15 @@ export declare namespace texttospeech_v1 {
|
|
|
311
380
|
*/
|
|
312
381
|
ssmlGender?: string | null;
|
|
313
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* The configuration of Voice Clone feature.
|
|
385
|
+
*/
|
|
386
|
+
export interface Schema$VoiceCloneParams {
|
|
387
|
+
/**
|
|
388
|
+
* Required. Created by GenerateVoiceCloningKey.
|
|
389
|
+
*/
|
|
390
|
+
voiceCloningKey?: string | null;
|
|
391
|
+
}
|
|
314
392
|
/**
|
|
315
393
|
* Description of which voice to use for a synthesis request.
|
|
316
394
|
*/
|
|
@@ -331,12 +409,16 @@ export declare namespace texttospeech_v1 {
|
|
|
331
409
|
* 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.
|
|
332
410
|
*/
|
|
333
411
|
ssmlGender?: string | null;
|
|
412
|
+
/**
|
|
413
|
+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration.
|
|
414
|
+
*/
|
|
415
|
+
voiceClone?: Schema$VoiceCloneParams;
|
|
334
416
|
}
|
|
335
417
|
export class Resource$Operations {
|
|
336
418
|
context: APIRequestContext;
|
|
337
419
|
constructor(context: APIRequestContext);
|
|
338
420
|
/**
|
|
339
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
421
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
340
422
|
*
|
|
341
423
|
* @param params - Parameters for request
|
|
342
424
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,CA8oC/B;AA9oCD,WAAiB,eAAe;IAgE9B;;;;;;;;;;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oCAAgB,EAA4B,UAAU,CAAC,CAAC;aAChE;QACH,CAAC;KACF;IA5FY,+BAAe,kBA4F3B,CAAA;AAQH,CAAC,EA9oCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA8oC/B"}
|
package/build/v1beta1.d.ts
CHANGED
|
@@ -73,6 +73,15 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
73
73
|
voices: Resource$Voices;
|
|
74
74
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Used for advanced voice options.
|
|
78
|
+
*/
|
|
79
|
+
export interface Schema$AdvancedVoiceOptions {
|
|
80
|
+
/**
|
|
81
|
+
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
|
|
82
|
+
*/
|
|
83
|
+
lowLatencyJourneySynthesis?: boolean | null;
|
|
84
|
+
}
|
|
76
85
|
/**
|
|
77
86
|
* Description of audio data to be synthesized.
|
|
78
87
|
*/
|
|
@@ -94,7 +103,7 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
94
103
|
*/
|
|
95
104
|
sampleRateHertz?: number | null;
|
|
96
105
|
/**
|
|
97
|
-
* Optional. Input only. Speaking rate/speed, in the range [0.25,
|
|
106
|
+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
|
|
98
107
|
*/
|
|
99
108
|
speakingRate?: number | null;
|
|
100
109
|
/**
|
|
@@ -102,6 +111,32 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
102
111
|
*/
|
|
103
112
|
volumeGainDb?: number | null;
|
|
104
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Pronunciation customization for a phrase.
|
|
116
|
+
*/
|
|
117
|
+
export interface Schema$CustomPronunciationParams {
|
|
118
|
+
/**
|
|
119
|
+
* The phonetic encoding of the phrase.
|
|
120
|
+
*/
|
|
121
|
+
phoneticEncoding?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
|
|
124
|
+
*/
|
|
125
|
+
phrase?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* The pronunciation of the phrase. This must be in the phonetic encoding specified above.
|
|
128
|
+
*/
|
|
129
|
+
pronunciation?: string | null;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A collection of pronunciation customizations.
|
|
133
|
+
*/
|
|
134
|
+
export interface Schema$CustomPronunciations {
|
|
135
|
+
/**
|
|
136
|
+
* The pronunciation customizations are applied.
|
|
137
|
+
*/
|
|
138
|
+
pronunciations?: Schema$CustomPronunciationParams[];
|
|
139
|
+
}
|
|
105
140
|
/**
|
|
106
141
|
* Description of the custom voice to be synthesized.
|
|
107
142
|
*/
|
|
@@ -154,6 +189,15 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
154
189
|
*/
|
|
155
190
|
voices?: Schema$Voice[];
|
|
156
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* A collection of turns for multi-speaker synthesis.
|
|
194
|
+
*/
|
|
195
|
+
export interface Schema$MultiSpeakerMarkup {
|
|
196
|
+
/**
|
|
197
|
+
* Required. Speaker turns.
|
|
198
|
+
*/
|
|
199
|
+
turns?: Schema$Turn[];
|
|
200
|
+
}
|
|
157
201
|
/**
|
|
158
202
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
159
203
|
*/
|
|
@@ -206,6 +250,14 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
206
250
|
* Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.
|
|
207
251
|
*/
|
|
208
252
|
export interface Schema$SynthesisInput {
|
|
253
|
+
/**
|
|
254
|
+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
|
|
255
|
+
*/
|
|
256
|
+
customPronunciations?: Schema$CustomPronunciations;
|
|
257
|
+
/**
|
|
258
|
+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
|
|
259
|
+
*/
|
|
260
|
+
multiSpeakerMarkup?: Schema$MultiSpeakerMarkup;
|
|
209
261
|
/**
|
|
210
262
|
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
|
|
211
263
|
*/
|
|
@@ -257,6 +309,10 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
257
309
|
* The top-level message sent by the client for the `SynthesizeSpeech` method.
|
|
258
310
|
*/
|
|
259
311
|
export interface Schema$SynthesizeSpeechRequest {
|
|
312
|
+
/**
|
|
313
|
+
* Advanced voice options.
|
|
314
|
+
*/
|
|
315
|
+
advancedVoiceOptions?: Schema$AdvancedVoiceOptions;
|
|
260
316
|
/**
|
|
261
317
|
* Required. The configuration of the synthesized audio.
|
|
262
318
|
*/
|
|
@@ -304,6 +360,19 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
304
360
|
*/
|
|
305
361
|
timeSeconds?: number | null;
|
|
306
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* A multi-speaker turn.
|
|
365
|
+
*/
|
|
366
|
+
export interface Schema$Turn {
|
|
367
|
+
/**
|
|
368
|
+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
|
|
369
|
+
*/
|
|
370
|
+
speaker?: string | null;
|
|
371
|
+
/**
|
|
372
|
+
* Required. The text to speak.
|
|
373
|
+
*/
|
|
374
|
+
text?: string | null;
|
|
375
|
+
}
|
|
307
376
|
/**
|
|
308
377
|
* Description of a voice supported by the TTS service.
|
|
309
378
|
*/
|
|
@@ -325,6 +394,15 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
325
394
|
*/
|
|
326
395
|
ssmlGender?: string | null;
|
|
327
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* The configuration of Voice Clone feature.
|
|
399
|
+
*/
|
|
400
|
+
export interface Schema$VoiceCloneParams {
|
|
401
|
+
/**
|
|
402
|
+
* Required. Created by GenerateVoiceCloningKey.
|
|
403
|
+
*/
|
|
404
|
+
voiceCloningKey?: string | null;
|
|
405
|
+
}
|
|
328
406
|
/**
|
|
329
407
|
* Description of which voice to use for a synthesis request.
|
|
330
408
|
*/
|
|
@@ -345,6 +423,10 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
345
423
|
* 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.
|
|
346
424
|
*/
|
|
347
425
|
ssmlGender?: string | null;
|
|
426
|
+
/**
|
|
427
|
+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration.
|
|
428
|
+
*/
|
|
429
|
+
voiceClone?: Schema$VoiceCloneParams;
|
|
348
430
|
}
|
|
349
431
|
export class Resource$Projects {
|
|
350
432
|
context: APIRequestContext;
|
package/build/v1beta1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1beta1.js","sourceRoot":"","sources":["../v1beta1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDA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AK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,sCAAsC,CAAC;YAC1E,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,iBAAiB,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBAChE,MAAM,EAAE,KAAK;oBACb,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAA4B,UAAU,CAAC,CAAC;aAChE;QACH,CAAC;KACF;IA5FY,oCAAe,kBA4F3B,CAAA;AAQH,CAAC,EAx9BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAw9BpC"}
|
package/package.json
CHANGED
package/v1.ts
CHANGED
|
@@ -130,6 +130,15 @@ export namespace texttospeech_v1 {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
/**
|
|
134
|
+
* Used for advanced voice options.
|
|
135
|
+
*/
|
|
136
|
+
export interface Schema$AdvancedVoiceOptions {
|
|
137
|
+
/**
|
|
138
|
+
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
|
|
139
|
+
*/
|
|
140
|
+
lowLatencyJourneySynthesis?: boolean | null;
|
|
141
|
+
}
|
|
133
142
|
/**
|
|
134
143
|
* Description of audio data to be synthesized.
|
|
135
144
|
*/
|
|
@@ -151,7 +160,7 @@ export namespace texttospeech_v1 {
|
|
|
151
160
|
*/
|
|
152
161
|
sampleRateHertz?: number | null;
|
|
153
162
|
/**
|
|
154
|
-
* Optional. Input only. Speaking rate/speed, in the range [0.25,
|
|
163
|
+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
|
|
155
164
|
*/
|
|
156
165
|
speakingRate?: number | null;
|
|
157
166
|
/**
|
|
@@ -163,6 +172,32 @@ export namespace texttospeech_v1 {
|
|
|
163
172
|
* The request message for Operations.CancelOperation.
|
|
164
173
|
*/
|
|
165
174
|
export interface Schema$CancelOperationRequest {}
|
|
175
|
+
/**
|
|
176
|
+
* Pronunciation customization for a phrase.
|
|
177
|
+
*/
|
|
178
|
+
export interface Schema$CustomPronunciationParams {
|
|
179
|
+
/**
|
|
180
|
+
* The phonetic encoding of the phrase.
|
|
181
|
+
*/
|
|
182
|
+
phoneticEncoding?: string | null;
|
|
183
|
+
/**
|
|
184
|
+
* The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
|
|
185
|
+
*/
|
|
186
|
+
phrase?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* The pronunciation of the phrase. This must be in the phonetic encoding specified above.
|
|
189
|
+
*/
|
|
190
|
+
pronunciation?: string | null;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* A collection of pronunciation customizations.
|
|
194
|
+
*/
|
|
195
|
+
export interface Schema$CustomPronunciations {
|
|
196
|
+
/**
|
|
197
|
+
* The pronunciation customizations are applied.
|
|
198
|
+
*/
|
|
199
|
+
pronunciations?: Schema$CustomPronunciationParams[];
|
|
200
|
+
}
|
|
166
201
|
/**
|
|
167
202
|
* Description of the custom voice to be synthesized.
|
|
168
203
|
*/
|
|
@@ -219,6 +254,15 @@ export namespace texttospeech_v1 {
|
|
|
219
254
|
*/
|
|
220
255
|
voices?: Schema$Voice[];
|
|
221
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* A collection of turns for multi-speaker synthesis.
|
|
259
|
+
*/
|
|
260
|
+
export interface Schema$MultiSpeakerMarkup {
|
|
261
|
+
/**
|
|
262
|
+
* Required. Speaker turns.
|
|
263
|
+
*/
|
|
264
|
+
turns?: Schema$Turn[];
|
|
265
|
+
}
|
|
222
266
|
/**
|
|
223
267
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
224
268
|
*/
|
|
@@ -265,6 +309,14 @@ export namespace texttospeech_v1 {
|
|
|
265
309
|
* Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.
|
|
266
310
|
*/
|
|
267
311
|
export interface Schema$SynthesisInput {
|
|
312
|
+
/**
|
|
313
|
+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
|
|
314
|
+
*/
|
|
315
|
+
customPronunciations?: Schema$CustomPronunciations;
|
|
316
|
+
/**
|
|
317
|
+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
|
|
318
|
+
*/
|
|
319
|
+
multiSpeakerMarkup?: Schema$MultiSpeakerMarkup;
|
|
268
320
|
/**
|
|
269
321
|
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
|
|
270
322
|
*/
|
|
@@ -316,6 +368,10 @@ export namespace texttospeech_v1 {
|
|
|
316
368
|
* The top-level message sent by the client for the `SynthesizeSpeech` method.
|
|
317
369
|
*/
|
|
318
370
|
export interface Schema$SynthesizeSpeechRequest {
|
|
371
|
+
/**
|
|
372
|
+
* Advanced voice options.
|
|
373
|
+
*/
|
|
374
|
+
advancedVoiceOptions?: Schema$AdvancedVoiceOptions;
|
|
319
375
|
/**
|
|
320
376
|
* Required. The configuration of the synthesized audio.
|
|
321
377
|
*/
|
|
@@ -338,6 +394,19 @@ export namespace texttospeech_v1 {
|
|
|
338
394
|
*/
|
|
339
395
|
audioContent?: string | null;
|
|
340
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* A multi-speaker turn.
|
|
399
|
+
*/
|
|
400
|
+
export interface Schema$Turn {
|
|
401
|
+
/**
|
|
402
|
+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
|
|
403
|
+
*/
|
|
404
|
+
speaker?: string | null;
|
|
405
|
+
/**
|
|
406
|
+
* Required. The text to speak.
|
|
407
|
+
*/
|
|
408
|
+
text?: string | null;
|
|
409
|
+
}
|
|
341
410
|
/**
|
|
342
411
|
* Description of a voice supported by the TTS service.
|
|
343
412
|
*/
|
|
@@ -359,6 +428,15 @@ export namespace texttospeech_v1 {
|
|
|
359
428
|
*/
|
|
360
429
|
ssmlGender?: string | null;
|
|
361
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* The configuration of Voice Clone feature.
|
|
433
|
+
*/
|
|
434
|
+
export interface Schema$VoiceCloneParams {
|
|
435
|
+
/**
|
|
436
|
+
* Required. Created by GenerateVoiceCloningKey.
|
|
437
|
+
*/
|
|
438
|
+
voiceCloningKey?: string | null;
|
|
439
|
+
}
|
|
362
440
|
/**
|
|
363
441
|
* Description of which voice to use for a synthesis request.
|
|
364
442
|
*/
|
|
@@ -379,6 +457,10 @@ export namespace texttospeech_v1 {
|
|
|
379
457
|
* 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.
|
|
380
458
|
*/
|
|
381
459
|
ssmlGender?: string | null;
|
|
460
|
+
/**
|
|
461
|
+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration.
|
|
462
|
+
*/
|
|
463
|
+
voiceClone?: Schema$VoiceCloneParams;
|
|
382
464
|
}
|
|
383
465
|
|
|
384
466
|
export class Resource$Operations {
|
|
@@ -388,7 +470,7 @@ export namespace texttospeech_v1 {
|
|
|
388
470
|
}
|
|
389
471
|
|
|
390
472
|
/**
|
|
391
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
473
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
392
474
|
*
|
|
393
475
|
* @param params - Parameters for request
|
|
394
476
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
package/v1beta1.ts
CHANGED
|
@@ -128,6 +128,15 @@ export namespace texttospeech_v1beta1 {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* Used for advanced voice options.
|
|
133
|
+
*/
|
|
134
|
+
export interface Schema$AdvancedVoiceOptions {
|
|
135
|
+
/**
|
|
136
|
+
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
|
|
137
|
+
*/
|
|
138
|
+
lowLatencyJourneySynthesis?: boolean | null;
|
|
139
|
+
}
|
|
131
140
|
/**
|
|
132
141
|
* Description of audio data to be synthesized.
|
|
133
142
|
*/
|
|
@@ -149,7 +158,7 @@ export namespace texttospeech_v1beta1 {
|
|
|
149
158
|
*/
|
|
150
159
|
sampleRateHertz?: number | null;
|
|
151
160
|
/**
|
|
152
|
-
* Optional. Input only. Speaking rate/speed, in the range [0.25,
|
|
161
|
+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
|
|
153
162
|
*/
|
|
154
163
|
speakingRate?: number | null;
|
|
155
164
|
/**
|
|
@@ -157,6 +166,32 @@ export namespace texttospeech_v1beta1 {
|
|
|
157
166
|
*/
|
|
158
167
|
volumeGainDb?: number | null;
|
|
159
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* Pronunciation customization for a phrase.
|
|
171
|
+
*/
|
|
172
|
+
export interface Schema$CustomPronunciationParams {
|
|
173
|
+
/**
|
|
174
|
+
* The phonetic encoding of the phrase.
|
|
175
|
+
*/
|
|
176
|
+
phoneticEncoding?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
|
|
179
|
+
*/
|
|
180
|
+
phrase?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* The pronunciation of the phrase. This must be in the phonetic encoding specified above.
|
|
183
|
+
*/
|
|
184
|
+
pronunciation?: string | null;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* A collection of pronunciation customizations.
|
|
188
|
+
*/
|
|
189
|
+
export interface Schema$CustomPronunciations {
|
|
190
|
+
/**
|
|
191
|
+
* The pronunciation customizations are applied.
|
|
192
|
+
*/
|
|
193
|
+
pronunciations?: Schema$CustomPronunciationParams[];
|
|
194
|
+
}
|
|
160
195
|
/**
|
|
161
196
|
* Description of the custom voice to be synthesized.
|
|
162
197
|
*/
|
|
@@ -209,6 +244,15 @@ export namespace texttospeech_v1beta1 {
|
|
|
209
244
|
*/
|
|
210
245
|
voices?: Schema$Voice[];
|
|
211
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* A collection of turns for multi-speaker synthesis.
|
|
249
|
+
*/
|
|
250
|
+
export interface Schema$MultiSpeakerMarkup {
|
|
251
|
+
/**
|
|
252
|
+
* Required. Speaker turns.
|
|
253
|
+
*/
|
|
254
|
+
turns?: Schema$Turn[];
|
|
255
|
+
}
|
|
212
256
|
/**
|
|
213
257
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
214
258
|
*/
|
|
@@ -255,6 +299,14 @@ export namespace texttospeech_v1beta1 {
|
|
|
255
299
|
* Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.
|
|
256
300
|
*/
|
|
257
301
|
export interface Schema$SynthesisInput {
|
|
302
|
+
/**
|
|
303
|
+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
|
|
304
|
+
*/
|
|
305
|
+
customPronunciations?: Schema$CustomPronunciations;
|
|
306
|
+
/**
|
|
307
|
+
* The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
|
|
308
|
+
*/
|
|
309
|
+
multiSpeakerMarkup?: Schema$MultiSpeakerMarkup;
|
|
258
310
|
/**
|
|
259
311
|
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
|
|
260
312
|
*/
|
|
@@ -306,6 +358,10 @@ export namespace texttospeech_v1beta1 {
|
|
|
306
358
|
* The top-level message sent by the client for the `SynthesizeSpeech` method.
|
|
307
359
|
*/
|
|
308
360
|
export interface Schema$SynthesizeSpeechRequest {
|
|
361
|
+
/**
|
|
362
|
+
* Advanced voice options.
|
|
363
|
+
*/
|
|
364
|
+
advancedVoiceOptions?: Schema$AdvancedVoiceOptions;
|
|
309
365
|
/**
|
|
310
366
|
* Required. The configuration of the synthesized audio.
|
|
311
367
|
*/
|
|
@@ -353,6 +409,19 @@ export namespace texttospeech_v1beta1 {
|
|
|
353
409
|
*/
|
|
354
410
|
timeSeconds?: number | null;
|
|
355
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* A multi-speaker turn.
|
|
414
|
+
*/
|
|
415
|
+
export interface Schema$Turn {
|
|
416
|
+
/**
|
|
417
|
+
* Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
|
|
418
|
+
*/
|
|
419
|
+
speaker?: string | null;
|
|
420
|
+
/**
|
|
421
|
+
* Required. The text to speak.
|
|
422
|
+
*/
|
|
423
|
+
text?: string | null;
|
|
424
|
+
}
|
|
356
425
|
/**
|
|
357
426
|
* Description of a voice supported by the TTS service.
|
|
358
427
|
*/
|
|
@@ -374,6 +443,15 @@ export namespace texttospeech_v1beta1 {
|
|
|
374
443
|
*/
|
|
375
444
|
ssmlGender?: string | null;
|
|
376
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* The configuration of Voice Clone feature.
|
|
448
|
+
*/
|
|
449
|
+
export interface Schema$VoiceCloneParams {
|
|
450
|
+
/**
|
|
451
|
+
* Required. Created by GenerateVoiceCloningKey.
|
|
452
|
+
*/
|
|
453
|
+
voiceCloningKey?: string | null;
|
|
454
|
+
}
|
|
377
455
|
/**
|
|
378
456
|
* Description of which voice to use for a synthesis request.
|
|
379
457
|
*/
|
|
@@ -394,6 +472,10 @@ export namespace texttospeech_v1beta1 {
|
|
|
394
472
|
* 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.
|
|
395
473
|
*/
|
|
396
474
|
ssmlGender?: string | null;
|
|
475
|
+
/**
|
|
476
|
+
* Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration.
|
|
477
|
+
*/
|
|
478
|
+
voiceClone?: Schema$VoiceCloneParams;
|
|
397
479
|
}
|
|
398
480
|
|
|
399
481
|
export class Resource$Projects {
|