tencentcloud-sdk-ivld 3.0.859 → 3.0.861

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a204ba1d44cf663480d194033b45965ffca1088
4
- data.tar.gz: bed31b264b9457a6698e03448eac1ee9acc45d1f
3
+ metadata.gz: 16409e0117ac2d95f9ecf8aa06ff98af41de0fab
4
+ data.tar.gz: 7742c8e0528a02c8e424d7b662ec0833a26d190f
5
5
  SHA512:
6
- metadata.gz: 54beac4f06e3e5d383fd29131a71d88a332021a3425aaac00022b9bdb80b8ebeb2b812860e7bb4739a3086abecae79d0db3cddda6057681c0f0804b035bc65a2
7
- data.tar.gz: 1c4ca455241cb13db1a16df87df467a8f17ec2c8137da3ab9ea4f315e09d0e7251b58a23feb116794ab35b5fe8f71ecf3bf23f1552520b5257344ddb5ec62d8f
6
+ metadata.gz: f3b08623aa1d79e82de5f40e17d5e4f78dbf072db41139ed4ec4d33d594e274bf71a8a39088f11afe25a7a42903c94400ae494e95fa9d61a7ea7357f5c5e4f1d
7
+ data.tar.gz: 634a438aaee47095f5d7eb6b0ba31a2d5c891c3894b854db6ba92020f37983209be2003c4f627c856aab40719c1610e6fd07e147688c0e63d7b9bcecab5b9d82
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.859
1
+ 3.0.861
@@ -194,6 +194,54 @@ module TencentCloud
194
194
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
195
195
  end
196
196
 
197
+ # 创建一个视频缩编任务。
198
+
199
+ # ### 回调事件消息通知协议
200
+
201
+ # #### 网络协议
202
+ # - 回调接口协议目前仅支持http/https协议;
203
+ # - 请求:HTTP POST 请求,包体内容为 JSON,每一种消息的具体包体内容参见后文。
204
+ # - 应答:HTTP STATUS CODE = 200,服务端忽略应答包具体内容,为了协议友好,建议客户应答内容携带 JSON: `{"code":0}`
205
+
206
+ # #### 通知可靠性
207
+
208
+ # 事件通知服务具备重试能力,事件通知失败后会总计重试3次;
209
+ # 为了避免重试对您的服务器以及网络带宽造成冲击,请保持正常回包。触发重试条件如下:
210
+ # - 长时间(5 秒)未回包应答。
211
+ # - 应答 HTTP STATUS 不为200。
212
+
213
+
214
+ # #### 回调接口协议
215
+
216
+ # ##### 分析任务完成消息回调
217
+ # | 参数名称 | 必选 | 类型 | 描述 |
218
+ # |---------|---------|---------|---------|
219
+ # | TaskId | 是 | String | 任务ID |
220
+ # | TaskStatus | 是 | Integer | 任务执行状态 |
221
+ # | FailedReason | 是 | String | 若任务失败,该字段为失败原因 |
222
+
223
+ # @param request: Request instance for CreateVideoSummaryTask.
224
+ # @type request: :class:`Tencentcloud::ivld::V20210903::CreateVideoSummaryTaskRequest`
225
+ # @rtype: :class:`Tencentcloud::ivld::V20210903::CreateVideoSummaryTaskResponse`
226
+ def CreateVideoSummaryTask(request)
227
+ body = send_request('CreateVideoSummaryTask', request.serialize)
228
+ response = JSON.parse(body)
229
+ if response['Response'].key?('Error') == false
230
+ model = CreateVideoSummaryTaskResponse.new
231
+ model.deserialize(response['Response'])
232
+ model
233
+ else
234
+ code = response['Response']['Error']['Code']
235
+ message = response['Response']['Error']['Message']
236
+ reqid = response['Response']['RequestId']
237
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
238
+ end
239
+ rescue TencentCloud::Common::TencentCloudSDKException => e
240
+ raise e
241
+ rescue StandardError => e
242
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
243
+ end
244
+
197
245
  # 删除自定义分类信息
198
246
 
199
247
  # @param request: Request instance for DeleteCustomCategory.
@@ -548,6 +596,54 @@ module TencentCloud
548
596
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
549
597
  end
550
598
 
599
+ # 获取用户资源使用量
600
+
601
+ # @param request: Request instance for DescribeUsageAmount.
602
+ # @type request: :class:`Tencentcloud::ivld::V20210903::DescribeUsageAmountRequest`
603
+ # @rtype: :class:`Tencentcloud::ivld::V20210903::DescribeUsageAmountResponse`
604
+ def DescribeUsageAmount(request)
605
+ body = send_request('DescribeUsageAmount', request.serialize)
606
+ response = JSON.parse(body)
607
+ if response['Response'].key?('Error') == false
608
+ model = DescribeUsageAmountResponse.new
609
+ model.deserialize(response['Response'])
610
+ model
611
+ else
612
+ code = response['Response']['Error']['Code']
613
+ message = response['Response']['Error']['Message']
614
+ reqid = response['Response']['RequestId']
615
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
616
+ end
617
+ rescue TencentCloud::Common::TencentCloudSDKException => e
618
+ raise e
619
+ rescue StandardError => e
620
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
621
+ end
622
+
623
+ # 描述任务信息,如果任务成功完成,还将返回任务结果
624
+
625
+ # @param request: Request instance for DescribeVideoSummaryDetail.
626
+ # @type request: :class:`Tencentcloud::ivld::V20210903::DescribeVideoSummaryDetailRequest`
627
+ # @rtype: :class:`Tencentcloud::ivld::V20210903::DescribeVideoSummaryDetailResponse`
628
+ def DescribeVideoSummaryDetail(request)
629
+ body = send_request('DescribeVideoSummaryDetail', request.serialize)
630
+ response = JSON.parse(body)
631
+ if response['Response'].key?('Error') == false
632
+ model = DescribeVideoSummaryDetailResponse.new
633
+ model.deserialize(response['Response'])
634
+ model
635
+ else
636
+ code = response['Response']['Error']['Code']
637
+ message = response['Response']['Error']['Message']
638
+ reqid = response['Response']['RequestId']
639
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
640
+ end
641
+ rescue TencentCloud::Common::TencentCloudSDKException => e
642
+ raise e
643
+ rescue StandardError => e
644
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
645
+ end
646
+
551
647
  # 将URL指向的媒资视频文件导入系统之中。
552
648
 
553
649
  # **请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId
@@ -149,6 +149,30 @@ module TencentCloud
149
149
  end
150
150
  end
151
151
 
152
+ # 一条 asr 语音结果的结构
153
+ class AsrResult < TencentCloud::Common::AbstractModel
154
+ # @param Content: ASR提取的文字信息
155
+ # @type Content: String
156
+ # @param StartTimeStamp: ASR起始时间戳,从0开始
157
+ # @type StartTimeStamp: Float
158
+ # @param EndTimeStamp: ASR结束时间戳,从0开始
159
+ # @type EndTimeStamp: Float
160
+
161
+ attr_accessor :Content, :StartTimeStamp, :EndTimeStamp
162
+
163
+ def initialize(content=nil, starttimestamp=nil, endtimestamp=nil)
164
+ @Content = content
165
+ @StartTimeStamp = starttimestamp
166
+ @EndTimeStamp = endtimestamp
167
+ end
168
+
169
+ def deserialize(params)
170
+ @Content = params['Content']
171
+ @StartTimeStamp = params['StartTimeStamp']
172
+ @EndTimeStamp = params['EndTimeStamp']
173
+ end
174
+ end
175
+
152
176
  # 音频文件分析结果数据
153
177
  class AudioData < TencentCloud::Common::AbstractModel
154
178
  # @param AudioInfoSet: 音频识别文本结果
@@ -496,6 +520,106 @@ module TencentCloud
496
520
  end
497
521
  end
498
522
 
523
+ # CreateVideoSummaryTask请求参数结构体
524
+ class CreateVideoSummaryTaskRequest < TencentCloud::Common::AbstractModel
525
+ # @param SummaryType: 目前只支持 1,表示新闻缩编。
526
+ # @type SummaryType: Integer
527
+ # @param VideoURL: 待处理的视频的URL,目前只支持*不带签名的*COS地址,长度最长1KB
528
+ # @type VideoURL: String
529
+ # @param CallbackURL: 任务处理完成的回调地址。
530
+ # @type CallbackURL: String
531
+ # @param WriteBackCosPath: 如果需要你输出 TTS 或者视频,该字段为转存的cos桶地址且不可为空; 示例:https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${PathPrefix}/ (注意,cos路径需要以/分隔符结尾)。
532
+ # @type WriteBackCosPath: String
533
+ # @param ActiveVideoGenerate: 是否开启结果视频生成功能,如果开启,需要指定WriteBackCosPath 参数
534
+ # @type ActiveVideoGenerate: Boolean
535
+ # @param VideoRotationMode: 生成结果视频的时候,控制生成的结果视频的横转竖参数。如果 ActiveVideoGenerate 为 false, 该参数无效。
536
+ # @type VideoRotationMode: :class:`Tencentcloud::Ivld.v20210903.models.VideoRotationMode`
537
+ # @param TTSMode: 语音合成相关的控制参数
538
+ # @type TTSMode: :class:`Tencentcloud::Ivld.v20210903.models.TTSMode`
539
+ # @param ActiveTTSOutput: 是否输出合成好的语音列表。
540
+ # @type ActiveTTSOutput: Boolean
541
+ # @param ExactAsrSet: 用户指定的精确的 asr 结果列表
542
+ # @type ExactAsrSet: Array
543
+ # @param ExactTextSummary: 用户指定的精确的文本摘要
544
+ # @type ExactTextSummary: String
545
+ # @param ExactTextSegSet: 用户指定的精确的文本摘要分割结果
546
+ # @type ExactTextSegSet: Array
547
+ # @param ExactShotSegSet: 用户指定的精确的镜头分割结果
548
+ # @type ExactShotSegSet: Array
549
+
550
+ attr_accessor :SummaryType, :VideoURL, :CallbackURL, :WriteBackCosPath, :ActiveVideoGenerate, :VideoRotationMode, :TTSMode, :ActiveTTSOutput, :ExactAsrSet, :ExactTextSummary, :ExactTextSegSet, :ExactShotSegSet
551
+
552
+ def initialize(summarytype=nil, videourl=nil, callbackurl=nil, writebackcospath=nil, activevideogenerate=nil, videorotationmode=nil, ttsmode=nil, activettsoutput=nil, exactasrset=nil, exacttextsummary=nil, exacttextsegset=nil, exactshotsegset=nil)
553
+ @SummaryType = summarytype
554
+ @VideoURL = videourl
555
+ @CallbackURL = callbackurl
556
+ @WriteBackCosPath = writebackcospath
557
+ @ActiveVideoGenerate = activevideogenerate
558
+ @VideoRotationMode = videorotationmode
559
+ @TTSMode = ttsmode
560
+ @ActiveTTSOutput = activettsoutput
561
+ @ExactAsrSet = exactasrset
562
+ @ExactTextSummary = exacttextsummary
563
+ @ExactTextSegSet = exacttextsegset
564
+ @ExactShotSegSet = exactshotsegset
565
+ end
566
+
567
+ def deserialize(params)
568
+ @SummaryType = params['SummaryType']
569
+ @VideoURL = params['VideoURL']
570
+ @CallbackURL = params['CallbackURL']
571
+ @WriteBackCosPath = params['WriteBackCosPath']
572
+ @ActiveVideoGenerate = params['ActiveVideoGenerate']
573
+ unless params['VideoRotationMode'].nil?
574
+ @VideoRotationMode = VideoRotationMode.new
575
+ @VideoRotationMode.deserialize(params['VideoRotationMode'])
576
+ end
577
+ unless params['TTSMode'].nil?
578
+ @TTSMode = TTSMode.new
579
+ @TTSMode.deserialize(params['TTSMode'])
580
+ end
581
+ @ActiveTTSOutput = params['ActiveTTSOutput']
582
+ unless params['ExactAsrSet'].nil?
583
+ @ExactAsrSet = []
584
+ params['ExactAsrSet'].each do |i|
585
+ asrresult_tmp = AsrResult.new
586
+ asrresult_tmp.deserialize(i)
587
+ @ExactAsrSet << asrresult_tmp
588
+ end
589
+ end
590
+ @ExactTextSummary = params['ExactTextSummary']
591
+ @ExactTextSegSet = params['ExactTextSegSet']
592
+ unless params['ExactShotSegSet'].nil?
593
+ @ExactShotSegSet = []
594
+ params['ExactShotSegSet'].each do |i|
595
+ shotinfo_tmp = ShotInfo.new
596
+ shotinfo_tmp.deserialize(i)
597
+ @ExactShotSegSet << shotinfo_tmp
598
+ end
599
+ end
600
+ end
601
+ end
602
+
603
+ # CreateVideoSummaryTask返回参数结构体
604
+ class CreateVideoSummaryTaskResponse < TencentCloud::Common::AbstractModel
605
+ # @param TaskId: 返回的任务 id
606
+ # @type TaskId: String
607
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
608
+ # @type RequestId: String
609
+
610
+ attr_accessor :TaskId, :RequestId
611
+
612
+ def initialize(taskid=nil, requestid=nil)
613
+ @TaskId = taskid
614
+ @RequestId = requestid
615
+ end
616
+
617
+ def deserialize(params)
618
+ @TaskId = params['TaskId']
619
+ @RequestId = params['RequestId']
620
+ end
621
+ end
622
+
499
623
  # 自定义分类信息
500
624
  class CustomCategory < TencentCloud::Common::AbstractModel
501
625
  # @param CategoryId: 自定义分类ID
@@ -1261,6 +1385,138 @@ module TencentCloud
1261
1385
  end
1262
1386
  end
1263
1387
 
1388
+ # DescribeUsageAmount请求参数结构体
1389
+ class DescribeUsageAmountRequest < TencentCloud::Common::AbstractModel
1390
+
1391
+
1392
+ def initialize()
1393
+ end
1394
+
1395
+ def deserialize(params)
1396
+ end
1397
+ end
1398
+
1399
+ # DescribeUsageAmount返回参数结构体
1400
+ class DescribeUsageAmountResponse < TencentCloud::Common::AbstractModel
1401
+ # @param UsedHours: 资源使用小时数
1402
+ # @type UsedHours: Float
1403
+ # @param TotalHours: 资源包总量小时数
1404
+ # @type TotalHours: Float
1405
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1406
+ # @type RequestId: String
1407
+
1408
+ attr_accessor :UsedHours, :TotalHours, :RequestId
1409
+
1410
+ def initialize(usedhours=nil, totalhours=nil, requestid=nil)
1411
+ @UsedHours = usedhours
1412
+ @TotalHours = totalhours
1413
+ @RequestId = requestid
1414
+ end
1415
+
1416
+ def deserialize(params)
1417
+ @UsedHours = params['UsedHours']
1418
+ @TotalHours = params['TotalHours']
1419
+ @RequestId = params['RequestId']
1420
+ end
1421
+ end
1422
+
1423
+ # DescribeVideoSummaryDetail请求参数结构体
1424
+ class DescribeVideoSummaryDetailRequest < TencentCloud::Common::AbstractModel
1425
+ # @param TaskId: 要查询的任务Id
1426
+ # @type TaskId: String
1427
+
1428
+ attr_accessor :TaskId
1429
+
1430
+ def initialize(taskid=nil)
1431
+ @TaskId = taskid
1432
+ end
1433
+
1434
+ def deserialize(params)
1435
+ @TaskId = params['TaskId']
1436
+ end
1437
+ end
1438
+
1439
+ # DescribeVideoSummaryDetail返回参数结构体
1440
+ class DescribeVideoSummaryDetailResponse < TencentCloud::Common::AbstractModel
1441
+ # @param Status: 任务的状态
1442
+ # 1: 等待处理中
1443
+ # 2: 处理中
1444
+ # 3: 处理成功
1445
+ # 4: 处理失败
1446
+ # @type Status: Integer
1447
+ # @param FailedReason: 如果处理失败,返回失败的原因
1448
+ # @type FailedReason: String
1449
+ # @param AsrSet: 提取出的视频的 Asr 结果
1450
+ # @type AsrSet: Array
1451
+ # @param TextSummary: 文本摘要结果
1452
+ # @type TextSummary: String
1453
+ # @param TextSegSet: 文本摘要分割结果
1454
+ # @type TextSegSet: Array
1455
+ # @param ShotSegSet: 镜头分割结果
1456
+ # @type ShotSegSet: Array
1457
+ # @param TextSegMatchShotScoreSet: 数组第 i 个结构 TextSegMatchShotConfidenceSet[i] 表示第 i 个文本摘要分割结果和所有镜头的匹配度。
1458
+ # @type TextSegMatchShotScoreSet: Array
1459
+ # @param TTSResultURLSet: TTS 输出音频下载地址列表
1460
+ # @type TTSResultURLSet: Array
1461
+ # @param VideoResultURL: 合成视频输出下载地址
1462
+ # @type VideoResultURL: String
1463
+ # @param VideoRotateResultURL: 合成后的视频横竖屏转换后的视频下载地址
1464
+ # @type VideoRotateResultURL: String
1465
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1466
+ # @type RequestId: String
1467
+
1468
+ attr_accessor :Status, :FailedReason, :AsrSet, :TextSummary, :TextSegSet, :ShotSegSet, :TextSegMatchShotScoreSet, :TTSResultURLSet, :VideoResultURL, :VideoRotateResultURL, :RequestId
1469
+
1470
+ def initialize(status=nil, failedreason=nil, asrset=nil, textsummary=nil, textsegset=nil, shotsegset=nil, textsegmatchshotscoreset=nil, ttsresulturlset=nil, videoresulturl=nil, videorotateresulturl=nil, requestid=nil)
1471
+ @Status = status
1472
+ @FailedReason = failedreason
1473
+ @AsrSet = asrset
1474
+ @TextSummary = textsummary
1475
+ @TextSegSet = textsegset
1476
+ @ShotSegSet = shotsegset
1477
+ @TextSegMatchShotScoreSet = textsegmatchshotscoreset
1478
+ @TTSResultURLSet = ttsresulturlset
1479
+ @VideoResultURL = videoresulturl
1480
+ @VideoRotateResultURL = videorotateresulturl
1481
+ @RequestId = requestid
1482
+ end
1483
+
1484
+ def deserialize(params)
1485
+ @Status = params['Status']
1486
+ @FailedReason = params['FailedReason']
1487
+ unless params['AsrSet'].nil?
1488
+ @AsrSet = []
1489
+ params['AsrSet'].each do |i|
1490
+ asrresult_tmp = AsrResult.new
1491
+ asrresult_tmp.deserialize(i)
1492
+ @AsrSet << asrresult_tmp
1493
+ end
1494
+ end
1495
+ @TextSummary = params['TextSummary']
1496
+ @TextSegSet = params['TextSegSet']
1497
+ unless params['ShotSegSet'].nil?
1498
+ @ShotSegSet = []
1499
+ params['ShotSegSet'].each do |i|
1500
+ shotinfo_tmp = ShotInfo.new
1501
+ shotinfo_tmp.deserialize(i)
1502
+ @ShotSegSet << shotinfo_tmp
1503
+ end
1504
+ end
1505
+ unless params['TextSegMatchShotScoreSet'].nil?
1506
+ @TextSegMatchShotScoreSet = []
1507
+ params['TextSegMatchShotScoreSet'].each do |i|
1508
+ textsegmatchshotscore_tmp = TextSegMatchShotScore.new
1509
+ textsegmatchshotscore_tmp.deserialize(i)
1510
+ @TextSegMatchShotScoreSet << textsegmatchshotscore_tmp
1511
+ end
1512
+ end
1513
+ @TTSResultURLSet = params['TTSResultURLSet']
1514
+ @VideoResultURL = params['VideoResultURL']
1515
+ @VideoRotateResultURL = params['VideoRotateResultURL']
1516
+ @RequestId = params['RequestId']
1517
+ end
1518
+ end
1519
+
1264
1520
  # 图片文件标签结果
1265
1521
  class ImageData < TencentCloud::Common::AbstractModel
1266
1522
  # @param OcrSet: 图片中出现的可视文本识别结果
@@ -2095,6 +2351,28 @@ module TencentCloud
2095
2351
  end
2096
2352
  end
2097
2353
 
2354
+ # 输入的镜头信息的描述
2355
+ class ShotInfo < TencentCloud::Common::AbstractModel
2356
+ # @param StartTimeStamp: 镜头开始时间
2357
+ # 注意:此字段可能返回 null,表示取不到有效值。
2358
+ # @type StartTimeStamp: Float
2359
+ # @param EndTimeStamp: 镜头结束时间
2360
+ # 注意:此字段可能返回 null,表示取不到有效值。
2361
+ # @type EndTimeStamp: Float
2362
+
2363
+ attr_accessor :StartTimeStamp, :EndTimeStamp
2364
+
2365
+ def initialize(starttimestamp=nil, endtimestamp=nil)
2366
+ @StartTimeStamp = starttimestamp
2367
+ @EndTimeStamp = endtimestamp
2368
+ end
2369
+
2370
+ def deserialize(params)
2371
+ @StartTimeStamp = params['StartTimeStamp']
2372
+ @EndTimeStamp = params['EndTimeStamp']
2373
+ end
2374
+ end
2375
+
2098
2376
  # 视频结构化结果
2099
2377
  class ShowInfo < TencentCloud::Common::AbstractModel
2100
2378
  # @param Date: 节目日期(只在新闻有效)
@@ -2253,6 +2531,49 @@ module TencentCloud
2253
2531
  end
2254
2532
  end
2255
2533
 
2534
+ # TTS 的参数模式
2535
+ class TTSMode < TencentCloud::Common::AbstractModel
2536
+ # @param Speed: 语速,范围:[-2,2],分别对应不同语速:
2537
+ # -2代表0.6倍
2538
+ # -1代表0.8倍
2539
+ # 0代表1.0倍(默认)
2540
+ # 1代表1.2倍
2541
+ # 2代表1.5倍
2542
+ # 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。
2543
+ # @type Speed: Float
2544
+ # @param VoiceType: 音色 ID,[音色体验地址](https://cloud.tencent.com/product/tts)。
2545
+
2546
+
2547
+ # |音乐ID|音色名称|推荐场景|
2548
+ # |--|--|--|
2549
+ # |1001|智瑜|情感女声|
2550
+ # |1002|智聆|通用女声|
2551
+ # |1003|智美|客服女声|
2552
+ # |1004|智云|通用男声|
2553
+ # |1005|智莉|通用女声|
2554
+ # |1007|智娜|客服女声|
2555
+ # |1008|智琪|客服女声|
2556
+ # |1009|智芸|知性女声|
2557
+ # |1010|智华|通用男声|
2558
+ # |1017|智蓉|情感女声|
2559
+ # |1018|智靖|情感男声|
2560
+
2561
+
2562
+ # @type VoiceType: Integer
2563
+
2564
+ attr_accessor :Speed, :VoiceType
2565
+
2566
+ def initialize(speed=nil, voicetype=nil)
2567
+ @Speed = speed
2568
+ @VoiceType = voicetype
2569
+ end
2570
+
2571
+ def deserialize(params)
2572
+ @Speed = params['Speed']
2573
+ @VoiceType = params['VoiceType']
2574
+ end
2575
+ end
2576
+
2256
2577
  # 任务筛选条件结构体
2257
2578
  class TaskFilter < TencentCloud::Common::AbstractModel
2258
2579
  # @param MediaTypeSet: 媒资文件类型
@@ -2535,6 +2856,23 @@ module TencentCloud
2535
2856
  end
2536
2857
  end
2537
2858
 
2859
+ # 单个文本摘要分割结果和所有镜头的匹配度信息
2860
+ class TextSegMatchShotScore < TencentCloud::Common::AbstractModel
2861
+ # @param ScoreSet: 数组第 i 个值表示该文本摘要和第 i 个镜头的匹配度
2862
+ # 注意:此字段可能返回 null,表示取不到有效值。
2863
+ # @type ScoreSet: Array
2864
+
2865
+ attr_accessor :ScoreSet
2866
+
2867
+ def initialize(scoreset=nil)
2868
+ @ScoreSet = scoreset
2869
+ end
2870
+
2871
+ def deserialize(params)
2872
+ @ScoreSet = params['ScoreSet']
2873
+ end
2874
+ end
2875
+
2538
2876
  # 未知人物信息
2539
2877
  class UnknownPerson < TencentCloud::Common::AbstractModel
2540
2878
  # @param VideoAppearSet: 视觉出现信息
@@ -2681,6 +3019,22 @@ module TencentCloud
2681
3019
  end
2682
3020
  end
2683
3021
 
3022
+ # 视频横转竖的控制参数
3023
+ class VideoRotationMode < TencentCloud::Common::AbstractModel
3024
+ # @param ActiveVideoRotation: 生成的视频是否需要横屏转竖屏。
3025
+ # @type ActiveVideoRotation: Boolean
3026
+
3027
+ attr_accessor :ActiveVideoRotation
3028
+
3029
+ def initialize(activevideorotation=nil)
3030
+ @ActiveVideoRotation = activevideorotation
3031
+ end
3032
+
3033
+ def deserialize(params)
3034
+ @ActiveVideoRotation = params['ActiveVideoRotation']
3035
+ end
3036
+ end
3037
+
2684
3038
  end
2685
3039
  end
2686
3040
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ivld
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.859
4
+ version: 3.0.861
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-07 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common