tencentcloud-sdk-nodejs-intl-en 3.0.663 → 3.0.664
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/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.664";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -2132,6 +2132,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2132
2132
|
*/
|
|
2133
2133
|
this.OutSideSoftInfo = null;
|
|
2134
2134
|
|
|
2135
|
+
/**
|
|
2136
|
+
* Whether the current cluster supports external clients.
|
|
2137
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2138
|
+
* @type {boolean || null}
|
|
2139
|
+
*/
|
|
2140
|
+
this.IsSupportOutsideCluster = null;
|
|
2141
|
+
|
|
2135
2142
|
}
|
|
2136
2143
|
|
|
2137
2144
|
/**
|
|
@@ -2186,6 +2193,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2186
2193
|
this.OutSideSoftInfo.push(obj);
|
|
2187
2194
|
}
|
|
2188
2195
|
}
|
|
2196
|
+
this.IsSupportOutsideCluster = 'IsSupportOutsideCluster' in params ? params.IsSupportOutsideCluster : null;
|
|
2189
2197
|
|
|
2190
2198
|
}
|
|
2191
2199
|
}
|
|
@@ -111,6 +111,13 @@ class Subtitle extends AbstractModel {
|
|
|
111
111
|
*/
|
|
112
112
|
this.EndIndex = null;
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* The phonemes of the word.
|
|
116
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
117
|
+
* @type {string || null}
|
|
118
|
+
*/
|
|
119
|
+
this.Phoneme = null;
|
|
120
|
+
|
|
114
121
|
}
|
|
115
122
|
|
|
116
123
|
/**
|
|
@@ -125,6 +132,7 @@ class Subtitle extends AbstractModel {
|
|
|
125
132
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
126
133
|
this.BeginIndex = 'BeginIndex' in params ? params.BeginIndex : null;
|
|
127
134
|
this.EndIndex = 'EndIndex' in params ? params.EndIndex : null;
|
|
135
|
+
this.Phoneme = 'Phoneme' in params ? params.Phoneme : null;
|
|
128
136
|
|
|
129
137
|
}
|
|
130
138
|
}
|
|
@@ -157,7 +165,7 @@ It can contain up to 150 Chinese characters (a full-width punctuation as a Chine
|
|
|
157
165
|
this.Volume = null;
|
|
158
166
|
|
|
159
167
|
/**
|
|
160
|
-
*
|
|
168
|
+
* Speed range: [-2, 6], corresponding to different speeds<li>-2 for 0.6 times</li><li>-1 for 0.8 times</li><li>0 for 1.0 time (default)</li><li>1 for 1.2 times</li><li>2 for 1.5 times</li><li>6 for 2.5 times</li>To set finer-grained speed levels, keep one decimal place, such as 0.5, 1.1, and 1.8.<br>
|
|
161
169
|
* @type {number || null}
|
|
162
170
|
*/
|
|
163
171
|
this.Speed = null;
|
|
@@ -175,11 +183,11 @@ It can contain up to 150 Chinese characters (a full-width punctuation as a Chine
|
|
|
175
183
|
this.ModelType = null;
|
|
176
184
|
|
|
177
185
|
/**
|
|
178
|
-
* Standard voices <li>10510000-zhixiaoyao (Chinese)</li><li>1001-zhiyu (Chinese)</li><li>1002-zhiling (Chinese)</li><li>1003-zhimei (Chinese)</li><li>1004-zhiyun (Chinese)</li><li>1005-zhili (Chinese)</li><li>1007-zhina (Chinese)</li><li>1008-zhiqi (Chinese)</li><li>1009-zhiyun (Chinese)</li><li>1010-zhihua (Chinese)</li><li>1017-zhirong (Chinese)</li><li>1018-zhijing (Chinese)</li><li>1050-WeJack (English)</li><li>1051-WeRose (English)</li>Premium voices<br>Premium voices have higher fidelity and more natural-sounding quality than standard voices. For price details, see [Purchase Guide](https://
|
|
186
|
+
* Standard voices <li>10510000-zhixiaoyao (Chinese)</li><li>1001-zhiyu (Chinese)</li><li>1002-zhiling (Chinese)</li><li>1003-zhimei (Chinese)</li><li>1004-zhiyun (Chinese)</li><li>1005-zhili (Chinese)</li><li>1007-zhina (Chinese)</li><li>1008-zhiqi (Chinese)</li><li>1009-zhiyun (Chinese)</li><li>1010-zhihua (Chinese)</li><li>1017-zhirong (Chinese)</li><li>1018-zhijing (Chinese)</li><li>1050-WeJack (English)</li><li>1051-WeRose (English)</li>Premium voices<br>Premium voices have higher fidelity and more natural-sounding quality than standard voices. For price details, see [Purchase Guide](https://www.tencentcloud.com/document/product/1154/47874).<br><li>100510000-zhixiaoyao (Chinese)</li><li>101001-zhiyu (Chinese)</li><li>101002-zhiling (Chinese)</li><li>101003-zhimei (Chinese)</li><li>101004-zhiyun (Chinese)</li><li>101005-zhili (Chinese)</li><li>101006-zhiyan (Chinese)</li><li>101007-zhina (Chinese)</li><li>101008-zhiqi (Chinese)</li><li>101009-zhiyun (Chinese)</li><li>101010-zhihua (Chinese)</li><li>101011-zhiyan (Chinese)</li><li>101012-zhidan (Chinese)</li><li>101013-zhihui (Chinese)</li><li>101014-zhining (Chinese)</li><li>101015-zhimeng (Chinese)</li><li>101016-zhitian (Chinese)</li><li>101017-zhirong (Chinese)</li><li>101018-zhijing (Chinese)</li><li>101019-zhitong (Cantonese)</li><li>101020-zhigang (Chinese)</li><li>101021-zhirui (Chinese)</li><li>101022-zhihong (Chinese)</li><li>101023-zhixuan (Chinese)</li><li>101024-zhihao (Chinese)</li><li>101025-zhiwei (Chinese)</li><li>101026-zhixi (Chinese)</li><li>101027-zhimei (Chinese)</li><li>101028-zhijie (Chinese)</li><li>101029-zhikai (Chinese)</li><li>101030-zhike (Chinese)</li><li>101031-zhikui (Chinese)</li><li>101032-zhifang (Chinese)</li><li>101033-zhibei (Chinese)</li><li>101034-zhilian (Chinese)</li><li>101035-zhiyi (Chinese)</li><li>101040-zhichuan (Sichuan dialect)</li><li>101050-WeJack (English)</li><li>101051-WeRose (English)</li><li>101052-zhiwei (Chinese)</li>
|
|
179
187
|
<li>101053-zhifang (Chinese)</li>
|
|
180
188
|
<li>101054-zhiyou (Chinese)</li>
|
|
181
189
|
<li>101055-zhiyou (Chinese)</li>
|
|
182
|
-
<li>101056-zhilin (
|
|
190
|
+
<li>101056-zhilin (Northeastern Mandarin)</li>
|
|
183
191
|
* @type {number || null}
|
|
184
192
|
*/
|
|
185
193
|
this.VoiceType = null;
|
|
@@ -209,7 +217,7 @@ It can contain up to 150 Chinese characters (a full-width punctuation as a Chine
|
|
|
209
217
|
this.EnableSubtitle = null;
|
|
210
218
|
|
|
211
219
|
/**
|
|
212
|
-
*
|
|
220
|
+
* The threshold of speech segmentation sensibility, which can be `0` (default), `1`, or `2`. A larger value indicates fewer segments, and the model tends to only segment sentences based on punctuation marks. We recommend you not change this parameter to avoid adverse effect on speech synthesis.
|
|
213
221
|
* @type {number || null}
|
|
214
222
|
*/
|
|
215
223
|
this.SegmentRate = null;
|
|
@@ -33,9 +33,10 @@ class TtsClient extends AbstractClient {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* This API is used to convert any text to speech, allowing your devices and applications to talk to users.
|
|
36
|
-
|
|
36
|
+
u200bTencent Cloud Text To Speech (TTS) can synthesize speech from text in real time for many use cases, such as audiobook and news apps, voice reminders on smart devices, quick synthesis of a celebrity's voice based on existing programs or certain voice records available on the internet, and personalized vehicle navigation systems.
|
|
37
37
|
It is free for use in beta.
|
|
38
38
|
It supports SSML. For syntax details, see [SSML](https://intl.cloud.tencent.com/document/product/1073/49575?from_cn_redirect=1).
|
|
39
|
+
Default API request rate limit: 20 requests/sec.
|
|
39
40
|
* @param {TextToVoiceRequest} req
|
|
40
41
|
* @param {function(string, TextToVoiceResponse):void} cb
|
|
41
42
|
* @public
|