tencentcloud-sdk-python-intl-en 3.0.1075__py2.py3-none-any.whl → 3.0.1077__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +16 -10
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +2472 -7
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4263 -0
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/models.py +1523 -0
- tencentcloud/facefusion/v20220927/models.py +211 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8135 -0
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2780 -0
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +675 -11
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +13490 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +6622 -1
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/top_level.txt +0 -0
|
@@ -41,6 +41,9 @@ class FaceRect(AbstractModel):
|
|
|
41
41
|
|
|
42
42
|
@property
|
|
43
43
|
def X(self):
|
|
44
|
+
"""Top-left X-axis coordinate of the face box
|
|
45
|
+
:rtype: int
|
|
46
|
+
"""
|
|
44
47
|
return self._X
|
|
45
48
|
|
|
46
49
|
@X.setter
|
|
@@ -49,6 +52,9 @@ class FaceRect(AbstractModel):
|
|
|
49
52
|
|
|
50
53
|
@property
|
|
51
54
|
def Y(self):
|
|
55
|
+
"""Top-left Y-axis coordinate of the face box
|
|
56
|
+
:rtype: int
|
|
57
|
+
"""
|
|
52
58
|
return self._Y
|
|
53
59
|
|
|
54
60
|
@Y.setter
|
|
@@ -57,6 +63,9 @@ class FaceRect(AbstractModel):
|
|
|
57
63
|
|
|
58
64
|
@property
|
|
59
65
|
def Width(self):
|
|
66
|
+
"""Face box width
|
|
67
|
+
:rtype: int
|
|
68
|
+
"""
|
|
60
69
|
return self._Width
|
|
61
70
|
|
|
62
71
|
@Width.setter
|
|
@@ -65,6 +74,9 @@ class FaceRect(AbstractModel):
|
|
|
65
74
|
|
|
66
75
|
@property
|
|
67
76
|
def Height(self):
|
|
77
|
+
"""Face box height
|
|
78
|
+
:rtype: int
|
|
79
|
+
"""
|
|
68
80
|
return self._Height
|
|
69
81
|
|
|
70
82
|
@Height.setter
|
|
@@ -124,6 +136,9 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
124
136
|
|
|
125
137
|
@property
|
|
126
138
|
def ProjectId(self):
|
|
139
|
+
"""Activity ID. Check the ID in the <a href="https://console.cloud.tencent.com/facefusion" target="_blank"> Face Fusion console</a>.
|
|
140
|
+
:rtype: str
|
|
141
|
+
"""
|
|
127
142
|
return self._ProjectId
|
|
128
143
|
|
|
129
144
|
@ProjectId.setter
|
|
@@ -132,6 +147,9 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
132
147
|
|
|
133
148
|
@property
|
|
134
149
|
def ModelId(self):
|
|
150
|
+
"""Material ID. Check the ID in the <a href="https://console.cloud.tencent.com/facefusion" target="_blank"> Face Fusion console</a>.
|
|
151
|
+
:rtype: str
|
|
152
|
+
"""
|
|
135
153
|
return self._ModelId
|
|
136
154
|
|
|
137
155
|
@ModelId.setter
|
|
@@ -140,6 +158,9 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
140
158
|
|
|
141
159
|
@property
|
|
142
160
|
def RspImgType(self):
|
|
161
|
+
"""Image return method (url or base64). You cannot use both methods at the same time. The URL is valid for 7 days.
|
|
162
|
+
:rtype: str
|
|
163
|
+
"""
|
|
143
164
|
return self._RspImgType
|
|
144
165
|
|
|
145
166
|
@RspImgType.setter
|
|
@@ -148,6 +169,9 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
148
169
|
|
|
149
170
|
@property
|
|
150
171
|
def MergeInfos(self):
|
|
172
|
+
"""Face position information on the user face image and material template image. No more than 6 entries.
|
|
173
|
+
:rtype: list of MergeInfo
|
|
174
|
+
"""
|
|
151
175
|
return self._MergeInfos
|
|
152
176
|
|
|
153
177
|
@MergeInfos.setter
|
|
@@ -156,6 +180,13 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
156
180
|
|
|
157
181
|
@property
|
|
158
182
|
def LogoAdd(self):
|
|
183
|
+
"""Switch indicating whether to add a synthesis logo to the fusion result image. Default value: 1.
|
|
184
|
+
1: add logo
|
|
185
|
+
0: do not add logo
|
|
186
|
+
Other values: add logo
|
|
187
|
+
It is recommended to use an obvious logo to indicate that the result image uses face fusion technology and is synthesized by AI.
|
|
188
|
+
:rtype: int
|
|
189
|
+
"""
|
|
159
190
|
return self._LogoAdd
|
|
160
191
|
|
|
161
192
|
@LogoAdd.setter
|
|
@@ -164,6 +195,10 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
164
195
|
|
|
165
196
|
@property
|
|
166
197
|
def LogoParam(self):
|
|
198
|
+
"""Logo content settings
|
|
199
|
+
By default, the text "Synthesized by AI" is added to the bottom right corner of the fusion result image. You can also use other texts.
|
|
200
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.LogoParam`
|
|
201
|
+
"""
|
|
167
202
|
return self._LogoParam
|
|
168
203
|
|
|
169
204
|
@LogoParam.setter
|
|
@@ -172,6 +207,9 @@ By default, the text "Synthesized by AI" is added to the bottom right corner of
|
|
|
172
207
|
|
|
173
208
|
@property
|
|
174
209
|
def FuseParam(self):
|
|
210
|
+
"""Fusion parameter.
|
|
211
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.FuseParam`
|
|
212
|
+
"""
|
|
175
213
|
return self._FuseParam
|
|
176
214
|
|
|
177
215
|
@FuseParam.setter
|
|
@@ -223,6 +261,9 @@ class FuseFaceResponse(AbstractModel):
|
|
|
223
261
|
|
|
224
262
|
@property
|
|
225
263
|
def FusedImage(self):
|
|
264
|
+
"""When RspImgType is set to url, return the URL (valid for 7 days). When RspImgType is set to base64, return the Base64 code.
|
|
265
|
+
:rtype: str
|
|
266
|
+
"""
|
|
226
267
|
return self._FusedImage
|
|
227
268
|
|
|
228
269
|
@FusedImage.setter
|
|
@@ -231,6 +272,9 @@ class FuseFaceResponse(AbstractModel):
|
|
|
231
272
|
|
|
232
273
|
@property
|
|
233
274
|
def RequestId(self):
|
|
275
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
276
|
+
:rtype: str
|
|
277
|
+
"""
|
|
234
278
|
return self._RequestId
|
|
235
279
|
|
|
236
280
|
@RequestId.setter
|
|
@@ -266,6 +310,9 @@ class FuseFaceReviewDetail(AbstractModel):
|
|
|
266
310
|
|
|
267
311
|
@property
|
|
268
312
|
def Field(self):
|
|
313
|
+
"""
|
|
314
|
+
:rtype: str
|
|
315
|
+
"""
|
|
269
316
|
return self._Field
|
|
270
317
|
|
|
271
318
|
@Field.setter
|
|
@@ -274,6 +321,9 @@ class FuseFaceReviewDetail(AbstractModel):
|
|
|
274
321
|
|
|
275
322
|
@property
|
|
276
323
|
def Label(self):
|
|
324
|
+
"""
|
|
325
|
+
:rtype: str
|
|
326
|
+
"""
|
|
277
327
|
return self._Label
|
|
278
328
|
|
|
279
329
|
@Label.setter
|
|
@@ -282,6 +332,9 @@ class FuseFaceReviewDetail(AbstractModel):
|
|
|
282
332
|
|
|
283
333
|
@property
|
|
284
334
|
def Confidence(self):
|
|
335
|
+
"""
|
|
336
|
+
:rtype: float
|
|
337
|
+
"""
|
|
285
338
|
return self._Confidence
|
|
286
339
|
|
|
287
340
|
@Confidence.setter
|
|
@@ -290,6 +343,9 @@ class FuseFaceReviewDetail(AbstractModel):
|
|
|
290
343
|
|
|
291
344
|
@property
|
|
292
345
|
def Suggestion(self):
|
|
346
|
+
"""
|
|
347
|
+
:rtype: str
|
|
348
|
+
"""
|
|
293
349
|
return self._Suggestion
|
|
294
350
|
|
|
295
351
|
@Suggestion.setter
|
|
@@ -341,6 +397,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
341
397
|
|
|
342
398
|
@property
|
|
343
399
|
def Category(self):
|
|
400
|
+
"""
|
|
401
|
+
:rtype: str
|
|
402
|
+
"""
|
|
344
403
|
return self._Category
|
|
345
404
|
|
|
346
405
|
@Category.setter
|
|
@@ -349,6 +408,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
349
408
|
|
|
350
409
|
@property
|
|
351
410
|
def Code(self):
|
|
411
|
+
"""
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
352
414
|
return self._Code
|
|
353
415
|
|
|
354
416
|
@Code.setter
|
|
@@ -357,6 +419,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
357
419
|
|
|
358
420
|
@property
|
|
359
421
|
def CodeDescription(self):
|
|
422
|
+
"""
|
|
423
|
+
:rtype: str
|
|
424
|
+
"""
|
|
360
425
|
return self._CodeDescription
|
|
361
426
|
|
|
362
427
|
@CodeDescription.setter
|
|
@@ -365,6 +430,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
365
430
|
|
|
366
431
|
@property
|
|
367
432
|
def Confidence(self):
|
|
433
|
+
"""
|
|
434
|
+
:rtype: float
|
|
435
|
+
"""
|
|
368
436
|
return self._Confidence
|
|
369
437
|
|
|
370
438
|
@Confidence.setter
|
|
@@ -373,6 +441,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
373
441
|
|
|
374
442
|
@property
|
|
375
443
|
def Suggestion(self):
|
|
444
|
+
"""
|
|
445
|
+
:rtype: str
|
|
446
|
+
"""
|
|
376
447
|
return self._Suggestion
|
|
377
448
|
|
|
378
449
|
@Suggestion.setter
|
|
@@ -381,6 +452,9 @@ class FuseFaceReviewResult(AbstractModel):
|
|
|
381
452
|
|
|
382
453
|
@property
|
|
383
454
|
def DetailSet(self):
|
|
455
|
+
"""
|
|
456
|
+
:rtype: list of FuseFaceReviewDetail
|
|
457
|
+
"""
|
|
384
458
|
return self._DetailSet
|
|
385
459
|
|
|
386
460
|
@DetailSet.setter
|
|
@@ -424,6 +498,9 @@ class FuseParam(AbstractModel):
|
|
|
424
498
|
|
|
425
499
|
@property
|
|
426
500
|
def ImageCodecParam(self):
|
|
501
|
+
"""Image encoding parameter
|
|
502
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.ImageCodecParam`
|
|
503
|
+
"""
|
|
427
504
|
return self._ImageCodecParam
|
|
428
505
|
|
|
429
506
|
@ImageCodecParam.setter
|
|
@@ -459,6 +536,9 @@ class ImageCodecParam(AbstractModel):
|
|
|
459
536
|
|
|
460
537
|
@property
|
|
461
538
|
def MetaData(self):
|
|
539
|
+
"""Metadata. The number of metadata entries cannot exceed 1.
|
|
540
|
+
:rtype: list of MetaData
|
|
541
|
+
"""
|
|
462
542
|
return self._MetaData
|
|
463
543
|
|
|
464
544
|
@MetaData.setter
|
|
@@ -507,6 +587,9 @@ class LogoParam(AbstractModel):
|
|
|
507
587
|
|
|
508
588
|
@property
|
|
509
589
|
def LogoRect(self):
|
|
590
|
+
"""Coordinates of the logo image in the fusion result image. The logo image will be stretched according to the coordinates.
|
|
591
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
|
|
592
|
+
"""
|
|
510
593
|
return self._LogoRect
|
|
511
594
|
|
|
512
595
|
@LogoRect.setter
|
|
@@ -515,6 +598,11 @@ class LogoParam(AbstractModel):
|
|
|
515
598
|
|
|
516
599
|
@property
|
|
517
600
|
def LogoUrl(self):
|
|
601
|
+
"""Logo image URL
|
|
602
|
+
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
603
|
+
●Supported image format: JPG or PNG
|
|
604
|
+
:rtype: str
|
|
605
|
+
"""
|
|
518
606
|
return self._LogoUrl
|
|
519
607
|
|
|
520
608
|
@LogoUrl.setter
|
|
@@ -523,6 +611,11 @@ class LogoParam(AbstractModel):
|
|
|
523
611
|
|
|
524
612
|
@property
|
|
525
613
|
def LogoImage(self):
|
|
614
|
+
"""Logo image Base64 code
|
|
615
|
+
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
616
|
+
●Supported image format: JPG or PNG
|
|
617
|
+
:rtype: str
|
|
618
|
+
"""
|
|
526
619
|
return self._LogoImage
|
|
527
620
|
|
|
528
621
|
@LogoImage.setter
|
|
@@ -580,6 +673,12 @@ Width and height are no less than 30.
|
|
|
580
673
|
|
|
581
674
|
@property
|
|
582
675
|
def Image(self):
|
|
676
|
+
"""Enter the image Base64 code.
|
|
677
|
+
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
678
|
+
●Material image limitation: face size in the image greater than 34×34 pixels; image size greater than 64×64 pixels. (After encoding, the image size may increase by about 30%. It is recommended to control the image size reasonably.)
|
|
679
|
+
●Supported image format: JPG or PNG
|
|
680
|
+
:rtype: str
|
|
681
|
+
"""
|
|
583
682
|
return self._Image
|
|
584
683
|
|
|
585
684
|
@Image.setter
|
|
@@ -588,6 +687,12 @@ Width and height are no less than 30.
|
|
|
588
687
|
|
|
589
688
|
@property
|
|
590
689
|
def Url(self):
|
|
690
|
+
"""Enter the image URL.
|
|
691
|
+
●Either the Base64 code or URL must be provided. If both are provided, URL prevails.
|
|
692
|
+
●Material image limitation: face size in the image greater than 34×34 pixels; image size greater than 64×64 pixels. (After encoding, the image size may increase by about 30%. It is recommended to control the image size reasonably.)
|
|
693
|
+
●Supported image format: JPG or PNG
|
|
694
|
+
:rtype: str
|
|
695
|
+
"""
|
|
591
696
|
return self._Url
|
|
592
697
|
|
|
593
698
|
@Url.setter
|
|
@@ -596,6 +701,10 @@ Width and height are no less than 30.
|
|
|
596
701
|
|
|
597
702
|
@property
|
|
598
703
|
def InputImageFaceRect(self):
|
|
704
|
+
"""Face position information (face box) on the uploaded image
|
|
705
|
+
Width and height are no less than 30.
|
|
706
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
|
|
707
|
+
"""
|
|
599
708
|
return self._InputImageFaceRect
|
|
600
709
|
|
|
601
710
|
@InputImageFaceRect.setter
|
|
@@ -604,6 +713,9 @@ Width and height are no less than 30.
|
|
|
604
713
|
|
|
605
714
|
@property
|
|
606
715
|
def TemplateFaceID(self):
|
|
716
|
+
"""Material face ID. If this parameter is left blank, the largest face is used by default.
|
|
717
|
+
:rtype: str
|
|
718
|
+
"""
|
|
607
719
|
return self._TemplateFaceID
|
|
608
720
|
|
|
609
721
|
@TemplateFaceID.setter
|
|
@@ -612,6 +724,10 @@ Width and height are no less than 30.
|
|
|
612
724
|
|
|
613
725
|
@property
|
|
614
726
|
def TemplateFaceRect(self):
|
|
727
|
+
"""Face position information (face box) on the template. If this parameter is left blank, the largest face is used by default. This parameter applies to scenes where custom material templates are used for fusion.
|
|
728
|
+
Width and height are no less than 30.
|
|
729
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.FaceRect`
|
|
730
|
+
"""
|
|
615
731
|
return self._TemplateFaceRect
|
|
616
732
|
|
|
617
733
|
@TemplateFaceRect.setter
|
|
@@ -656,6 +772,9 @@ class MetaData(AbstractModel):
|
|
|
656
772
|
|
|
657
773
|
@property
|
|
658
774
|
def MetaKey(self):
|
|
775
|
+
"""Metadata key
|
|
776
|
+
:rtype: str
|
|
777
|
+
"""
|
|
659
778
|
return self._MetaKey
|
|
660
779
|
|
|
661
780
|
@MetaKey.setter
|
|
@@ -664,6 +783,9 @@ class MetaData(AbstractModel):
|
|
|
664
783
|
|
|
665
784
|
@property
|
|
666
785
|
def MetaValue(self):
|
|
786
|
+
"""Metadata value
|
|
787
|
+
:rtype: str
|
|
788
|
+
"""
|
|
667
789
|
return self._MetaValue
|
|
668
790
|
|
|
669
791
|
@MetaValue.setter
|
|
@@ -698,6 +820,9 @@ class QueryVideoFaceFusionJobRequest(AbstractModel):
|
|
|
698
820
|
|
|
699
821
|
@property
|
|
700
822
|
def JobId(self):
|
|
823
|
+
"""Job ID of the video face fusion task
|
|
824
|
+
:rtype: str
|
|
825
|
+
"""
|
|
701
826
|
return self._JobId
|
|
702
827
|
|
|
703
828
|
@JobId.setter
|
|
@@ -750,6 +875,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
750
875
|
|
|
751
876
|
@property
|
|
752
877
|
def JobStatus(self):
|
|
878
|
+
"""Current task status: queuing, processing, processing failed, or processing completed
|
|
879
|
+
:rtype: str
|
|
880
|
+
"""
|
|
753
881
|
return self._JobStatus
|
|
754
882
|
|
|
755
883
|
@JobStatus.setter
|
|
@@ -758,6 +886,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
758
886
|
|
|
759
887
|
@property
|
|
760
888
|
def VideoFaceFusionOutput(self):
|
|
889
|
+
"""Video face fusion result
|
|
890
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
891
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.VideoFaceFusionOutput`
|
|
892
|
+
"""
|
|
761
893
|
return self._VideoFaceFusionOutput
|
|
762
894
|
|
|
763
895
|
@VideoFaceFusionOutput.setter
|
|
@@ -766,6 +898,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
766
898
|
|
|
767
899
|
@property
|
|
768
900
|
def JobStatusCode(self):
|
|
901
|
+
"""Task status code. 1: queuing; 3: processing; 5: processing failed; 7: processing completed.
|
|
902
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
903
|
+
:rtype: int
|
|
904
|
+
"""
|
|
769
905
|
return self._JobStatusCode
|
|
770
906
|
|
|
771
907
|
@JobStatusCode.setter
|
|
@@ -774,6 +910,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
774
910
|
|
|
775
911
|
@property
|
|
776
912
|
def JobErrorCode(self):
|
|
913
|
+
"""Task failure error code
|
|
914
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
915
|
+
:rtype: str
|
|
916
|
+
"""
|
|
777
917
|
return self._JobErrorCode
|
|
778
918
|
|
|
779
919
|
@JobErrorCode.setter
|
|
@@ -782,6 +922,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
782
922
|
|
|
783
923
|
@property
|
|
784
924
|
def JobErrorMsg(self):
|
|
925
|
+
"""Task failure error message
|
|
926
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
927
|
+
:rtype: str
|
|
928
|
+
"""
|
|
785
929
|
return self._JobErrorMsg
|
|
786
930
|
|
|
787
931
|
@JobErrorMsg.setter
|
|
@@ -790,6 +934,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
790
934
|
|
|
791
935
|
@property
|
|
792
936
|
def RequestId(self):
|
|
937
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
938
|
+
:rtype: str
|
|
939
|
+
"""
|
|
793
940
|
return self._RequestId
|
|
794
941
|
|
|
795
942
|
@RequestId.setter
|
|
@@ -846,6 +993,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
846
993
|
|
|
847
994
|
@property
|
|
848
995
|
def ProjectId(self):
|
|
996
|
+
"""Activity ID. Check it in the video face fusion console.
|
|
997
|
+
:rtype: str
|
|
998
|
+
"""
|
|
849
999
|
return self._ProjectId
|
|
850
1000
|
|
|
851
1001
|
@ProjectId.setter
|
|
@@ -854,6 +1004,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
854
1004
|
|
|
855
1005
|
@property
|
|
856
1006
|
def ModelId(self):
|
|
1007
|
+
"""Material ID. Check it in the video face fusion console.
|
|
1008
|
+
:rtype: str
|
|
1009
|
+
"""
|
|
857
1010
|
return self._ModelId
|
|
858
1011
|
|
|
859
1012
|
@ModelId.setter
|
|
@@ -862,6 +1015,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
862
1015
|
|
|
863
1016
|
@property
|
|
864
1017
|
def MergeInfos(self):
|
|
1018
|
+
"""Face position information on the user face image and material template image. Only one entry is allowed.
|
|
1019
|
+
:rtype: list of MergeInfo
|
|
1020
|
+
"""
|
|
865
1021
|
return self._MergeInfos
|
|
866
1022
|
|
|
867
1023
|
@MergeInfos.setter
|
|
@@ -870,6 +1026,11 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
870
1026
|
|
|
871
1027
|
@property
|
|
872
1028
|
def CelebrityIdentify(self):
|
|
1029
|
+
"""0: inappropriate content recognition not required; 1: inappropriate content recognition required. Default value: 0.
|
|
1030
|
+
Note: Once the inappropriate content recognition service is enabled, you need to decide whether to adjust your business logic based on the returned results. For example, you need to replace the image if the system informs you that the image does not meet the requirements.
|
|
1031
|
+
**<font color=#1E90FF>Note: This field will be deprecated later due to business adjustments. It is not recommended for use.</font>**
|
|
1032
|
+
:rtype: int
|
|
1033
|
+
"""
|
|
873
1034
|
return self._CelebrityIdentify
|
|
874
1035
|
|
|
875
1036
|
@CelebrityIdentify.setter
|
|
@@ -878,6 +1039,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
878
1039
|
|
|
879
1040
|
@property
|
|
880
1041
|
def LogoParam(self):
|
|
1042
|
+
"""Video watermark logo parameter
|
|
1043
|
+
:rtype: :class:`tencentcloud.facefusion.v20220927.models.LogoParam`
|
|
1044
|
+
"""
|
|
881
1045
|
return self._LogoParam
|
|
882
1046
|
|
|
883
1047
|
@LogoParam.setter
|
|
@@ -886,6 +1050,10 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
886
1050
|
|
|
887
1051
|
@property
|
|
888
1052
|
def UserDesignatedUrl(self):
|
|
1053
|
+
"""COS pre-signed URL (PUT method). If this parameter is specified, the video after fusion will be uploaded to this URL.
|
|
1054
|
+
**<font color=#1E90FF>Note: If upload to this URL fails, the video will be uploaded to the default address of Tencent Cloud.</font>**
|
|
1055
|
+
:rtype: str
|
|
1056
|
+
"""
|
|
889
1057
|
return self._UserDesignatedUrl
|
|
890
1058
|
|
|
891
1059
|
@UserDesignatedUrl.setter
|
|
@@ -894,6 +1062,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
894
1062
|
|
|
895
1063
|
@property
|
|
896
1064
|
def UserIp(self):
|
|
1065
|
+
"""User IP address
|
|
1066
|
+
:rtype: str
|
|
1067
|
+
"""
|
|
897
1068
|
return self._UserIp
|
|
898
1069
|
|
|
899
1070
|
@UserIp.setter
|
|
@@ -902,6 +1073,9 @@ Note: Once the inappropriate content recognition service is enabled, you need to
|
|
|
902
1073
|
|
|
903
1074
|
@property
|
|
904
1075
|
def MetaData(self):
|
|
1076
|
+
"""Video metadata field
|
|
1077
|
+
:rtype: list of MetaData
|
|
1078
|
+
"""
|
|
905
1079
|
return self._MetaData
|
|
906
1080
|
|
|
907
1081
|
@MetaData.setter
|
|
@@ -967,6 +1141,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
967
1141
|
|
|
968
1142
|
@property
|
|
969
1143
|
def JobId(self):
|
|
1144
|
+
"""Job ID of the video face fusion task
|
|
1145
|
+
:rtype: str
|
|
1146
|
+
"""
|
|
970
1147
|
return self._JobId
|
|
971
1148
|
|
|
972
1149
|
@JobId.setter
|
|
@@ -975,6 +1152,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
975
1152
|
|
|
976
1153
|
@property
|
|
977
1154
|
def EstimatedProcessTime(self):
|
|
1155
|
+
"""Estimated processing time of the video face fusion task, in seconds
|
|
1156
|
+
:rtype: float
|
|
1157
|
+
"""
|
|
978
1158
|
return self._EstimatedProcessTime
|
|
979
1159
|
|
|
980
1160
|
@EstimatedProcessTime.setter
|
|
@@ -983,6 +1163,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
983
1163
|
|
|
984
1164
|
@property
|
|
985
1165
|
def JobQueueLength(self):
|
|
1166
|
+
"""Estimated processing time of the video face fusion task, in seconds
|
|
1167
|
+
:rtype: int
|
|
1168
|
+
"""
|
|
986
1169
|
return self._JobQueueLength
|
|
987
1170
|
|
|
988
1171
|
@JobQueueLength.setter
|
|
@@ -991,6 +1174,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
991
1174
|
|
|
992
1175
|
@property
|
|
993
1176
|
def ReviewResultSet(self):
|
|
1177
|
+
"""Inappropriate content recognition result. The element order of this array is the same as that of mergeinfo in the request, with a one-to-one relationship.
|
|
1178
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1179
|
+
:rtype: list of FuseFaceReviewResult
|
|
1180
|
+
"""
|
|
994
1181
|
return self._ReviewResultSet
|
|
995
1182
|
|
|
996
1183
|
@ReviewResultSet.setter
|
|
@@ -999,6 +1186,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
999
1186
|
|
|
1000
1187
|
@property
|
|
1001
1188
|
def RequestId(self):
|
|
1189
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1190
|
+
:rtype: str
|
|
1191
|
+
"""
|
|
1002
1192
|
return self._RequestId
|
|
1003
1193
|
|
|
1004
1194
|
@RequestId.setter
|
|
@@ -1051,6 +1241,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1051
1241
|
|
|
1052
1242
|
@property
|
|
1053
1243
|
def VideoUrl(self):
|
|
1244
|
+
"""URL of the video output after video face fusion
|
|
1245
|
+
:rtype: str
|
|
1246
|
+
"""
|
|
1054
1247
|
return self._VideoUrl
|
|
1055
1248
|
|
|
1056
1249
|
@VideoUrl.setter
|
|
@@ -1059,6 +1252,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1059
1252
|
|
|
1060
1253
|
@property
|
|
1061
1254
|
def VideoMD5(self):
|
|
1255
|
+
"""MD5 value of the video output after video face fusion, which is used for verification
|
|
1256
|
+
:rtype: str
|
|
1257
|
+
"""
|
|
1062
1258
|
return self._VideoMD5
|
|
1063
1259
|
|
|
1064
1260
|
@VideoMD5.setter
|
|
@@ -1067,6 +1263,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1067
1263
|
|
|
1068
1264
|
@property
|
|
1069
1265
|
def Width(self):
|
|
1266
|
+
"""Video width
|
|
1267
|
+
:rtype: int
|
|
1268
|
+
"""
|
|
1070
1269
|
return self._Width
|
|
1071
1270
|
|
|
1072
1271
|
@Width.setter
|
|
@@ -1075,6 +1274,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1075
1274
|
|
|
1076
1275
|
@property
|
|
1077
1276
|
def Height(self):
|
|
1277
|
+
"""Video height
|
|
1278
|
+
:rtype: int
|
|
1279
|
+
"""
|
|
1078
1280
|
return self._Height
|
|
1079
1281
|
|
|
1080
1282
|
@Height.setter
|
|
@@ -1083,6 +1285,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1083
1285
|
|
|
1084
1286
|
@property
|
|
1085
1287
|
def FPS(self):
|
|
1288
|
+
"""Frames per second
|
|
1289
|
+
:rtype: int
|
|
1290
|
+
"""
|
|
1086
1291
|
return self._FPS
|
|
1087
1292
|
|
|
1088
1293
|
@FPS.setter
|
|
@@ -1091,6 +1296,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1091
1296
|
|
|
1092
1297
|
@property
|
|
1093
1298
|
def DurationInSec(self):
|
|
1299
|
+
"""Video duration, in seconds
|
|
1300
|
+
:rtype: float
|
|
1301
|
+
"""
|
|
1094
1302
|
return self._DurationInSec
|
|
1095
1303
|
|
|
1096
1304
|
@DurationInSec.setter
|
|
@@ -1099,6 +1307,9 @@ class VideoFaceFusionOutput(AbstractModel):
|
|
|
1099
1307
|
|
|
1100
1308
|
@property
|
|
1101
1309
|
def Frame(self):
|
|
1310
|
+
"""Number of frames
|
|
1311
|
+
:rtype: int
|
|
1312
|
+
"""
|
|
1102
1313
|
return self._Frame
|
|
1103
1314
|
|
|
1104
1315
|
@Frame.setter
|