tencentcloud-sdk-python 3.0.1394__py2.py3-none-any.whl → 3.0.1396__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +17 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/cbs/v20170312/cbs_client.py +3 -1
- tencentcloud/cdb/v20170320/models.py +36 -6
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/errorcodes.py +9 -0
- tencentcloud/chc/v20230418/models.py +109 -0
- tencentcloud/cvm/v20170312/models.py +8 -0
- tencentcloud/cwp/v20180228/models.py +137 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +4 -4
- tencentcloud/dts/v20211206/models.py +6 -6
- tencentcloud/emr/v20190103/models.py +304 -4
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +255 -0
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +233 -3
- tencentcloud/gs/v20191118/models.py +1310 -55
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +2 -2
- tencentcloud/mariadb/v20170312/models.py +30 -10
- tencentcloud/ocr/v20181119/models.py +131 -18
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/tcss/v20201101/models.py +94 -4
- tencentcloud/tem/v20210701/errorcodes.py +6 -0
- tencentcloud/tem/v20210701/models.py +200 -0
- tencentcloud/tem/v20210701/tem_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +1417 -117
- tencentcloud/trtc/v20190722/models.py +12 -4
- tencentcloud/vclm/v20240523/models.py +350 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vod/v20180717/models.py +44 -0
- tencentcloud/vpc/v20170312/models.py +19 -2
- tencentcloud/waf/v20180125/models.py +0 -2
- tencentcloud/wedata/v20210820/models.py +1902 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1394.dist-info → tencentcloud_sdk_python-3.0.1396.dist-info}/top_level.txt +0 -0
@@ -10850,6 +10850,9 @@ class STTConfig(AbstractModel):
|
|
10850
10850
|
- "zh": 中文(简体)
|
10851
10851
|
- "zh-TW": 中文(繁体)
|
10852
10852
|
- "en": 英语
|
10853
|
+
- "16k_zh_edu":中文教育
|
10854
|
+
- "16k_zh_medical":中文医疗
|
10855
|
+
- "16k_zh_court":中文法庭
|
10853
10856
|
|
10854
10857
|
**标准版:**
|
10855
10858
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
@@ -10883,8 +10886,9 @@ class STTConfig(AbstractModel):
|
|
10883
10886
|
**注意:**
|
10884
10887
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
10885
10888
|
:type Language: str
|
10886
|
-
:param _AlternativeLanguage:
|
10887
|
-
注意:不支持填写"zh-dialect"
|
10889
|
+
:param _AlternativeLanguage: **发起模糊识别为高级版能力,默认按照高级版收费**
|
10890
|
+
注意:不支持填写"zh-dialect", "16k_zh_edu", "16k_zh_medical", "16k_zh_court", "8k_zh_large", "16k_zh_large","16k_multi_lang", "16k_zh_en"
|
10891
|
+
|
10888
10892
|
:type AlternativeLanguage: list of str
|
10889
10893
|
:param _CustomParam: 自定义参数,联系后台使用
|
10890
10894
|
|
@@ -10913,6 +10917,9 @@ class STTConfig(AbstractModel):
|
|
10913
10917
|
- "zh": 中文(简体)
|
10914
10918
|
- "zh-TW": 中文(繁体)
|
10915
10919
|
- "en": 英语
|
10920
|
+
- "16k_zh_edu":中文教育
|
10921
|
+
- "16k_zh_medical":中文医疗
|
10922
|
+
- "16k_zh_court":中文法庭
|
10916
10923
|
|
10917
10924
|
**标准版:**
|
10918
10925
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
@@ -10955,8 +10962,9 @@ class STTConfig(AbstractModel):
|
|
10955
10962
|
|
10956
10963
|
@property
|
10957
10964
|
def AlternativeLanguage(self):
|
10958
|
-
"""
|
10959
|
-
注意:不支持填写"zh-dialect"
|
10965
|
+
"""**发起模糊识别为高级版能力,默认按照高级版收费**
|
10966
|
+
注意:不支持填写"zh-dialect", "16k_zh_edu", "16k_zh_medical", "16k_zh_court", "8k_zh_large", "16k_zh_large","16k_multi_lang", "16k_zh_en"
|
10967
|
+
|
10960
10968
|
:rtype: list of str
|
10961
10969
|
"""
|
10962
10970
|
return self._AlternativeLanguage
|
@@ -484,6 +484,130 @@ class DescribePortraitSingJobResponse(AbstractModel):
|
|
484
484
|
self._RequestId = params.get("RequestId")
|
485
485
|
|
486
486
|
|
487
|
+
class DescribeTemplateToVideoJobRequest(AbstractModel):
|
488
|
+
"""DescribeTemplateToVideoJob请求参数结构体
|
489
|
+
|
490
|
+
"""
|
491
|
+
|
492
|
+
def __init__(self):
|
493
|
+
r"""
|
494
|
+
:param _JobId: 任务ID。
|
495
|
+
:type JobId: str
|
496
|
+
"""
|
497
|
+
self._JobId = None
|
498
|
+
|
499
|
+
@property
|
500
|
+
def JobId(self):
|
501
|
+
"""任务ID。
|
502
|
+
:rtype: str
|
503
|
+
"""
|
504
|
+
return self._JobId
|
505
|
+
|
506
|
+
@JobId.setter
|
507
|
+
def JobId(self, JobId):
|
508
|
+
self._JobId = JobId
|
509
|
+
|
510
|
+
|
511
|
+
def _deserialize(self, params):
|
512
|
+
self._JobId = params.get("JobId")
|
513
|
+
memeber_set = set(params.keys())
|
514
|
+
for name, value in vars(self).items():
|
515
|
+
property_name = name[1:]
|
516
|
+
if property_name in memeber_set:
|
517
|
+
memeber_set.remove(property_name)
|
518
|
+
if len(memeber_set) > 0:
|
519
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
class DescribeTemplateToVideoJobResponse(AbstractModel):
|
524
|
+
"""DescribeTemplateToVideoJob返回参数结构体
|
525
|
+
|
526
|
+
"""
|
527
|
+
|
528
|
+
def __init__(self):
|
529
|
+
r"""
|
530
|
+
:param _Status: 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
531
|
+
:type Status: str
|
532
|
+
:param _ErrorCode: 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
533
|
+
:type ErrorCode: str
|
534
|
+
:param _ErrorMessage: 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
535
|
+
:type ErrorMessage: str
|
536
|
+
:param _ResultVideoUrl: 结果视频 URL。有效期 24 小时。
|
537
|
+
:type ResultVideoUrl: str
|
538
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
539
|
+
:type RequestId: str
|
540
|
+
"""
|
541
|
+
self._Status = None
|
542
|
+
self._ErrorCode = None
|
543
|
+
self._ErrorMessage = None
|
544
|
+
self._ResultVideoUrl = None
|
545
|
+
self._RequestId = None
|
546
|
+
|
547
|
+
@property
|
548
|
+
def Status(self):
|
549
|
+
"""任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
550
|
+
:rtype: str
|
551
|
+
"""
|
552
|
+
return self._Status
|
553
|
+
|
554
|
+
@Status.setter
|
555
|
+
def Status(self, Status):
|
556
|
+
self._Status = Status
|
557
|
+
|
558
|
+
@property
|
559
|
+
def ErrorCode(self):
|
560
|
+
"""任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
561
|
+
:rtype: str
|
562
|
+
"""
|
563
|
+
return self._ErrorCode
|
564
|
+
|
565
|
+
@ErrorCode.setter
|
566
|
+
def ErrorCode(self, ErrorCode):
|
567
|
+
self._ErrorCode = ErrorCode
|
568
|
+
|
569
|
+
@property
|
570
|
+
def ErrorMessage(self):
|
571
|
+
"""任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
572
|
+
:rtype: str
|
573
|
+
"""
|
574
|
+
return self._ErrorMessage
|
575
|
+
|
576
|
+
@ErrorMessage.setter
|
577
|
+
def ErrorMessage(self, ErrorMessage):
|
578
|
+
self._ErrorMessage = ErrorMessage
|
579
|
+
|
580
|
+
@property
|
581
|
+
def ResultVideoUrl(self):
|
582
|
+
"""结果视频 URL。有效期 24 小时。
|
583
|
+
:rtype: str
|
584
|
+
"""
|
585
|
+
return self._ResultVideoUrl
|
586
|
+
|
587
|
+
@ResultVideoUrl.setter
|
588
|
+
def ResultVideoUrl(self, ResultVideoUrl):
|
589
|
+
self._ResultVideoUrl = ResultVideoUrl
|
590
|
+
|
591
|
+
@property
|
592
|
+
def RequestId(self):
|
593
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
594
|
+
:rtype: str
|
595
|
+
"""
|
596
|
+
return self._RequestId
|
597
|
+
|
598
|
+
@RequestId.setter
|
599
|
+
def RequestId(self, RequestId):
|
600
|
+
self._RequestId = RequestId
|
601
|
+
|
602
|
+
|
603
|
+
def _deserialize(self, params):
|
604
|
+
self._Status = params.get("Status")
|
605
|
+
self._ErrorCode = params.get("ErrorCode")
|
606
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
607
|
+
self._ResultVideoUrl = params.get("ResultVideoUrl")
|
608
|
+
self._RequestId = params.get("RequestId")
|
609
|
+
|
610
|
+
|
487
611
|
class DescribeVideoStylizationJobRequest(AbstractModel):
|
488
612
|
"""DescribeVideoStylizationJob请求参数结构体
|
489
613
|
|
@@ -628,6 +752,57 @@ JobSuccess: "处理完成"。
|
|
628
752
|
self._RequestId = params.get("RequestId")
|
629
753
|
|
630
754
|
|
755
|
+
class Image(AbstractModel):
|
756
|
+
"""图片
|
757
|
+
|
758
|
+
"""
|
759
|
+
|
760
|
+
def __init__(self):
|
761
|
+
r"""
|
762
|
+
:param _Base64: 图片Base64
|
763
|
+
:type Base64: str
|
764
|
+
:param _Url: 图片Url
|
765
|
+
:type Url: str
|
766
|
+
"""
|
767
|
+
self._Base64 = None
|
768
|
+
self._Url = None
|
769
|
+
|
770
|
+
@property
|
771
|
+
def Base64(self):
|
772
|
+
"""图片Base64
|
773
|
+
:rtype: str
|
774
|
+
"""
|
775
|
+
return self._Base64
|
776
|
+
|
777
|
+
@Base64.setter
|
778
|
+
def Base64(self, Base64):
|
779
|
+
self._Base64 = Base64
|
780
|
+
|
781
|
+
@property
|
782
|
+
def Url(self):
|
783
|
+
"""图片Url
|
784
|
+
:rtype: str
|
785
|
+
"""
|
786
|
+
return self._Url
|
787
|
+
|
788
|
+
@Url.setter
|
789
|
+
def Url(self, Url):
|
790
|
+
self._Url = Url
|
791
|
+
|
792
|
+
|
793
|
+
def _deserialize(self, params):
|
794
|
+
self._Base64 = params.get("Base64")
|
795
|
+
self._Url = params.get("Url")
|
796
|
+
memeber_set = set(params.keys())
|
797
|
+
for name, value in vars(self).items():
|
798
|
+
property_name = name[1:]
|
799
|
+
if property_name in memeber_set:
|
800
|
+
memeber_set.remove(property_name)
|
801
|
+
if len(memeber_set) > 0:
|
802
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
803
|
+
|
804
|
+
|
805
|
+
|
631
806
|
class LogoParam(AbstractModel):
|
632
807
|
"""logo参数
|
633
808
|
|
@@ -1227,6 +1402,181 @@ class SubmitPortraitSingJobResponse(AbstractModel):
|
|
1227
1402
|
self._RequestId = params.get("RequestId")
|
1228
1403
|
|
1229
1404
|
|
1405
|
+
class SubmitTemplateToVideoJobRequest(AbstractModel):
|
1406
|
+
"""SubmitTemplateToVideoJob请求参数结构体
|
1407
|
+
|
1408
|
+
"""
|
1409
|
+
|
1410
|
+
def __init__(self):
|
1411
|
+
r"""
|
1412
|
+
:param _Template: 特效模板名称。
|
1413
|
+
枚举值:
|
1414
|
+
hug :拥抱
|
1415
|
+
kiss :亲吻
|
1416
|
+
heart : 比心
|
1417
|
+
fuzzy : 毛茸茸
|
1418
|
+
befigure:变手办风
|
1419
|
+
longhair:金色长发
|
1420
|
+
morphlab:膨胀
|
1421
|
+
bloom:万物生花
|
1422
|
+
pinch:捏捏
|
1423
|
+
balloonfly:飞走了
|
1424
|
+
dragme:被拽走了
|
1425
|
+
|
1426
|
+
:type Template: str
|
1427
|
+
:param _Images: 参考图像,最多输入2张图。
|
1428
|
+
- 支持传入图片Base64编码或图片URL(确保可访问)
|
1429
|
+
- 图片格式:支持png、jpg、jpeg、webp、bmp、tiff
|
1430
|
+
- 图片文件:大小不能超过10MB(base64后),图片分辨率不小于300\*300px,不大于4096\*4096,图片宽高比应在1:4 ~ 4:1之间
|
1431
|
+
|
1432
|
+
:type Images: list of Image
|
1433
|
+
:param _LogoAdd: 为生成视频添加标识的开关,默认为1。
|
1434
|
+
1:添加标识。
|
1435
|
+
0:不添加标识。
|
1436
|
+
其他数值:默认按1处理。
|
1437
|
+
建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
1438
|
+
:type LogoAdd: int
|
1439
|
+
:param _LogoParam: 标识内容设置。
|
1440
|
+
默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
1441
|
+
:type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
1442
|
+
"""
|
1443
|
+
self._Template = None
|
1444
|
+
self._Images = None
|
1445
|
+
self._LogoAdd = None
|
1446
|
+
self._LogoParam = None
|
1447
|
+
|
1448
|
+
@property
|
1449
|
+
def Template(self):
|
1450
|
+
"""特效模板名称。
|
1451
|
+
枚举值:
|
1452
|
+
hug :拥抱
|
1453
|
+
kiss :亲吻
|
1454
|
+
heart : 比心
|
1455
|
+
fuzzy : 毛茸茸
|
1456
|
+
befigure:变手办风
|
1457
|
+
longhair:金色长发
|
1458
|
+
morphlab:膨胀
|
1459
|
+
bloom:万物生花
|
1460
|
+
pinch:捏捏
|
1461
|
+
balloonfly:飞走了
|
1462
|
+
dragme:被拽走了
|
1463
|
+
|
1464
|
+
:rtype: str
|
1465
|
+
"""
|
1466
|
+
return self._Template
|
1467
|
+
|
1468
|
+
@Template.setter
|
1469
|
+
def Template(self, Template):
|
1470
|
+
self._Template = Template
|
1471
|
+
|
1472
|
+
@property
|
1473
|
+
def Images(self):
|
1474
|
+
"""参考图像,最多输入2张图。
|
1475
|
+
- 支持传入图片Base64编码或图片URL(确保可访问)
|
1476
|
+
- 图片格式:支持png、jpg、jpeg、webp、bmp、tiff
|
1477
|
+
- 图片文件:大小不能超过10MB(base64后),图片分辨率不小于300\*300px,不大于4096\*4096,图片宽高比应在1:4 ~ 4:1之间
|
1478
|
+
|
1479
|
+
:rtype: list of Image
|
1480
|
+
"""
|
1481
|
+
return self._Images
|
1482
|
+
|
1483
|
+
@Images.setter
|
1484
|
+
def Images(self, Images):
|
1485
|
+
self._Images = Images
|
1486
|
+
|
1487
|
+
@property
|
1488
|
+
def LogoAdd(self):
|
1489
|
+
"""为生成视频添加标识的开关,默认为1。
|
1490
|
+
1:添加标识。
|
1491
|
+
0:不添加标识。
|
1492
|
+
其他数值:默认按1处理。
|
1493
|
+
建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
1494
|
+
:rtype: int
|
1495
|
+
"""
|
1496
|
+
return self._LogoAdd
|
1497
|
+
|
1498
|
+
@LogoAdd.setter
|
1499
|
+
def LogoAdd(self, LogoAdd):
|
1500
|
+
self._LogoAdd = LogoAdd
|
1501
|
+
|
1502
|
+
@property
|
1503
|
+
def LogoParam(self):
|
1504
|
+
"""标识内容设置。
|
1505
|
+
默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
1506
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
1507
|
+
"""
|
1508
|
+
return self._LogoParam
|
1509
|
+
|
1510
|
+
@LogoParam.setter
|
1511
|
+
def LogoParam(self, LogoParam):
|
1512
|
+
self._LogoParam = LogoParam
|
1513
|
+
|
1514
|
+
|
1515
|
+
def _deserialize(self, params):
|
1516
|
+
self._Template = params.get("Template")
|
1517
|
+
if params.get("Images") is not None:
|
1518
|
+
self._Images = []
|
1519
|
+
for item in params.get("Images"):
|
1520
|
+
obj = Image()
|
1521
|
+
obj._deserialize(item)
|
1522
|
+
self._Images.append(obj)
|
1523
|
+
self._LogoAdd = params.get("LogoAdd")
|
1524
|
+
if params.get("LogoParam") is not None:
|
1525
|
+
self._LogoParam = LogoParam()
|
1526
|
+
self._LogoParam._deserialize(params.get("LogoParam"))
|
1527
|
+
memeber_set = set(params.keys())
|
1528
|
+
for name, value in vars(self).items():
|
1529
|
+
property_name = name[1:]
|
1530
|
+
if property_name in memeber_set:
|
1531
|
+
memeber_set.remove(property_name)
|
1532
|
+
if len(memeber_set) > 0:
|
1533
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1534
|
+
|
1535
|
+
|
1536
|
+
|
1537
|
+
class SubmitTemplateToVideoJobResponse(AbstractModel):
|
1538
|
+
"""SubmitTemplateToVideoJob返回参数结构体
|
1539
|
+
|
1540
|
+
"""
|
1541
|
+
|
1542
|
+
def __init__(self):
|
1543
|
+
r"""
|
1544
|
+
:param _JobId: 任务ID。
|
1545
|
+
:type JobId: str
|
1546
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1547
|
+
:type RequestId: str
|
1548
|
+
"""
|
1549
|
+
self._JobId = None
|
1550
|
+
self._RequestId = None
|
1551
|
+
|
1552
|
+
@property
|
1553
|
+
def JobId(self):
|
1554
|
+
"""任务ID。
|
1555
|
+
:rtype: str
|
1556
|
+
"""
|
1557
|
+
return self._JobId
|
1558
|
+
|
1559
|
+
@JobId.setter
|
1560
|
+
def JobId(self, JobId):
|
1561
|
+
self._JobId = JobId
|
1562
|
+
|
1563
|
+
@property
|
1564
|
+
def RequestId(self):
|
1565
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1566
|
+
:rtype: str
|
1567
|
+
"""
|
1568
|
+
return self._RequestId
|
1569
|
+
|
1570
|
+
@RequestId.setter
|
1571
|
+
def RequestId(self, RequestId):
|
1572
|
+
self._RequestId = RequestId
|
1573
|
+
|
1574
|
+
|
1575
|
+
def _deserialize(self, params):
|
1576
|
+
self._JobId = params.get("JobId")
|
1577
|
+
self._RequestId = params.get("RequestId")
|
1578
|
+
|
1579
|
+
|
1230
1580
|
class SubmitVideoStylizationJobRequest(AbstractModel):
|
1231
1581
|
"""SubmitVideoStylizationJob请求参数结构体
|
1232
1582
|
|
@@ -96,6 +96,29 @@ class VclmClient(AbstractClient):
|
|
96
96
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
97
97
|
|
98
98
|
|
99
|
+
def DescribeTemplateToVideoJob(self, request):
|
100
|
+
"""用于查询视频特效任务。
|
101
|
+
|
102
|
+
:param request: Request instance for DescribeTemplateToVideoJob.
|
103
|
+
:type request: :class:`tencentcloud.vclm.v20240523.models.DescribeTemplateToVideoJobRequest`
|
104
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeTemplateToVideoJobResponse`
|
105
|
+
|
106
|
+
"""
|
107
|
+
try:
|
108
|
+
params = request._serialize()
|
109
|
+
headers = request.headers
|
110
|
+
body = self.call("DescribeTemplateToVideoJob", params, headers=headers)
|
111
|
+
response = json.loads(body)
|
112
|
+
model = models.DescribeTemplateToVideoJobResponse()
|
113
|
+
model._deserialize(response["Response"])
|
114
|
+
return model
|
115
|
+
except Exception as e:
|
116
|
+
if isinstance(e, TencentCloudSDKException):
|
117
|
+
raise
|
118
|
+
else:
|
119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
120
|
+
|
121
|
+
|
99
122
|
def DescribeVideoStylizationJob(self, request):
|
100
123
|
"""用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。
|
101
124
|
|
@@ -166,6 +189,29 @@ class VclmClient(AbstractClient):
|
|
166
189
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
167
190
|
|
168
191
|
|
192
|
+
def SubmitTemplateToVideoJob(self, request):
|
193
|
+
"""提交视频特效任务接口
|
194
|
+
|
195
|
+
:param request: Request instance for SubmitTemplateToVideoJob.
|
196
|
+
:type request: :class:`tencentcloud.vclm.v20240523.models.SubmitTemplateToVideoJobRequest`
|
197
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitTemplateToVideoJobResponse`
|
198
|
+
|
199
|
+
"""
|
200
|
+
try:
|
201
|
+
params = request._serialize()
|
202
|
+
headers = request.headers
|
203
|
+
body = self.call("SubmitTemplateToVideoJob", params, headers=headers)
|
204
|
+
response = json.loads(body)
|
205
|
+
model = models.SubmitTemplateToVideoJobResponse()
|
206
|
+
model._deserialize(response["Response"])
|
207
|
+
return model
|
208
|
+
except Exception as e:
|
209
|
+
if isinstance(e, TencentCloudSDKException):
|
210
|
+
raise
|
211
|
+
else:
|
212
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
213
|
+
|
214
|
+
|
169
215
|
def SubmitVideoStylizationJob(self, request):
|
170
216
|
"""用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。
|
171
217
|
|
@@ -11265,6 +11265,8 @@ class AsrFullTextConfigureInfo(AbstractModel):
|
|
11265
11265
|
|
11266
11266
|
@property
|
11267
11267
|
def SubtitleFormat(self):
|
11268
|
+
warnings.warn("parameter `SubtitleFormat` is deprecated", DeprecationWarning)
|
11269
|
+
|
11268
11270
|
"""生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
|
11269
11271
|
<li>vtt:生成 WebVTT 字幕文件;</li>
|
11270
11272
|
<li>srt:生成 SRT 字幕文件。</li>
|
@@ -11275,6 +11277,8 @@ class AsrFullTextConfigureInfo(AbstractModel):
|
|
11275
11277
|
|
11276
11278
|
@SubtitleFormat.setter
|
11277
11279
|
def SubtitleFormat(self, SubtitleFormat):
|
11280
|
+
warnings.warn("parameter `SubtitleFormat` is deprecated", DeprecationWarning)
|
11281
|
+
|
11278
11282
|
self._SubtitleFormat = SubtitleFormat
|
11279
11283
|
|
11280
11284
|
@property
|
@@ -11381,6 +11385,8 @@ class AsrFullTextConfigureInfoForUpdate(AbstractModel):
|
|
11381
11385
|
|
11382
11386
|
@property
|
11383
11387
|
def SubtitleFormat(self):
|
11388
|
+
warnings.warn("parameter `SubtitleFormat` is deprecated", DeprecationWarning)
|
11389
|
+
|
11384
11390
|
"""生成的字幕文件格式,<font color='red'>填空字符串</font>表示不生成字幕文件,可选值:
|
11385
11391
|
<li>vtt:生成 WebVTT 字幕文件;</li>
|
11386
11392
|
<li>srt:生成 SRT 字幕文件。</li>
|
@@ -11391,6 +11397,8 @@ class AsrFullTextConfigureInfoForUpdate(AbstractModel):
|
|
11391
11397
|
|
11392
11398
|
@SubtitleFormat.setter
|
11393
11399
|
def SubtitleFormat(self, SubtitleFormat):
|
11400
|
+
warnings.warn("parameter `SubtitleFormat` is deprecated", DeprecationWarning)
|
11401
|
+
|
11394
11402
|
self._SubtitleFormat = SubtitleFormat
|
11395
11403
|
|
11396
11404
|
@property
|
@@ -30183,6 +30191,8 @@ class DescribeRoundPlaysRequest(AbstractModel):
|
|
30183
30191
|
|
30184
30192
|
@property
|
30185
30193
|
def Offset(self):
|
30194
|
+
warnings.warn("parameter `Offset` is deprecated", DeprecationWarning)
|
30195
|
+
|
30186
30196
|
"""分页偏移量,默认值:0。已经废弃,请根据 ScrollToken 参数进行分批次查询。
|
30187
30197
|
:rtype: int
|
30188
30198
|
"""
|
@@ -30190,6 +30200,8 @@ class DescribeRoundPlaysRequest(AbstractModel):
|
|
30190
30200
|
|
30191
30201
|
@Offset.setter
|
30192
30202
|
def Offset(self, Offset):
|
30203
|
+
warnings.warn("parameter `Offset` is deprecated", DeprecationWarning)
|
30204
|
+
|
30193
30205
|
self._Offset = Offset
|
30194
30206
|
|
30195
30207
|
@property
|
@@ -30250,6 +30262,8 @@ class DescribeRoundPlaysResponse(AbstractModel):
|
|
30250
30262
|
|
30251
30263
|
@property
|
30252
30264
|
def TotalCount(self):
|
30265
|
+
warnings.warn("parameter `TotalCount` is deprecated", DeprecationWarning)
|
30266
|
+
|
30253
30267
|
"""符合过滤条件的轮播播单总数。已经废弃,分批次查询请请使用 ScrollToken 参数。
|
30254
30268
|
:rtype: int
|
30255
30269
|
"""
|
@@ -30257,6 +30271,8 @@ class DescribeRoundPlaysResponse(AbstractModel):
|
|
30257
30271
|
|
30258
30272
|
@TotalCount.setter
|
30259
30273
|
def TotalCount(self, TotalCount):
|
30274
|
+
warnings.warn("parameter `TotalCount` is deprecated", DeprecationWarning)
|
30275
|
+
|
30260
30276
|
self._TotalCount = TotalCount
|
30261
30277
|
|
30262
30278
|
@property
|
@@ -36646,6 +36662,8 @@ class ExtractTraceWatermarkTaskOutput(AbstractModel):
|
|
36646
36662
|
|
36647
36663
|
@property
|
36648
36664
|
def Uid(self):
|
36665
|
+
warnings.warn("parameter `Uid` is deprecated", DeprecationWarning)
|
36666
|
+
|
36649
36667
|
"""该字段已废弃。
|
36650
36668
|
:rtype: str
|
36651
36669
|
"""
|
@@ -36653,6 +36671,8 @@ class ExtractTraceWatermarkTaskOutput(AbstractModel):
|
|
36653
36671
|
|
36654
36672
|
@Uid.setter
|
36655
36673
|
def Uid(self, Uid):
|
36674
|
+
warnings.warn("parameter `Uid` is deprecated", DeprecationWarning)
|
36675
|
+
|
36656
36676
|
self._Uid = Uid
|
36657
36677
|
|
36658
36678
|
|
@@ -42468,6 +42488,8 @@ military:
|
|
42468
42488
|
|
42469
42489
|
@property
|
42470
42490
|
def PicUrlExpireTimeStamp(self):
|
42491
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
42492
|
+
|
42471
42493
|
"""该字段已废弃,请使用 PicUrlExpireTime。
|
42472
42494
|
:rtype: int
|
42473
42495
|
"""
|
@@ -42475,6 +42497,8 @@ military:
|
|
42475
42497
|
|
42476
42498
|
@PicUrlExpireTimeStamp.setter
|
42477
42499
|
def PicUrlExpireTimeStamp(self, PicUrlExpireTimeStamp):
|
42500
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
42501
|
+
|
42478
42502
|
self._PicUrlExpireTimeStamp = PicUrlExpireTimeStamp
|
42479
42503
|
|
42480
42504
|
@property
|
@@ -42619,6 +42643,8 @@ class MediaContentReviewSegmentItem(AbstractModel):
|
|
42619
42643
|
|
42620
42644
|
@property
|
42621
42645
|
def PicUrlExpireTimeStamp(self):
|
42646
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
42647
|
+
|
42622
42648
|
"""该字段已废弃,请使用 PicUrlExpireTime。
|
42623
42649
|
:rtype: int
|
42624
42650
|
"""
|
@@ -42626,6 +42652,8 @@ class MediaContentReviewSegmentItem(AbstractModel):
|
|
42626
42652
|
|
42627
42653
|
@PicUrlExpireTimeStamp.setter
|
42628
42654
|
def PicUrlExpireTimeStamp(self, PicUrlExpireTimeStamp):
|
42655
|
+
warnings.warn("parameter `PicUrlExpireTimeStamp` is deprecated", DeprecationWarning)
|
42656
|
+
|
42629
42657
|
self._PicUrlExpireTimeStamp = PicUrlExpireTimeStamp
|
42630
42658
|
|
42631
42659
|
@property
|
@@ -63544,6 +63572,8 @@ class RestoreMediaTask(AbstractModel):
|
|
63544
63572
|
|
63545
63573
|
@property
|
63546
63574
|
def Status(self):
|
63575
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
63576
|
+
|
63547
63577
|
"""该字段已废弃。
|
63548
63578
|
:rtype: int
|
63549
63579
|
"""
|
@@ -63551,10 +63581,14 @@ class RestoreMediaTask(AbstractModel):
|
|
63551
63581
|
|
63552
63582
|
@Status.setter
|
63553
63583
|
def Status(self, Status):
|
63584
|
+
warnings.warn("parameter `Status` is deprecated", DeprecationWarning)
|
63585
|
+
|
63554
63586
|
self._Status = Status
|
63555
63587
|
|
63556
63588
|
@property
|
63557
63589
|
def Message(self):
|
63590
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
63591
|
+
|
63558
63592
|
"""该字段已废弃。
|
63559
63593
|
:rtype: str
|
63560
63594
|
"""
|
@@ -63562,6 +63596,8 @@ class RestoreMediaTask(AbstractModel):
|
|
63562
63596
|
|
63563
63597
|
@Message.setter
|
63564
63598
|
def Message(self, Message):
|
63599
|
+
warnings.warn("parameter `Message` is deprecated", DeprecationWarning)
|
63600
|
+
|
63565
63601
|
self._Message = Message
|
63566
63602
|
|
63567
63603
|
|
@@ -64478,6 +64514,8 @@ class ReviewImageResponse(AbstractModel):
|
|
64478
64514
|
|
64479
64515
|
@property
|
64480
64516
|
def ReviewResultSet(self):
|
64517
|
+
warnings.warn("parameter `ReviewResultSet` is deprecated", DeprecationWarning)
|
64518
|
+
|
64481
64519
|
"""图片审核任务结果。
|
64482
64520
|
<font color=red>注意:该字段已废弃,建议使用 MediaReviewResult。</font>
|
64483
64521
|
:rtype: list of ContentReviewResult
|
@@ -64486,6 +64524,8 @@ class ReviewImageResponse(AbstractModel):
|
|
64486
64524
|
|
64487
64525
|
@ReviewResultSet.setter
|
64488
64526
|
def ReviewResultSet(self, ReviewResultSet):
|
64527
|
+
warnings.warn("parameter `ReviewResultSet` is deprecated", DeprecationWarning)
|
64528
|
+
|
64489
64529
|
self._ReviewResultSet = ReviewResultSet
|
64490
64530
|
|
64491
64531
|
@property
|
@@ -71222,6 +71262,8 @@ class TraceWatermarkInput(AbstractModel):
|
|
71222
71262
|
|
71223
71263
|
@property
|
71224
71264
|
def Definition(self):
|
71265
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
71266
|
+
|
71225
71267
|
"""该字段已废弃,请勿使用。
|
71226
71268
|
:rtype: int
|
71227
71269
|
"""
|
@@ -71229,6 +71271,8 @@ class TraceWatermarkInput(AbstractModel):
|
|
71229
71271
|
|
71230
71272
|
@Definition.setter
|
71231
71273
|
def Definition(self, Definition):
|
71274
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
71275
|
+
|
71232
71276
|
self._Definition = Definition
|
71233
71277
|
|
71234
71278
|
|