tencentcloud-sdk-nodejs-vod 4.1.266 → 4.1.268
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
|
@@ -1684,6 +1684,42 @@ export interface AiSampleWord {
|
|
|
1684
1684
|
*/
|
|
1685
1685
|
UpdateTime?: string;
|
|
1686
1686
|
}
|
|
1687
|
+
/**
|
|
1688
|
+
* 自定义视频转码参数。
|
|
1689
|
+
*/
|
|
1690
|
+
export interface OverrideTranscodeParameter {
|
|
1691
|
+
/**
|
|
1692
|
+
* 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a、wav。其中,mp3、flac、ogg、m4a、wav 为纯音频文件。
|
|
1693
|
+
*/
|
|
1694
|
+
Container?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* 是否去除视频数据,取值:
|
|
1697
|
+
<li>0:保留;<\li>
|
|
1698
|
+
<li>1:去除。<\li>
|
|
1699
|
+
*/
|
|
1700
|
+
RemoveVideo?: number;
|
|
1701
|
+
/**
|
|
1702
|
+
* 是否去除音频数据,取值:
|
|
1703
|
+
<li>0:保留;<\li>
|
|
1704
|
+
<li>1:去除。<\li>
|
|
1705
|
+
*/
|
|
1706
|
+
RemoveAudio?: number;
|
|
1707
|
+
/**
|
|
1708
|
+
* 视频流配置参数。
|
|
1709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1710
|
+
*/
|
|
1711
|
+
VideoTemplate?: VideoTemplateInfoForUpdate;
|
|
1712
|
+
/**
|
|
1713
|
+
* 音频流配置参数。
|
|
1714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1715
|
+
*/
|
|
1716
|
+
AudioTemplate?: AudioTemplateInfoForUpdate;
|
|
1717
|
+
/**
|
|
1718
|
+
* 极速高清转码配置参数。
|
|
1719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1720
|
+
*/
|
|
1721
|
+
TEHDConfig?: TEHDConfigForUpdate;
|
|
1722
|
+
}
|
|
1687
1723
|
/**
|
|
1688
1724
|
* 文本鉴别涉及令人不适宜的信息的任务控制参数
|
|
1689
1725
|
*/
|
|
@@ -2516,49 +2552,25 @@ export interface ModifyWordSampleResponse {
|
|
|
2516
2552
|
*/
|
|
2517
2553
|
export interface AudioTemplateInfoForUpdate {
|
|
2518
2554
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
当外层参数 Container 为 mp3 时,可选值为:
|
|
2521
|
-
<li>libmp3lame。</li>
|
|
2522
|
-
当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
|
2523
|
-
<li>flac。</li>
|
|
2524
|
-
当外层参数 Container 为 m4a 时,可选值为:
|
|
2525
|
-
<li>libfdk_aac;</li>
|
|
2526
|
-
<li>libmp3lame;</li>
|
|
2527
|
-
<li>ac3。</li>
|
|
2528
|
-
当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
|
2529
|
-
<li>libfdk_aac:更适合 mp4;</li>
|
|
2530
|
-
<li>libmp3lame:更适合 flv;</li>
|
|
2531
|
-
<li>mp2。</li>
|
|
2532
|
-
当外层参数 Container 为 hls 时,可选值为:
|
|
2533
|
-
<li>libfdk_aac。</li>
|
|
2534
|
-
当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:
|
|
2535
|
-
<li>libfdk_aac。</li>
|
|
2536
|
-
当外层参数 Container 为 wav 时,可选值为:
|
|
2537
|
-
<li>pcm16。</li>
|
|
2555
|
+
* <p>音频流的编码格式。<br>当外层参数 Container 为 mp3 时,可选值为:</p><li>libmp3lame。</li>当外层参数 Container 为 ogg 或 flac 时,可选值为:<li>flac。</li>当外层参数 Container 为 m4a 时,可选值为:<li>libfdk_aac;</li><li>libmp3lame;</li><li>ac3。</li>当外层参数 Container 为 mp4 或 flv 时,可选值为:<li>libfdk_aac:更适合 mp4;</li><li>libmp3lame:更适合 flv;</li><li>mp2。</li>当外层参数 Container 为 hls 时,可选值为:<li>libfdk_aac。</li>当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:<li>libfdk_aac。</li>当外层参数 Container 为 wav 时,可选值为:<li>pcm16。</li>
|
|
2538
2556
|
*/
|
|
2539
2557
|
Codec?: string;
|
|
2540
2558
|
/**
|
|
2541
|
-
*
|
|
2559
|
+
* <p>音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示由云点播自动设置码率。</p>
|
|
2542
2560
|
*/
|
|
2543
2561
|
Bitrate?: number;
|
|
2544
2562
|
/**
|
|
2545
|
-
*
|
|
2546
|
-
<li>16000,仅当 Codec 为 pcm16 时可选。</li>
|
|
2547
|
-
<li>32000</li>
|
|
2548
|
-
<li>44100</li>
|
|
2549
|
-
<li>48000</li>
|
|
2550
|
-
单位:Hz。
|
|
2563
|
+
* <p>音频流的采样率,可选值:</p><li>16000,仅当 Codec 为 pcm16 时可选。</li><li>32000</li><li>44100</li><li>48000</li>单位:Hz。
|
|
2551
2564
|
*/
|
|
2552
2565
|
SampleRate?: number;
|
|
2553
2566
|
/**
|
|
2554
|
-
*
|
|
2555
|
-
<li>1:单通道</li>
|
|
2556
|
-
<li>2:双通道</li>
|
|
2557
|
-
<li>6:立体声</li>
|
|
2558
|
-
<li>0:音频声道数和原始音频保持一致</li>
|
|
2559
|
-
当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
|
|
2567
|
+
* <p>音频通道,可选值:</p><li>1:单通道</li><li>2:双通道</li><li>6:立体声</li><li>0:音频声道数和原始音频保持一致</li>当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为立体声。
|
|
2560
2568
|
*/
|
|
2561
2569
|
AudioChannel?: number;
|
|
2570
|
+
/**
|
|
2571
|
+
* <p>指定输出要保留的音频轨道。默认是全部保留源的。</p><p>仅当在参数 OverrideParameter 中指定时生效,其他情况下不生效。</p>
|
|
2572
|
+
*/
|
|
2573
|
+
StreamSelects?: Array<number | bigint>;
|
|
2562
2574
|
}
|
|
2563
2575
|
/**
|
|
2564
2576
|
* DescribeDailyMediaPlayStat返回参数结构体
|
|
@@ -15206,6 +15218,10 @@ export interface AigcVideoTaskOutput {
|
|
|
15206
15218
|
* <p>任务类型为 Procedure 的任务 ID。若发起<a href="https://cloud.tencent.com/document/product/266/126239">创建 AIGC 生视频任务</a>时指定了任务流模板(Procedure),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。</p>
|
|
15207
15219
|
*/
|
|
15208
15220
|
ProcedureTaskIds?: Array<string>;
|
|
15221
|
+
/**
|
|
15222
|
+
* <p>AIGC 生视频任务的用量信息。</p>
|
|
15223
|
+
*/
|
|
15224
|
+
Usage?: AigcVideoTaskUsage;
|
|
15209
15225
|
}
|
|
15210
15226
|
/**
|
|
15211
15227
|
* DeletePersonSample返回参数结构体
|
|
@@ -17306,6 +17322,10 @@ export interface TranscodeTaskInput {
|
|
|
17306
17322
|
* <p>转码后视频的终止时间偏移,单位:秒。</p><li>不填或填0,表示转码后的视频持续到原始视频的末尾终止;</li><li>当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;</li><li>当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。</li>
|
|
17307
17323
|
*/
|
|
17308
17324
|
EndTimeOffset?: number;
|
|
17325
|
+
/**
|
|
17326
|
+
* <p>自定义视频转码参数。</p>
|
|
17327
|
+
*/
|
|
17328
|
+
OverrideParameter?: OverrideTranscodeParameter;
|
|
17309
17329
|
/**
|
|
17310
17330
|
* <p>字幕压制信息列表。最大可支持 2 个。</p>
|
|
17311
17331
|
*/
|
|
@@ -21256,6 +21276,83 @@ export interface DescribeStorageRegionsResponse {
|
|
|
21256
21276
|
*/
|
|
21257
21277
|
RequestId?: string;
|
|
21258
21278
|
}
|
|
21279
|
+
/**
|
|
21280
|
+
* 采样截图模板详情
|
|
21281
|
+
*/
|
|
21282
|
+
export interface SampleSnapshotTemplate {
|
|
21283
|
+
/**
|
|
21284
|
+
* 采样截图模板唯一标识。
|
|
21285
|
+
*/
|
|
21286
|
+
Definition: number;
|
|
21287
|
+
/**
|
|
21288
|
+
* 模板类型,取值范围:
|
|
21289
|
+
<li>Preset:系统预置模板;</li>
|
|
21290
|
+
<li>Custom:用户自定义模板。</li>
|
|
21291
|
+
*/
|
|
21292
|
+
Type: string;
|
|
21293
|
+
/**
|
|
21294
|
+
* 采样截图模板名称。
|
|
21295
|
+
*/
|
|
21296
|
+
Name: string;
|
|
21297
|
+
/**
|
|
21298
|
+
* 模板描述信息。
|
|
21299
|
+
*/
|
|
21300
|
+
Comment: string;
|
|
21301
|
+
/**
|
|
21302
|
+
* 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
|
21303
|
+
<li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
21304
|
+
<li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
21305
|
+
<li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
21306
|
+
<li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
21307
|
+
默认值:0。
|
|
21308
|
+
*/
|
|
21309
|
+
Width: number;
|
|
21310
|
+
/**
|
|
21311
|
+
* 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
|
21312
|
+
<li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
21313
|
+
<li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
21314
|
+
<li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
21315
|
+
<li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
21316
|
+
默认值:0。
|
|
21317
|
+
*/
|
|
21318
|
+
Height: number;
|
|
21319
|
+
/**
|
|
21320
|
+
* 分辨率自适应,可选值:
|
|
21321
|
+
<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
21322
|
+
<li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
|
21323
|
+
默认值:open。
|
|
21324
|
+
*/
|
|
21325
|
+
ResolutionAdaptive: string;
|
|
21326
|
+
/**
|
|
21327
|
+
* 图片格式。
|
|
21328
|
+
*/
|
|
21329
|
+
Format: string;
|
|
21330
|
+
/**
|
|
21331
|
+
* 采样截图类型。
|
|
21332
|
+
*/
|
|
21333
|
+
SampleType: string;
|
|
21334
|
+
/**
|
|
21335
|
+
* 采样间隔。
|
|
21336
|
+
*/
|
|
21337
|
+
SampleInterval: number;
|
|
21338
|
+
/**
|
|
21339
|
+
* 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
21340
|
+
*/
|
|
21341
|
+
CreateTime: string;
|
|
21342
|
+
/**
|
|
21343
|
+
* 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
21344
|
+
*/
|
|
21345
|
+
UpdateTime: string;
|
|
21346
|
+
/**
|
|
21347
|
+
* 填充方式,当截图配置宽高参数与原始视频的宽高比不一致时,对截图的处理方式,即为“填充”。可选填充方式:
|
|
21348
|
+
<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
|
21349
|
+
<li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
|
21350
|
+
<li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
|
|
21351
|
+
<li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
|
|
21352
|
+
默认值:black 。
|
|
21353
|
+
*/
|
|
21354
|
+
FillType: string;
|
|
21355
|
+
}
|
|
21259
21356
|
/**
|
|
21260
21357
|
* ModifySnapshotByTimeOffsetTemplate请求参数结构体
|
|
21261
21358
|
*/
|
|
@@ -25705,81 +25802,17 @@ export interface CreateAnimatedGraphicsTemplateResponse {
|
|
|
25705
25802
|
RequestId?: string;
|
|
25706
25803
|
}
|
|
25707
25804
|
/**
|
|
25708
|
-
*
|
|
25805
|
+
* AIGC 生视频任务的用量。
|
|
25709
25806
|
*/
|
|
25710
|
-
export interface
|
|
25711
|
-
/**
|
|
25712
|
-
* 采样截图模板唯一标识。
|
|
25713
|
-
*/
|
|
25714
|
-
Definition: number;
|
|
25715
|
-
/**
|
|
25716
|
-
* 模板类型,取值范围:
|
|
25717
|
-
<li>Preset:系统预置模板;</li>
|
|
25718
|
-
<li>Custom:用户自定义模板。</li>
|
|
25719
|
-
*/
|
|
25720
|
-
Type: string;
|
|
25721
|
-
/**
|
|
25722
|
-
* 采样截图模板名称。
|
|
25723
|
-
*/
|
|
25724
|
-
Name: string;
|
|
25725
|
-
/**
|
|
25726
|
-
* 模板描述信息。
|
|
25727
|
-
*/
|
|
25728
|
-
Comment: string;
|
|
25729
|
-
/**
|
|
25730
|
-
* 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
|
25731
|
-
<li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
25732
|
-
<li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
25733
|
-
<li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
25734
|
-
<li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
25735
|
-
默认值:0。
|
|
25736
|
-
*/
|
|
25737
|
-
Width: number;
|
|
25738
|
-
/**
|
|
25739
|
-
* 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
|
|
25740
|
-
<li>当 Width、Height 均为 0,则分辨率同源;</li>
|
|
25741
|
-
<li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
|
|
25742
|
-
<li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
|
|
25743
|
-
<li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
|
|
25744
|
-
默认值:0。
|
|
25745
|
-
*/
|
|
25746
|
-
Height: number;
|
|
25747
|
-
/**
|
|
25748
|
-
* 分辨率自适应,可选值:
|
|
25749
|
-
<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
|
|
25750
|
-
<li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
|
|
25751
|
-
默认值:open。
|
|
25752
|
-
*/
|
|
25753
|
-
ResolutionAdaptive: string;
|
|
25807
|
+
export interface AigcVideoTaskUsage {
|
|
25754
25808
|
/**
|
|
25755
|
-
*
|
|
25756
|
-
*/
|
|
25757
|
-
Format: string;
|
|
25758
|
-
/**
|
|
25759
|
-
* 采样截图类型。
|
|
25760
|
-
*/
|
|
25761
|
-
SampleType: string;
|
|
25762
|
-
/**
|
|
25763
|
-
* 采样间隔。
|
|
25764
|
-
*/
|
|
25765
|
-
SampleInterval: number;
|
|
25766
|
-
/**
|
|
25767
|
-
* 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
25809
|
+
* <p>输入 Token 数目。</p>
|
|
25768
25810
|
*/
|
|
25769
|
-
|
|
25811
|
+
InputTokens?: number;
|
|
25770
25812
|
/**
|
|
25771
|
-
*
|
|
25813
|
+
* <p>思考产生的 Token 数目。</p>
|
|
25772
25814
|
*/
|
|
25773
|
-
|
|
25774
|
-
/**
|
|
25775
|
-
* 填充方式,当截图配置宽高参数与原始视频的宽高比不一致时,对截图的处理方式,即为“填充”。可选填充方式:
|
|
25776
|
-
<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
|
|
25777
|
-
<li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
|
|
25778
|
-
<li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li>
|
|
25779
|
-
<li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
|
|
25780
|
-
默认值:black 。
|
|
25781
|
-
*/
|
|
25782
|
-
FillType: string;
|
|
25815
|
+
ThoughtTokens?: number;
|
|
25783
25816
|
}
|
|
25784
25817
|
/**
|
|
25785
25818
|
* AIGC 生视频任务的输入。
|