@maxim_mazurok/gapi.client.texttospeech-v1beta1
Advanced tools
Comparing version 0.0.20241017 to 0.0.20241026
@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Cloud Text-to-Speech API v1beta1 0.0 */ | ||
// Generated from: https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1 | ||
// Revision: 20241017 | ||
// Revision: 20241026 | ||
@@ -33,3 +33,3 @@ /// <reference types="gapi.client" /> | ||
interface AdvancedVoiceOptions { | ||
/** Only for Jounrney voices. If false, the synthesis will be context aware and have higher latency. */ | ||
/** Only for Journey voices. If false, the synthesis will be context aware and have higher latency. */ | ||
lowLatencyJourneySynthesis?: boolean; | ||
@@ -87,2 +87,6 @@ } | ||
} | ||
interface MultiSpeakerMarkup { | ||
/** Required. Speaker turns. */ | ||
turns?: Turn[]; | ||
} | ||
interface Operation { | ||
@@ -111,2 +115,4 @@ /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */ | ||
customPronunciations?: CustomPronunciations; | ||
/** The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis. */ | ||
multiSpeakerMarkup?: MultiSpeakerMarkup; | ||
/** 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). */ | ||
@@ -136,3 +142,3 @@ ssml?: string; | ||
interface SynthesizeSpeechRequest { | ||
/** Adnanced voice options. */ | ||
/** Advanced voice options. */ | ||
advancedVoiceOptions?: AdvancedVoiceOptions; | ||
@@ -162,2 +168,8 @@ /** Required. The configuration of the synthesized audio. */ | ||
} | ||
interface Turn { | ||
/** Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers. */ | ||
speaker?: string; | ||
/** Required. The text to speak. */ | ||
text?: string; | ||
} | ||
interface Voice { | ||
@@ -173,2 +185,6 @@ /** The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. "en-US", "es-419", "cmn-tw"). */ | ||
} | ||
interface VoiceCloneParams { | ||
/** Required. Created by GenerateVoiceCloningKey. */ | ||
voiceCloningKey?: string; | ||
} | ||
interface VoiceSelectionParams { | ||
@@ -183,2 +199,4 @@ /** The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration. */ | ||
ssmlGender?: string; | ||
/** 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. */ | ||
voiceClone?: VoiceCloneParams; | ||
} | ||
@@ -185,0 +203,0 @@ interface OperationsResource { |
{ | ||
"name": "@maxim_mazurok/gapi.client.texttospeech-v1beta1", | ||
"version": "0.0.20241017", | ||
"version": "0.0.20241026", | ||
"description": "TypeScript typings for Cloud Text-to-Speech API v1beta1", | ||
@@ -5,0 +5,0 @@ "repository": { |
26723
416