tencentcloud-sdk-python-vclm 3.0.1257__tar.gz → 3.0.1258__tar.gz
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-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/setup.py +1 -1
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/vclm/v20240523/models.py +166 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud_sdk_python_vclm.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vclm-3.0.1258/tencentcloud_sdk_python_vclm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vclm-3.0.1257/tencentcloud_sdk_python_vclm.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/README.rst +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/vclm/__init__.py +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/vclm/v20240523/__init__.py +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/vclm/v20240523/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud/vclm/v20240523/vclm_client.py +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud_sdk_python_vclm.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vclm-3.0.1257 → tencentcloud-sdk-python-vclm-3.0.1258}/tencentcloud_sdk_python_vclm.egg-info/top_level.txt +0 -0
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
8
8
|
|
9
9
|
setup(
|
10
10
|
name='tencentcloud-sdk-python-vclm',
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1258"],
|
12
12
|
version=tencentcloud.__version__,
|
13
13
|
description='Tencent Cloud Vclm SDK for Python',
|
14
14
|
long_description=open('README.rst').read(),
|
@@ -801,6 +801,141 @@ class DescribeVideoTranslateJobResponse(AbstractModel):
|
|
801
801
|
self._RequestId = params.get("RequestId")
|
802
802
|
|
803
803
|
|
804
|
+
class LogoParam(AbstractModel):
|
805
|
+
"""logo参数
|
806
|
+
|
807
|
+
"""
|
808
|
+
|
809
|
+
def __init__(self):
|
810
|
+
r"""
|
811
|
+
:param _LogoUrl: 水印 Url
|
812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
813
|
+
:type LogoUrl: str
|
814
|
+
:param _LogoImage: 水印 Base64,Url 和 Base64 二选一传入,如果都提供以 Url 为准
|
815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
816
|
+
:type LogoImage: str
|
817
|
+
:param _LogoRect: 水印图片位于生成结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
|
818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
819
|
+
:type LogoRect: :class:`tencentcloud.vclm.v20240523.models.LogoRect`
|
820
|
+
"""
|
821
|
+
self._LogoUrl = None
|
822
|
+
self._LogoImage = None
|
823
|
+
self._LogoRect = None
|
824
|
+
|
825
|
+
@property
|
826
|
+
def LogoUrl(self):
|
827
|
+
return self._LogoUrl
|
828
|
+
|
829
|
+
@LogoUrl.setter
|
830
|
+
def LogoUrl(self, LogoUrl):
|
831
|
+
self._LogoUrl = LogoUrl
|
832
|
+
|
833
|
+
@property
|
834
|
+
def LogoImage(self):
|
835
|
+
return self._LogoImage
|
836
|
+
|
837
|
+
@LogoImage.setter
|
838
|
+
def LogoImage(self, LogoImage):
|
839
|
+
self._LogoImage = LogoImage
|
840
|
+
|
841
|
+
@property
|
842
|
+
def LogoRect(self):
|
843
|
+
return self._LogoRect
|
844
|
+
|
845
|
+
@LogoRect.setter
|
846
|
+
def LogoRect(self, LogoRect):
|
847
|
+
self._LogoRect = LogoRect
|
848
|
+
|
849
|
+
|
850
|
+
def _deserialize(self, params):
|
851
|
+
self._LogoUrl = params.get("LogoUrl")
|
852
|
+
self._LogoImage = params.get("LogoImage")
|
853
|
+
if params.get("LogoRect") is not None:
|
854
|
+
self._LogoRect = LogoRect()
|
855
|
+
self._LogoRect._deserialize(params.get("LogoRect"))
|
856
|
+
memeber_set = set(params.keys())
|
857
|
+
for name, value in vars(self).items():
|
858
|
+
property_name = name[1:]
|
859
|
+
if property_name in memeber_set:
|
860
|
+
memeber_set.remove(property_name)
|
861
|
+
if len(memeber_set) > 0:
|
862
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
863
|
+
|
864
|
+
|
865
|
+
|
866
|
+
class LogoRect(AbstractModel):
|
867
|
+
"""输入框
|
868
|
+
|
869
|
+
"""
|
870
|
+
|
871
|
+
def __init__(self):
|
872
|
+
r"""
|
873
|
+
:param _X: 左上角X坐标
|
874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
875
|
+
:type X: int
|
876
|
+
:param _Y: 左上角Y坐标
|
877
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
878
|
+
:type Y: int
|
879
|
+
:param _Width: 方框宽度
|
880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
881
|
+
:type Width: int
|
882
|
+
:param _Height: 方框高度
|
883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
884
|
+
:type Height: int
|
885
|
+
"""
|
886
|
+
self._X = None
|
887
|
+
self._Y = None
|
888
|
+
self._Width = None
|
889
|
+
self._Height = None
|
890
|
+
|
891
|
+
@property
|
892
|
+
def X(self):
|
893
|
+
return self._X
|
894
|
+
|
895
|
+
@X.setter
|
896
|
+
def X(self, X):
|
897
|
+
self._X = X
|
898
|
+
|
899
|
+
@property
|
900
|
+
def Y(self):
|
901
|
+
return self._Y
|
902
|
+
|
903
|
+
@Y.setter
|
904
|
+
def Y(self, Y):
|
905
|
+
self._Y = Y
|
906
|
+
|
907
|
+
@property
|
908
|
+
def Width(self):
|
909
|
+
return self._Width
|
910
|
+
|
911
|
+
@Width.setter
|
912
|
+
def Width(self, Width):
|
913
|
+
self._Width = Width
|
914
|
+
|
915
|
+
@property
|
916
|
+
def Height(self):
|
917
|
+
return self._Height
|
918
|
+
|
919
|
+
@Height.setter
|
920
|
+
def Height(self, Height):
|
921
|
+
self._Height = Height
|
922
|
+
|
923
|
+
|
924
|
+
def _deserialize(self, params):
|
925
|
+
self._X = params.get("X")
|
926
|
+
self._Y = params.get("Y")
|
927
|
+
self._Width = params.get("Width")
|
928
|
+
self._Height = params.get("Height")
|
929
|
+
memeber_set = set(params.keys())
|
930
|
+
for name, value in vars(self).items():
|
931
|
+
property_name = name[1:]
|
932
|
+
if property_name in memeber_set:
|
933
|
+
memeber_set.remove(property_name)
|
934
|
+
if len(memeber_set) > 0:
|
935
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
936
|
+
|
937
|
+
|
938
|
+
|
804
939
|
class SubmitImageAnimateJobRequest(AbstractModel):
|
805
940
|
"""SubmitImageAnimateJob请求参数结构体
|
806
941
|
|
@@ -825,6 +960,15 @@ class SubmitImageAnimateJobRequest(AbstractModel):
|
|
825
960
|
:param _EnableSegment: 最终视频是否保留原图的背景(该模式对于tuziwu、huajiangwu不生效)
|
826
961
|
|
827
962
|
:type EnableSegment: bool
|
963
|
+
:param _LogoAdd: 为生成视频添加标识的开关,默认为0。
|
964
|
+
1:添加标识。
|
965
|
+
0:不添加标识。
|
966
|
+
其他数值:默认按1处理。
|
967
|
+
建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
968
|
+
:type LogoAdd: int
|
969
|
+
:param _LogoParam: 标识内容设置。
|
970
|
+
默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
971
|
+
:type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
828
972
|
"""
|
829
973
|
self._ImageUrl = None
|
830
974
|
self._ImageBase64 = None
|
@@ -832,6 +976,8 @@ class SubmitImageAnimateJobRequest(AbstractModel):
|
|
832
976
|
self._EnableAudio = None
|
833
977
|
self._EnableBodyJoins = None
|
834
978
|
self._EnableSegment = None
|
979
|
+
self._LogoAdd = None
|
980
|
+
self._LogoParam = None
|
835
981
|
|
836
982
|
@property
|
837
983
|
def ImageUrl(self):
|
@@ -881,6 +1027,22 @@ class SubmitImageAnimateJobRequest(AbstractModel):
|
|
881
1027
|
def EnableSegment(self, EnableSegment):
|
882
1028
|
self._EnableSegment = EnableSegment
|
883
1029
|
|
1030
|
+
@property
|
1031
|
+
def LogoAdd(self):
|
1032
|
+
return self._LogoAdd
|
1033
|
+
|
1034
|
+
@LogoAdd.setter
|
1035
|
+
def LogoAdd(self, LogoAdd):
|
1036
|
+
self._LogoAdd = LogoAdd
|
1037
|
+
|
1038
|
+
@property
|
1039
|
+
def LogoParam(self):
|
1040
|
+
return self._LogoParam
|
1041
|
+
|
1042
|
+
@LogoParam.setter
|
1043
|
+
def LogoParam(self, LogoParam):
|
1044
|
+
self._LogoParam = LogoParam
|
1045
|
+
|
884
1046
|
|
885
1047
|
def _deserialize(self, params):
|
886
1048
|
self._ImageUrl = params.get("ImageUrl")
|
@@ -889,6 +1051,10 @@ class SubmitImageAnimateJobRequest(AbstractModel):
|
|
889
1051
|
self._EnableAudio = params.get("EnableAudio")
|
890
1052
|
self._EnableBodyJoins = params.get("EnableBodyJoins")
|
891
1053
|
self._EnableSegment = params.get("EnableSegment")
|
1054
|
+
self._LogoAdd = params.get("LogoAdd")
|
1055
|
+
if params.get("LogoParam") is not None:
|
1056
|
+
self._LogoParam = LogoParam()
|
1057
|
+
self._LogoParam._deserialize(params.get("LogoParam"))
|
892
1058
|
memeber_set = set(params.keys())
|
893
1059
|
for name, value in vars(self).items():
|
894
1060
|
property_name = name[1:]
|
@@ -0,0 +1 @@
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1258
|
@@ -1 +0,0 @@
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1257
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|