tencentcloud-sdk-python-intl-en 3.0.1215__py2.py3-none-any.whl → 3.0.1217__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.

@@ -10839,8 +10839,8 @@ class AsrHotwordsSet(AbstractModel):
10839
10839
  Note: This field may return null, indicating that no valid value can be obtained.
10840
10840
  :type HotwordsId: str
10841
10841
  :param _Status: Current hotword lexicon status. The value indicates the number of smart subtitle templates bound to this hotword lexicon.
10842
- If the Status value is 0, it indicates that the hotword lexicon is not referenced by any smart subtitle template and that it can be deleted.
10843
- If the Status value is not 0, it indicates that the hotword lexicon cannot be deleted.
10842
+ If the value of Status is 0, it indicates that the hotword lexicon is not referenced by any smart subtitle template and that it can be deleted.
10843
+ If the value of Status is not 0, it indicates that the hotword lexicon cannot be deleted.
10844
10844
  Note: This field may return null, indicating that no valid value can be obtained.
10845
10845
  :type Status: int
10846
10846
  :param _Name: Hotword lexicon name.
@@ -10887,8 +10887,8 @@ Note: This field may return null, indicating that no valid value can be obtained
10887
10887
  @property
10888
10888
  def Status(self):
10889
10889
  """Current hotword lexicon status. The value indicates the number of smart subtitle templates bound to this hotword lexicon.
10890
- If the Status value is 0, it indicates that the hotword lexicon is not referenced by any smart subtitle template and that it can be deleted.
10891
- If the Status value is not 0, it indicates that the hotword lexicon cannot be deleted.
10890
+ If the value of Status is 0, it indicates that the hotword lexicon is not referenced by any smart subtitle template and that it can be deleted.
10891
+ If the value of Status is not 0, it indicates that the hotword lexicon cannot be deleted.
10892
10892
  Note: This field may return null, indicating that no valid value can be obtained.
10893
10893
  :rtype: int
10894
10894
  """
@@ -12107,6 +12107,372 @@ Note: This field may return·null, indicating that no valid values can be obtain
12107
12107
 
12108
12108
 
12109
12109
 
12110
+ class BatchProcessMediaRequest(AbstractModel):
12111
+ """BatchProcessMedia request structure.
12112
+
12113
+ """
12114
+
12115
+ def __init__(self):
12116
+ r"""
12117
+ :param _InputInfo: Path of the input file.
12118
+ :type InputInfo: list of MediaInputInfo
12119
+ :param _OutputStorage: Storage bucket for the output file. If it is left blank, the storage location in InputInfo will be inherited.
12120
+ Note: When InputInfo.Type is URL, this parameter is required.
12121
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
12122
+ :param _OutputDir: Storage directory for the output file. It should start and end with a slash (/), such as `/movie/201907/`.
12123
+ If left blank, it indicates that the directory is the same as the one where the file is located in InputInfo.
12124
+ :type OutputDir: str
12125
+ :param _SmartSubtitlesTask: Smart subtitle.
12126
+ :type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
12127
+ :param _TaskNotifyConfig: Event notification information of the task. If left blank, it indicates that no event notification will be obtained.
12128
+ :type TaskNotifyConfig: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
12129
+ :param _TasksPriority: Priority of the task flow. The higher the value, the higher the priority. The value range is from -10 to 10. If left blank, the default value is 0.
12130
+ :type TasksPriority: int
12131
+ :param _SessionContext: Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters.
12132
+ :type SessionContext: str
12133
+ :param _ResourceId: Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID.
12134
+ :type ResourceId: str
12135
+ :param _SkipMateData: Whether to skip metadata acquisition. Valid values:
12136
+ 0: do not skip.
12137
+ 1: skip.
12138
+ Default value: 0
12139
+ :type SkipMateData: int
12140
+ """
12141
+ self._InputInfo = None
12142
+ self._OutputStorage = None
12143
+ self._OutputDir = None
12144
+ self._SmartSubtitlesTask = None
12145
+ self._TaskNotifyConfig = None
12146
+ self._TasksPriority = None
12147
+ self._SessionContext = None
12148
+ self._ResourceId = None
12149
+ self._SkipMateData = None
12150
+
12151
+ @property
12152
+ def InputInfo(self):
12153
+ """Path of the input file.
12154
+ :rtype: list of MediaInputInfo
12155
+ """
12156
+ return self._InputInfo
12157
+
12158
+ @InputInfo.setter
12159
+ def InputInfo(self, InputInfo):
12160
+ self._InputInfo = InputInfo
12161
+
12162
+ @property
12163
+ def OutputStorage(self):
12164
+ """Storage bucket for the output file. If it is left blank, the storage location in InputInfo will be inherited.
12165
+ Note: When InputInfo.Type is URL, this parameter is required.
12166
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
12167
+ """
12168
+ return self._OutputStorage
12169
+
12170
+ @OutputStorage.setter
12171
+ def OutputStorage(self, OutputStorage):
12172
+ self._OutputStorage = OutputStorage
12173
+
12174
+ @property
12175
+ def OutputDir(self):
12176
+ """Storage directory for the output file. It should start and end with a slash (/), such as `/movie/201907/`.
12177
+ If left blank, it indicates that the directory is the same as the one where the file is located in InputInfo.
12178
+ :rtype: str
12179
+ """
12180
+ return self._OutputDir
12181
+
12182
+ @OutputDir.setter
12183
+ def OutputDir(self, OutputDir):
12184
+ self._OutputDir = OutputDir
12185
+
12186
+ @property
12187
+ def SmartSubtitlesTask(self):
12188
+ """Smart subtitle.
12189
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
12190
+ """
12191
+ return self._SmartSubtitlesTask
12192
+
12193
+ @SmartSubtitlesTask.setter
12194
+ def SmartSubtitlesTask(self, SmartSubtitlesTask):
12195
+ self._SmartSubtitlesTask = SmartSubtitlesTask
12196
+
12197
+ @property
12198
+ def TaskNotifyConfig(self):
12199
+ """Event notification information of the task. If left blank, it indicates that no event notification will be obtained.
12200
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
12201
+ """
12202
+ return self._TaskNotifyConfig
12203
+
12204
+ @TaskNotifyConfig.setter
12205
+ def TaskNotifyConfig(self, TaskNotifyConfig):
12206
+ self._TaskNotifyConfig = TaskNotifyConfig
12207
+
12208
+ @property
12209
+ def TasksPriority(self):
12210
+ """Priority of the task flow. The higher the value, the higher the priority. The value range is from -10 to 10. If left blank, the default value is 0.
12211
+ :rtype: int
12212
+ """
12213
+ return self._TasksPriority
12214
+
12215
+ @TasksPriority.setter
12216
+ def TasksPriority(self, TasksPriority):
12217
+ self._TasksPriority = TasksPriority
12218
+
12219
+ @property
12220
+ def SessionContext(self):
12221
+ """Source context, which is used to pass through the user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters.
12222
+ :rtype: str
12223
+ """
12224
+ return self._SessionContext
12225
+
12226
+ @SessionContext.setter
12227
+ def SessionContext(self, SessionContext):
12228
+ self._SessionContext = SessionContext
12229
+
12230
+ @property
12231
+ def ResourceId(self):
12232
+ """Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID.
12233
+ :rtype: str
12234
+ """
12235
+ return self._ResourceId
12236
+
12237
+ @ResourceId.setter
12238
+ def ResourceId(self, ResourceId):
12239
+ self._ResourceId = ResourceId
12240
+
12241
+ @property
12242
+ def SkipMateData(self):
12243
+ """Whether to skip metadata acquisition. Valid values:
12244
+ 0: do not skip.
12245
+ 1: skip.
12246
+ Default value: 0
12247
+ :rtype: int
12248
+ """
12249
+ return self._SkipMateData
12250
+
12251
+ @SkipMateData.setter
12252
+ def SkipMateData(self, SkipMateData):
12253
+ self._SkipMateData = SkipMateData
12254
+
12255
+
12256
+ def _deserialize(self, params):
12257
+ if params.get("InputInfo") is not None:
12258
+ self._InputInfo = []
12259
+ for item in params.get("InputInfo"):
12260
+ obj = MediaInputInfo()
12261
+ obj._deserialize(item)
12262
+ self._InputInfo.append(obj)
12263
+ if params.get("OutputStorage") is not None:
12264
+ self._OutputStorage = TaskOutputStorage()
12265
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
12266
+ self._OutputDir = params.get("OutputDir")
12267
+ if params.get("SmartSubtitlesTask") is not None:
12268
+ self._SmartSubtitlesTask = SmartSubtitlesTaskInput()
12269
+ self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
12270
+ if params.get("TaskNotifyConfig") is not None:
12271
+ self._TaskNotifyConfig = TaskNotifyConfig()
12272
+ self._TaskNotifyConfig._deserialize(params.get("TaskNotifyConfig"))
12273
+ self._TasksPriority = params.get("TasksPriority")
12274
+ self._SessionContext = params.get("SessionContext")
12275
+ self._ResourceId = params.get("ResourceId")
12276
+ self._SkipMateData = params.get("SkipMateData")
12277
+ memeber_set = set(params.keys())
12278
+ for name, value in vars(self).items():
12279
+ property_name = name[1:]
12280
+ if property_name in memeber_set:
12281
+ memeber_set.remove(property_name)
12282
+ if len(memeber_set) > 0:
12283
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12284
+
12285
+
12286
+
12287
+ class BatchProcessMediaResponse(AbstractModel):
12288
+ """BatchProcessMedia response structure.
12289
+
12290
+ """
12291
+
12292
+ def __init__(self):
12293
+ r"""
12294
+ :param _TaskId: Task ID.
12295
+ :type TaskId: str
12296
+ :param _RequestId: 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.
12297
+ :type RequestId: str
12298
+ """
12299
+ self._TaskId = None
12300
+ self._RequestId = None
12301
+
12302
+ @property
12303
+ def TaskId(self):
12304
+ """Task ID.
12305
+ :rtype: str
12306
+ """
12307
+ return self._TaskId
12308
+
12309
+ @TaskId.setter
12310
+ def TaskId(self, TaskId):
12311
+ self._TaskId = TaskId
12312
+
12313
+ @property
12314
+ def RequestId(self):
12315
+ """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.
12316
+ :rtype: str
12317
+ """
12318
+ return self._RequestId
12319
+
12320
+ @RequestId.setter
12321
+ def RequestId(self, RequestId):
12322
+ self._RequestId = RequestId
12323
+
12324
+
12325
+ def _deserialize(self, params):
12326
+ self._TaskId = params.get("TaskId")
12327
+ self._RequestId = params.get("RequestId")
12328
+
12329
+
12330
+ class BatchSmartSubtitlesResult(AbstractModel):
12331
+ """Smart subtitle task result.
12332
+
12333
+ """
12334
+
12335
+ def __init__(self):
12336
+ r"""
12337
+ :param _Input: Input information for smart subtitle tasks.
12338
+ Note: This field may return null, indicating that no valid value can be obtained.
12339
+ :type Input: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskResultInput`
12340
+ :param _Outputs: Output information for smart subtitle tasks.
12341
+ Note: This field may return null, indicating that no valid value can be obtained.
12342
+ :type Outputs: list of SmartSubtitleTaskBatchOutput
12343
+ """
12344
+ self._Input = None
12345
+ self._Outputs = None
12346
+
12347
+ @property
12348
+ def Input(self):
12349
+ """Input information for smart subtitle tasks.
12350
+ Note: This field may return null, indicating that no valid value can be obtained.
12351
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskResultInput`
12352
+ """
12353
+ return self._Input
12354
+
12355
+ @Input.setter
12356
+ def Input(self, Input):
12357
+ self._Input = Input
12358
+
12359
+ @property
12360
+ def Outputs(self):
12361
+ """Output information for smart subtitle tasks.
12362
+ Note: This field may return null, indicating that no valid value can be obtained.
12363
+ :rtype: list of SmartSubtitleTaskBatchOutput
12364
+ """
12365
+ return self._Outputs
12366
+
12367
+ @Outputs.setter
12368
+ def Outputs(self, Outputs):
12369
+ self._Outputs = Outputs
12370
+
12371
+
12372
+ def _deserialize(self, params):
12373
+ if params.get("Input") is not None:
12374
+ self._Input = SmartSubtitleTaskResultInput()
12375
+ self._Input._deserialize(params.get("Input"))
12376
+ if params.get("Outputs") is not None:
12377
+ self._Outputs = []
12378
+ for item in params.get("Outputs"):
12379
+ obj = SmartSubtitleTaskBatchOutput()
12380
+ obj._deserialize(item)
12381
+ self._Outputs.append(obj)
12382
+ memeber_set = set(params.keys())
12383
+ for name, value in vars(self).items():
12384
+ property_name = name[1:]
12385
+ if property_name in memeber_set:
12386
+ memeber_set.remove(property_name)
12387
+ if len(memeber_set) > 0:
12388
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12389
+
12390
+
12391
+
12392
+ class BatchSubTaskResult(AbstractModel):
12393
+ """Results of subtasks for a batch task.
12394
+
12395
+ """
12396
+
12397
+ def __init__(self):
12398
+ r"""
12399
+ :param _InputInfos: Input information for a batch task.
12400
+ Note: This field may return null, indicating that no valid value can be obtained.
12401
+ :type InputInfos: list of MediaInputInfo
12402
+ :param _Metadatas: Metadata of the original video.
12403
+ Note: This field may return null, indicating that no valid value can be obtained.
12404
+ :type Metadatas: list of MediaMetaData
12405
+ :param _SmartSubtitlesTaskResult: Execution result of the smart subtitle task.
12406
+ Note: This field may return null, indicating that no valid value can be obtained.
12407
+ :type SmartSubtitlesTaskResult: :class:`tencentcloud.mps.v20190612.models.BatchSmartSubtitlesResult`
12408
+ """
12409
+ self._InputInfos = None
12410
+ self._Metadatas = None
12411
+ self._SmartSubtitlesTaskResult = None
12412
+
12413
+ @property
12414
+ def InputInfos(self):
12415
+ """Input information for a batch task.
12416
+ Note: This field may return null, indicating that no valid value can be obtained.
12417
+ :rtype: list of MediaInputInfo
12418
+ """
12419
+ return self._InputInfos
12420
+
12421
+ @InputInfos.setter
12422
+ def InputInfos(self, InputInfos):
12423
+ self._InputInfos = InputInfos
12424
+
12425
+ @property
12426
+ def Metadatas(self):
12427
+ """Metadata of the original video.
12428
+ Note: This field may return null, indicating that no valid value can be obtained.
12429
+ :rtype: list of MediaMetaData
12430
+ """
12431
+ return self._Metadatas
12432
+
12433
+ @Metadatas.setter
12434
+ def Metadatas(self, Metadatas):
12435
+ self._Metadatas = Metadatas
12436
+
12437
+ @property
12438
+ def SmartSubtitlesTaskResult(self):
12439
+ """Execution result of the smart subtitle task.
12440
+ Note: This field may return null, indicating that no valid value can be obtained.
12441
+ :rtype: :class:`tencentcloud.mps.v20190612.models.BatchSmartSubtitlesResult`
12442
+ """
12443
+ return self._SmartSubtitlesTaskResult
12444
+
12445
+ @SmartSubtitlesTaskResult.setter
12446
+ def SmartSubtitlesTaskResult(self, SmartSubtitlesTaskResult):
12447
+ self._SmartSubtitlesTaskResult = SmartSubtitlesTaskResult
12448
+
12449
+
12450
+ def _deserialize(self, params):
12451
+ if params.get("InputInfos") is not None:
12452
+ self._InputInfos = []
12453
+ for item in params.get("InputInfos"):
12454
+ obj = MediaInputInfo()
12455
+ obj._deserialize(item)
12456
+ self._InputInfos.append(obj)
12457
+ if params.get("Metadatas") is not None:
12458
+ self._Metadatas = []
12459
+ for item in params.get("Metadatas"):
12460
+ obj = MediaMetaData()
12461
+ obj._deserialize(item)
12462
+ self._Metadatas.append(obj)
12463
+ if params.get("SmartSubtitlesTaskResult") is not None:
12464
+ self._SmartSubtitlesTaskResult = BatchSmartSubtitlesResult()
12465
+ self._SmartSubtitlesTaskResult._deserialize(params.get("SmartSubtitlesTaskResult"))
12466
+ memeber_set = set(params.keys())
12467
+ for name, value in vars(self).items():
12468
+ property_name = name[1:]
12469
+ if property_name in memeber_set:
12470
+ memeber_set.remove(property_name)
12471
+ if len(memeber_set) > 0:
12472
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12473
+
12474
+
12475
+
12110
12476
  class ClassificationConfigureInfo(AbstractModel):
12111
12477
  """Control parameter of intelligent categorization task
12112
12478
 
@@ -17181,7 +17547,7 @@ yue: Cantonese
17181
17547
  vi: Vietnamese
17182
17548
  ms: Malay
17183
17549
  id: Indonesian
17184
- fli: Filipino
17550
+ fil: Filipino
17185
17551
  th: Thai
17186
17552
  pt: Portuguese
17187
17553
  tr: Turkish
@@ -17267,7 +17633,7 @@ yue: Cantonese
17267
17633
  vi: Vietnamese
17268
17634
  ms: Malay
17269
17635
  id: Indonesian
17270
- fli: Filipino
17636
+ fil: Filipino
17271
17637
  th: Thai
17272
17638
  pt: Portuguese
17273
17639
  tr: Turkish
@@ -17659,7 +18025,7 @@ Default value: 0.
17659
18025
  :type TEHDConfig: :class:`tencentcloud.mps.v20190612.models.TEHDConfig`
17660
18026
  :param _EnhanceConfig: Audio/Video enhancement configuration.
17661
18027
  :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
17662
- :param _StdExtInfo:
18028
+ :param _StdExtInfo: Additional parameter, which is a serialized JSON string.
17663
18029
  :type StdExtInfo: str
17664
18030
  """
17665
18031
  self._Container = None
@@ -17780,7 +18146,7 @@ Default value: 0.
17780
18146
 
17781
18147
  @property
17782
18148
  def StdExtInfo(self):
17783
- """
18149
+ """Additional parameter, which is a serialized JSON string.
17784
18150
  :rtype: str
17785
18151
  """
17786
18152
  return self._StdExtInfo
@@ -20870,6 +21236,266 @@ Note: This field may return null, indicating that no valid value can be obtained
20870
21236
  self._RequestId = params.get("RequestId")
20871
21237
 
20872
21238
 
21239
+ class DescribeBatchTaskDetailRequest(AbstractModel):
21240
+ """DescribeBatchTaskDetail request structure.
21241
+
21242
+ """
21243
+
21244
+ def __init__(self):
21245
+ r"""
21246
+ :param _TaskId: Video processing task ID.
21247
+ :type TaskId: str
21248
+ """
21249
+ self._TaskId = None
21250
+
21251
+ @property
21252
+ def TaskId(self):
21253
+ """Video processing task ID.
21254
+ :rtype: str
21255
+ """
21256
+ return self._TaskId
21257
+
21258
+ @TaskId.setter
21259
+ def TaskId(self, TaskId):
21260
+ self._TaskId = TaskId
21261
+
21262
+
21263
+ def _deserialize(self, params):
21264
+ self._TaskId = params.get("TaskId")
21265
+ memeber_set = set(params.keys())
21266
+ for name, value in vars(self).items():
21267
+ property_name = name[1:]
21268
+ if property_name in memeber_set:
21269
+ memeber_set.remove(property_name)
21270
+ if len(memeber_set) > 0:
21271
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21272
+
21273
+
21274
+
21275
+ class DescribeBatchTaskDetailResponse(AbstractModel):
21276
+ """DescribeBatchTaskDetail response structure.
21277
+
21278
+ """
21279
+
21280
+ def __init__(self):
21281
+ r"""
21282
+ :param _TaskType: Task type. Currently, the valid values include:
21283
+ <Li>BatchTask: batch processing task for video workflows.</li>.
21284
+ :type TaskType: str
21285
+ :param _Status: Task status. Valid values:
21286
+ <Li>WAITING: waiting.</li>
21287
+ <Li>PROCESSING: processing.</li>
21288
+ <li>FINISH: completed.</li>
21289
+ :type Status: str
21290
+ :param _CreateTime: Task creation time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21291
+ :type CreateTime: str
21292
+ :param _BeginProcessTime: Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21293
+ :type BeginProcessTime: str
21294
+ :param _FinishTime: Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21295
+ :type FinishTime: str
21296
+ :param _TaskId: Media processing task ID.
21297
+ :type TaskId: str
21298
+ :param _BatchTaskResult: Video processing task information. This field has a value only when TaskType is BatchTask.
21299
+ Note: This field may return null, indicating that no valid value can be obtained.
21300
+ :type BatchTaskResult: :class:`tencentcloud.mps.v20190612.models.BatchSubTaskResult`
21301
+ :param _TaskNotifyConfig: Event notification information of the task.
21302
+ Note: This field may return null, indicating that no valid value can be obtained.
21303
+ :type TaskNotifyConfig: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
21304
+ :param _TasksPriority: Priority of the task flow, with a value range of [-10, 10].
21305
+ :type TasksPriority: int
21306
+ :param _SessionId: An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required.
21307
+ :type SessionId: str
21308
+ :param _SessionContext: Source context, which is used to pass through user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters.
21309
+ :type SessionContext: str
21310
+ :param _ExtInfo: Additional information field, only used in specific scenarios.
21311
+ :type ExtInfo: str
21312
+ :param _RequestId: 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.
21313
+ :type RequestId: str
21314
+ """
21315
+ self._TaskType = None
21316
+ self._Status = None
21317
+ self._CreateTime = None
21318
+ self._BeginProcessTime = None
21319
+ self._FinishTime = None
21320
+ self._TaskId = None
21321
+ self._BatchTaskResult = None
21322
+ self._TaskNotifyConfig = None
21323
+ self._TasksPriority = None
21324
+ self._SessionId = None
21325
+ self._SessionContext = None
21326
+ self._ExtInfo = None
21327
+ self._RequestId = None
21328
+
21329
+ @property
21330
+ def TaskType(self):
21331
+ """Task type. Currently, the valid values include:
21332
+ <Li>BatchTask: batch processing task for video workflows.</li>.
21333
+ :rtype: str
21334
+ """
21335
+ return self._TaskType
21336
+
21337
+ @TaskType.setter
21338
+ def TaskType(self, TaskType):
21339
+ self._TaskType = TaskType
21340
+
21341
+ @property
21342
+ def Status(self):
21343
+ """Task status. Valid values:
21344
+ <Li>WAITING: waiting.</li>
21345
+ <Li>PROCESSING: processing.</li>
21346
+ <li>FINISH: completed.</li>
21347
+ :rtype: str
21348
+ """
21349
+ return self._Status
21350
+
21351
+ @Status.setter
21352
+ def Status(self, Status):
21353
+ self._Status = Status
21354
+
21355
+ @property
21356
+ def CreateTime(self):
21357
+ """Task creation time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21358
+ :rtype: str
21359
+ """
21360
+ return self._CreateTime
21361
+
21362
+ @CreateTime.setter
21363
+ def CreateTime(self, CreateTime):
21364
+ self._CreateTime = CreateTime
21365
+
21366
+ @property
21367
+ def BeginProcessTime(self):
21368
+ """Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21369
+ :rtype: str
21370
+ """
21371
+ return self._BeginProcessTime
21372
+
21373
+ @BeginProcessTime.setter
21374
+ def BeginProcessTime(self, BeginProcessTime):
21375
+ self._BeginProcessTime = BeginProcessTime
21376
+
21377
+ @property
21378
+ def FinishTime(self):
21379
+ """Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21380
+ :rtype: str
21381
+ """
21382
+ return self._FinishTime
21383
+
21384
+ @FinishTime.setter
21385
+ def FinishTime(self, FinishTime):
21386
+ self._FinishTime = FinishTime
21387
+
21388
+ @property
21389
+ def TaskId(self):
21390
+ """Media processing task ID.
21391
+ :rtype: str
21392
+ """
21393
+ return self._TaskId
21394
+
21395
+ @TaskId.setter
21396
+ def TaskId(self, TaskId):
21397
+ self._TaskId = TaskId
21398
+
21399
+ @property
21400
+ def BatchTaskResult(self):
21401
+ """Video processing task information. This field has a value only when TaskType is BatchTask.
21402
+ Note: This field may return null, indicating that no valid value can be obtained.
21403
+ :rtype: :class:`tencentcloud.mps.v20190612.models.BatchSubTaskResult`
21404
+ """
21405
+ return self._BatchTaskResult
21406
+
21407
+ @BatchTaskResult.setter
21408
+ def BatchTaskResult(self, BatchTaskResult):
21409
+ self._BatchTaskResult = BatchTaskResult
21410
+
21411
+ @property
21412
+ def TaskNotifyConfig(self):
21413
+ """Event notification information of the task.
21414
+ Note: This field may return null, indicating that no valid value can be obtained.
21415
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
21416
+ """
21417
+ return self._TaskNotifyConfig
21418
+
21419
+ @TaskNotifyConfig.setter
21420
+ def TaskNotifyConfig(self, TaskNotifyConfig):
21421
+ self._TaskNotifyConfig = TaskNotifyConfig
21422
+
21423
+ @property
21424
+ def TasksPriority(self):
21425
+ """Priority of the task flow, with a value range of [-10, 10].
21426
+ :rtype: int
21427
+ """
21428
+ return self._TasksPriority
21429
+
21430
+ @TasksPriority.setter
21431
+ def TasksPriority(self, TasksPriority):
21432
+ self._TasksPriority = TasksPriority
21433
+
21434
+ @property
21435
+ def SessionId(self):
21436
+ """An identifier for deduplication. If there has been a request with the same identifier within the past seven days, an error will be returned for the current request. The maximum length is 50 characters. Leaving it blank or using a null string indicates no deduplication is required.
21437
+ :rtype: str
21438
+ """
21439
+ return self._SessionId
21440
+
21441
+ @SessionId.setter
21442
+ def SessionId(self, SessionId):
21443
+ self._SessionId = SessionId
21444
+
21445
+ @property
21446
+ def SessionContext(self):
21447
+ """Source context, which is used to pass through user request information. The callback for task flow status changes will return the value of this field. The maximum length is 1,000 characters.
21448
+ :rtype: str
21449
+ """
21450
+ return self._SessionContext
21451
+
21452
+ @SessionContext.setter
21453
+ def SessionContext(self, SessionContext):
21454
+ self._SessionContext = SessionContext
21455
+
21456
+ @property
21457
+ def ExtInfo(self):
21458
+ """Additional information field, only used in specific scenarios.
21459
+ :rtype: str
21460
+ """
21461
+ return self._ExtInfo
21462
+
21463
+ @ExtInfo.setter
21464
+ def ExtInfo(self, ExtInfo):
21465
+ self._ExtInfo = ExtInfo
21466
+
21467
+ @property
21468
+ def RequestId(self):
21469
+ """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.
21470
+ :rtype: str
21471
+ """
21472
+ return self._RequestId
21473
+
21474
+ @RequestId.setter
21475
+ def RequestId(self, RequestId):
21476
+ self._RequestId = RequestId
21477
+
21478
+
21479
+ def _deserialize(self, params):
21480
+ self._TaskType = params.get("TaskType")
21481
+ self._Status = params.get("Status")
21482
+ self._CreateTime = params.get("CreateTime")
21483
+ self._BeginProcessTime = params.get("BeginProcessTime")
21484
+ self._FinishTime = params.get("FinishTime")
21485
+ self._TaskId = params.get("TaskId")
21486
+ if params.get("BatchTaskResult") is not None:
21487
+ self._BatchTaskResult = BatchSubTaskResult()
21488
+ self._BatchTaskResult._deserialize(params.get("BatchTaskResult"))
21489
+ if params.get("TaskNotifyConfig") is not None:
21490
+ self._TaskNotifyConfig = TaskNotifyConfig()
21491
+ self._TaskNotifyConfig._deserialize(params.get("TaskNotifyConfig"))
21492
+ self._TasksPriority = params.get("TasksPriority")
21493
+ self._SessionId = params.get("SessionId")
21494
+ self._SessionContext = params.get("SessionContext")
21495
+ self._ExtInfo = params.get("ExtInfo")
21496
+ self._RequestId = params.get("RequestId")
21497
+
21498
+
20873
21499
  class DescribeContentReviewTemplatesRequest(AbstractModel):
20874
21500
  """DescribeContentReviewTemplates request structure.
20875
21501
 
@@ -21196,6 +21822,170 @@ class DescribeImageSpriteTemplatesResponse(AbstractModel):
21196
21822
  self._RequestId = params.get("RequestId")
21197
21823
 
21198
21824
 
21825
+ class DescribeImageTaskDetailRequest(AbstractModel):
21826
+ """DescribeImageTaskDetail request structure.
21827
+
21828
+ """
21829
+
21830
+ def __init__(self):
21831
+ r"""
21832
+ :param _TaskId: Image processing task ID.
21833
+ :type TaskId: str
21834
+ """
21835
+ self._TaskId = None
21836
+
21837
+ @property
21838
+ def TaskId(self):
21839
+ """Image processing task ID.
21840
+ :rtype: str
21841
+ """
21842
+ return self._TaskId
21843
+
21844
+ @TaskId.setter
21845
+ def TaskId(self, TaskId):
21846
+ self._TaskId = TaskId
21847
+
21848
+
21849
+ def _deserialize(self, params):
21850
+ self._TaskId = params.get("TaskId")
21851
+ memeber_set = set(params.keys())
21852
+ for name, value in vars(self).items():
21853
+ property_name = name[1:]
21854
+ if property_name in memeber_set:
21855
+ memeber_set.remove(property_name)
21856
+ if len(memeber_set) > 0:
21857
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21858
+
21859
+
21860
+
21861
+ class DescribeImageTaskDetailResponse(AbstractModel):
21862
+ """DescribeImageTaskDetail response structure.
21863
+
21864
+ """
21865
+
21866
+ def __init__(self):
21867
+ r"""
21868
+ :param _TaskType: Task type. Currently, the valid values include:
21869
+ <Li>WorkflowTask: workflow processing task.</li>
21870
+
21871
+ Note: This field may return null, indicating that no valid value can be obtained.
21872
+ :type TaskType: str
21873
+ :param _Status: Task status. Valid values:
21874
+ <Li>WAITING: waiting.</li>
21875
+ <Li>PROCESSING: processing.</li>
21876
+ <li>FINISH: completed.</li>
21877
+ Note: This field may return null, indicating that no valid value can be obtained.
21878
+ :type Status: str
21879
+ :param _ImageProcessTaskResultSet: Execution status and results of the image processing task.
21880
+ Note: This field may return null, indicating that no valid value can be obtained.
21881
+ :type ImageProcessTaskResultSet: list of ImageProcessTaskResult
21882
+ :param _CreateTime: Task creation time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21883
+ Note: This field may return null, indicating that no valid value can be obtained.
21884
+ :type CreateTime: str
21885
+ :param _FinishTime: Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21886
+ Note: This field may return null, indicating that no valid value can be obtained.
21887
+ :type FinishTime: str
21888
+ :param _RequestId: 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.
21889
+ :type RequestId: str
21890
+ """
21891
+ self._TaskType = None
21892
+ self._Status = None
21893
+ self._ImageProcessTaskResultSet = None
21894
+ self._CreateTime = None
21895
+ self._FinishTime = None
21896
+ self._RequestId = None
21897
+
21898
+ @property
21899
+ def TaskType(self):
21900
+ """Task type. Currently, the valid values include:
21901
+ <Li>WorkflowTask: workflow processing task.</li>
21902
+
21903
+ Note: This field may return null, indicating that no valid value can be obtained.
21904
+ :rtype: str
21905
+ """
21906
+ return self._TaskType
21907
+
21908
+ @TaskType.setter
21909
+ def TaskType(self, TaskType):
21910
+ self._TaskType = TaskType
21911
+
21912
+ @property
21913
+ def Status(self):
21914
+ """Task status. Valid values:
21915
+ <Li>WAITING: waiting.</li>
21916
+ <Li>PROCESSING: processing.</li>
21917
+ <li>FINISH: completed.</li>
21918
+ Note: This field may return null, indicating that no valid value can be obtained.
21919
+ :rtype: str
21920
+ """
21921
+ return self._Status
21922
+
21923
+ @Status.setter
21924
+ def Status(self, Status):
21925
+ self._Status = Status
21926
+
21927
+ @property
21928
+ def ImageProcessTaskResultSet(self):
21929
+ """Execution status and results of the image processing task.
21930
+ Note: This field may return null, indicating that no valid value can be obtained.
21931
+ :rtype: list of ImageProcessTaskResult
21932
+ """
21933
+ return self._ImageProcessTaskResultSet
21934
+
21935
+ @ImageProcessTaskResultSet.setter
21936
+ def ImageProcessTaskResultSet(self, ImageProcessTaskResultSet):
21937
+ self._ImageProcessTaskResultSet = ImageProcessTaskResultSet
21938
+
21939
+ @property
21940
+ def CreateTime(self):
21941
+ """Task creation time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21942
+ Note: This field may return null, indicating that no valid value can be obtained.
21943
+ :rtype: str
21944
+ """
21945
+ return self._CreateTime
21946
+
21947
+ @CreateTime.setter
21948
+ def CreateTime(self, CreateTime):
21949
+ self._CreateTime = CreateTime
21950
+
21951
+ @property
21952
+ def FinishTime(self):
21953
+ """Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21954
+ Note: This field may return null, indicating that no valid value can be obtained.
21955
+ :rtype: str
21956
+ """
21957
+ return self._FinishTime
21958
+
21959
+ @FinishTime.setter
21960
+ def FinishTime(self, FinishTime):
21961
+ self._FinishTime = FinishTime
21962
+
21963
+ @property
21964
+ def RequestId(self):
21965
+ """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.
21966
+ :rtype: str
21967
+ """
21968
+ return self._RequestId
21969
+
21970
+ @RequestId.setter
21971
+ def RequestId(self, RequestId):
21972
+ self._RequestId = RequestId
21973
+
21974
+
21975
+ def _deserialize(self, params):
21976
+ self._TaskType = params.get("TaskType")
21977
+ self._Status = params.get("Status")
21978
+ if params.get("ImageProcessTaskResultSet") is not None:
21979
+ self._ImageProcessTaskResultSet = []
21980
+ for item in params.get("ImageProcessTaskResultSet"):
21981
+ obj = ImageProcessTaskResult()
21982
+ obj._deserialize(item)
21983
+ self._ImageProcessTaskResultSet.append(obj)
21984
+ self._CreateTime = params.get("CreateTime")
21985
+ self._FinishTime = params.get("FinishTime")
21986
+ self._RequestId = params.get("RequestId")
21987
+
21988
+
21199
21989
  class DescribeLiveRecordTemplatesRequest(AbstractModel):
21200
21990
  """DescribeLiveRecordTemplates request structure.
21201
21991
 
@@ -25847,8 +26637,8 @@ class ImageAreaBoxInfo(AbstractModel):
25847
26637
  def __init__(self):
25848
26638
  r"""
25849
26639
  :param _Type: Type of the box selection area in the image. Valid values:
25850
- <li>logo: icon</li>
25851
- <li>text: text</li>
26640
+ <li>logo: icon.</li>
26641
+ <li>Text: text.</li>
25852
26642
  Default value: logo.
25853
26643
  Note: This field may return null, indicating that no valid value can be obtained.
25854
26644
  :type Type: str
@@ -25856,7 +26646,10 @@ Note: This field may return null, indicating that no valid value can be obtained
25856
26646
  For example, [101, 85, 111, 95].
25857
26647
  Note: This field may return null, indicating that no valid value can be obtained.
25858
26648
  :type AreaCoordSet: list of int
25859
- :param _BoundingBox:
26649
+ :param _BoundingBox: Coordinates of the box selection area in the image. Format: [x1, y1, x2, y2], which indicates the coordinates of the top left corner and the bottom right corner. This parameter takes effect when AreaCoordSet is not specified.
26650
+ - [0.1, 0.1, 0.3, 0.3]: Indicates the ratio (values are less than 1).
26651
+ -[50, 50, 350, 280]: Indicates the pixel (values are greater than or equal to 1).
26652
+ Note: This field may return null, indicating that no valid value can be obtained.
25860
26653
  :type BoundingBox: list of float
25861
26654
  """
25862
26655
  self._Type = None
@@ -25866,8 +26659,8 @@ Note: This field may return null, indicating that no valid value can be obtained
25866
26659
  @property
25867
26660
  def Type(self):
25868
26661
  """Type of the box selection area in the image. Valid values:
25869
- <li>logo: icon</li>
25870
- <li>text: text</li>
26662
+ <li>logo: icon.</li>
26663
+ <li>Text: text.</li>
25871
26664
  Default value: logo.
25872
26665
  Note: This field may return null, indicating that no valid value can be obtained.
25873
26666
  :rtype: str
@@ -25893,7 +26686,10 @@ Note: This field may return null, indicating that no valid value can be obtained
25893
26686
 
25894
26687
  @property
25895
26688
  def BoundingBox(self):
25896
- """
26689
+ """Coordinates of the box selection area in the image. Format: [x1, y1, x2, y2], which indicates the coordinates of the top left corner and the bottom right corner. This parameter takes effect when AreaCoordSet is not specified.
26690
+ - [0.1, 0.1, 0.3, 0.3]: Indicates the ratio (values are less than 1).
26691
+ -[50, 50, 350, 280]: Indicates the pixel (values are greater than or equal to 1).
26692
+ Note: This field may return null, indicating that no valid value can be obtained.
25897
26693
  :rtype: list of float
25898
26694
  """
25899
26695
  return self._BoundingBox
@@ -25917,6 +26713,71 @@ Note: This field may return null, indicating that no valid value can be obtained
25917
26713
 
25918
26714
 
25919
26715
 
26716
+ class ImageDenoiseConfig(AbstractModel):
26717
+ """Image denoising configuration.
26718
+
26719
+ """
26720
+
26721
+ def __init__(self):
26722
+ r"""
26723
+ :param _Switch: Capability configuration enabling status. Valid values:
26724
+ <li>ON: enabled.</li>
26725
+ <li>OFF: disabled.</li>
26726
+ Default value: ON.
26727
+ :type Switch: str
26728
+ :param _Type: Type, with valid values including:
26729
+ <li>weak</li>
26730
+ <li>strong</li>
26731
+ Default value: weak.
26732
+ Note: This field may return null, indicating that no valid value can be obtained.
26733
+ :type Type: str
26734
+ """
26735
+ self._Switch = None
26736
+ self._Type = None
26737
+
26738
+ @property
26739
+ def Switch(self):
26740
+ """Capability configuration enabling status. Valid values:
26741
+ <li>ON: enabled.</li>
26742
+ <li>OFF: disabled.</li>
26743
+ Default value: ON.
26744
+ :rtype: str
26745
+ """
26746
+ return self._Switch
26747
+
26748
+ @Switch.setter
26749
+ def Switch(self, Switch):
26750
+ self._Switch = Switch
26751
+
26752
+ @property
26753
+ def Type(self):
26754
+ """Type, with valid values including:
26755
+ <li>weak</li>
26756
+ <li>strong</li>
26757
+ Default value: weak.
26758
+ Note: This field may return null, indicating that no valid value can be obtained.
26759
+ :rtype: str
26760
+ """
26761
+ return self._Type
26762
+
26763
+ @Type.setter
26764
+ def Type(self, Type):
26765
+ self._Type = Type
26766
+
26767
+
26768
+ def _deserialize(self, params):
26769
+ self._Switch = params.get("Switch")
26770
+ self._Type = params.get("Type")
26771
+ memeber_set = set(params.keys())
26772
+ for name, value in vars(self).items():
26773
+ property_name = name[1:]
26774
+ if property_name in memeber_set:
26775
+ memeber_set.remove(property_name)
26776
+ if len(memeber_set) > 0:
26777
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26778
+
26779
+
26780
+
25920
26781
  class ImageEncodeConfig(AbstractModel):
25921
26782
  """Image encoding format parameters
25922
26783
 
@@ -25982,6 +26843,12 @@ class ImageEnhanceConfig(AbstractModel):
25982
26843
  :param _SuperResolution: Super-resolution configuration.
25983
26844
 
25984
26845
  :type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
26846
+ :param _Denoise: Denoising configuration.
26847
+ Note: This field may return null, indicating that no valid value can be obtained.
26848
+ :type Denoise: :class:`tencentcloud.mps.v20190612.models.ImageDenoiseConfig`
26849
+ :param _ImageQualityEnhance: Comprehensive enhancement configuration.
26850
+ Note: This field may return null, indicating that no valid value can be obtained.
26851
+ :type ImageQualityEnhance: :class:`tencentcloud.mps.v20190612.models.ImageQualityEnhanceConfig`
25985
26852
  :param _ColorEnhance: Color enhancement configuration.
25986
26853
 
25987
26854
  :type ColorEnhance: :class:`tencentcloud.mps.v20190612.models.ColorEnhanceConfig`
@@ -25991,11 +26858,17 @@ class ImageEnhanceConfig(AbstractModel):
25991
26858
  :param _FaceEnhance: Face enhancement configuration.
25992
26859
 
25993
26860
  :type FaceEnhance: :class:`tencentcloud.mps.v20190612.models.FaceEnhanceConfig`
26861
+ :param _LowLightEnhance: Low-light enhancement configuration.
26862
+ Note: This field may return null, indicating that no valid value can be obtained.
26863
+ :type LowLightEnhance: :class:`tencentcloud.mps.v20190612.models.LowLightEnhanceConfig`
25994
26864
  """
25995
26865
  self._SuperResolution = None
26866
+ self._Denoise = None
26867
+ self._ImageQualityEnhance = None
25996
26868
  self._ColorEnhance = None
25997
26869
  self._SharpEnhance = None
25998
26870
  self._FaceEnhance = None
26871
+ self._LowLightEnhance = None
25999
26872
 
26000
26873
  @property
26001
26874
  def SuperResolution(self):
@@ -26009,6 +26882,30 @@ class ImageEnhanceConfig(AbstractModel):
26009
26882
  def SuperResolution(self, SuperResolution):
26010
26883
  self._SuperResolution = SuperResolution
26011
26884
 
26885
+ @property
26886
+ def Denoise(self):
26887
+ """Denoising configuration.
26888
+ Note: This field may return null, indicating that no valid value can be obtained.
26889
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageDenoiseConfig`
26890
+ """
26891
+ return self._Denoise
26892
+
26893
+ @Denoise.setter
26894
+ def Denoise(self, Denoise):
26895
+ self._Denoise = Denoise
26896
+
26897
+ @property
26898
+ def ImageQualityEnhance(self):
26899
+ """Comprehensive enhancement configuration.
26900
+ Note: This field may return null, indicating that no valid value can be obtained.
26901
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageQualityEnhanceConfig`
26902
+ """
26903
+ return self._ImageQualityEnhance
26904
+
26905
+ @ImageQualityEnhance.setter
26906
+ def ImageQualityEnhance(self, ImageQualityEnhance):
26907
+ self._ImageQualityEnhance = ImageQualityEnhance
26908
+
26012
26909
  @property
26013
26910
  def ColorEnhance(self):
26014
26911
  """Color enhancement configuration.
@@ -26045,11 +26942,29 @@ class ImageEnhanceConfig(AbstractModel):
26045
26942
  def FaceEnhance(self, FaceEnhance):
26046
26943
  self._FaceEnhance = FaceEnhance
26047
26944
 
26945
+ @property
26946
+ def LowLightEnhance(self):
26947
+ """Low-light enhancement configuration.
26948
+ Note: This field may return null, indicating that no valid value can be obtained.
26949
+ :rtype: :class:`tencentcloud.mps.v20190612.models.LowLightEnhanceConfig`
26950
+ """
26951
+ return self._LowLightEnhance
26952
+
26953
+ @LowLightEnhance.setter
26954
+ def LowLightEnhance(self, LowLightEnhance):
26955
+ self._LowLightEnhance = LowLightEnhance
26956
+
26048
26957
 
26049
26958
  def _deserialize(self, params):
26050
26959
  if params.get("SuperResolution") is not None:
26051
26960
  self._SuperResolution = SuperResolutionConfig()
26052
26961
  self._SuperResolution._deserialize(params.get("SuperResolution"))
26962
+ if params.get("Denoise") is not None:
26963
+ self._Denoise = ImageDenoiseConfig()
26964
+ self._Denoise._deserialize(params.get("Denoise"))
26965
+ if params.get("ImageQualityEnhance") is not None:
26966
+ self._ImageQualityEnhance = ImageQualityEnhanceConfig()
26967
+ self._ImageQualityEnhance._deserialize(params.get("ImageQualityEnhance"))
26053
26968
  if params.get("ColorEnhance") is not None:
26054
26969
  self._ColorEnhance = ColorEnhanceConfig()
26055
26970
  self._ColorEnhance._deserialize(params.get("ColorEnhance"))
@@ -26059,6 +26974,9 @@ class ImageEnhanceConfig(AbstractModel):
26059
26974
  if params.get("FaceEnhance") is not None:
26060
26975
  self._FaceEnhance = FaceEnhanceConfig()
26061
26976
  self._FaceEnhance._deserialize(params.get("FaceEnhance"))
26977
+ if params.get("LowLightEnhance") is not None:
26978
+ self._LowLightEnhance = LowLightEnhanceConfig()
26979
+ self._LowLightEnhance._deserialize(params.get("LowLightEnhance"))
26062
26980
  memeber_set = set(params.keys())
26063
26981
  for name, value in vars(self).items():
26064
26982
  property_name = name[1:]
@@ -26122,7 +27040,7 @@ class ImageEraseLogoConfig(AbstractModel):
26122
27040
  Default value: ON.
26123
27041
  Note: This field may return null, indicating that no valid value can be obtained.
26124
27042
  :type Switch: str
26125
- :param _ImageAreaBoxes: Multiple box selection areas to be erased. Note: The value array of this parameter can contain up to 2 values.
27043
+ :param _ImageAreaBoxes: Multiple box selection areas that need to be erased, with a maximum of 16 areas available.
26126
27044
  Note: This field may return null, indicating that no valid value can be obtained.
26127
27045
 
26128
27046
  Note: This field may return null, indicating that no valid value can be obtained.
@@ -26148,7 +27066,7 @@ Note: This field may return null, indicating that no valid value can be obtained
26148
27066
 
26149
27067
  @property
26150
27068
  def ImageAreaBoxes(self):
26151
- """Multiple box selection areas to be erased. Note: The value array of this parameter can contain up to 2 values.
27069
+ """Multiple box selection areas that need to be erased, with a maximum of 16 areas available.
26152
27070
  Note: This field may return null, indicating that no valid value can be obtained.
26153
27071
 
26154
27072
  Note: This field may return null, indicating that no valid value can be obtained.
@@ -26179,6 +27097,154 @@ Note: This field may return null, indicating that no valid value can be obtained
26179
27097
 
26180
27098
 
26181
27099
 
27100
+ class ImageProcessTaskOutput(AbstractModel):
27101
+ """Image processing result information.
27102
+
27103
+ """
27104
+
27105
+ def __init__(self):
27106
+ r"""
27107
+ :param _Path: Path of the output file.
27108
+ Note: This field may return null, indicating that no valid value can be obtained.
27109
+ :type Path: str
27110
+ :param _OutputStorage: Storage location of the output file.
27111
+ Note: This field may return null, indicating that no valid value can be obtained.
27112
+ :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
27113
+ """
27114
+ self._Path = None
27115
+ self._OutputStorage = None
27116
+
27117
+ @property
27118
+ def Path(self):
27119
+ """Path of the output file.
27120
+ Note: This field may return null, indicating that no valid value can be obtained.
27121
+ :rtype: str
27122
+ """
27123
+ return self._Path
27124
+
27125
+ @Path.setter
27126
+ def Path(self, Path):
27127
+ self._Path = Path
27128
+
27129
+ @property
27130
+ def OutputStorage(self):
27131
+ """Storage location of the output file.
27132
+ Note: This field may return null, indicating that no valid value can be obtained.
27133
+ :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
27134
+ """
27135
+ return self._OutputStorage
27136
+
27137
+ @OutputStorage.setter
27138
+ def OutputStorage(self, OutputStorage):
27139
+ self._OutputStorage = OutputStorage
27140
+
27141
+
27142
+ def _deserialize(self, params):
27143
+ self._Path = params.get("Path")
27144
+ if params.get("OutputStorage") is not None:
27145
+ self._OutputStorage = TaskOutputStorage()
27146
+ self._OutputStorage._deserialize(params.get("OutputStorage"))
27147
+ memeber_set = set(params.keys())
27148
+ for name, value in vars(self).items():
27149
+ property_name = name[1:]
27150
+ if property_name in memeber_set:
27151
+ memeber_set.remove(property_name)
27152
+ if len(memeber_set) > 0:
27153
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27154
+
27155
+
27156
+
27157
+ class ImageProcessTaskResult(AbstractModel):
27158
+ """Result type of the image processing task.
27159
+
27160
+ """
27161
+
27162
+ def __init__(self):
27163
+ r"""
27164
+ :param _Status: Task status, including PROCESSING, SUCCESS, and FAIL.
27165
+ Note: This field may return null, indicating that no valid value can be obtained.
27166
+ :type Status: str
27167
+ :param _Message: Error message.
27168
+ Note: This field may return null, indicating that no valid value can be obtained.
27169
+ :type Message: str
27170
+ :param _Output: Transcoding task output.
27171
+ Note: This field may return null, indicating that no valid value can be obtained.
27172
+ :type Output: :class:`tencentcloud.mps.v20190612.models.ImageProcessTaskOutput`
27173
+ :param _Progress: Transcoding progress, with a value range of [0-100].
27174
+ Note: This field may return null, indicating that no valid value can be obtained.
27175
+ :type Progress: int
27176
+ """
27177
+ self._Status = None
27178
+ self._Message = None
27179
+ self._Output = None
27180
+ self._Progress = None
27181
+
27182
+ @property
27183
+ def Status(self):
27184
+ """Task status, including PROCESSING, SUCCESS, and FAIL.
27185
+ Note: This field may return null, indicating that no valid value can be obtained.
27186
+ :rtype: str
27187
+ """
27188
+ return self._Status
27189
+
27190
+ @Status.setter
27191
+ def Status(self, Status):
27192
+ self._Status = Status
27193
+
27194
+ @property
27195
+ def Message(self):
27196
+ """Error message.
27197
+ Note: This field may return null, indicating that no valid value can be obtained.
27198
+ :rtype: str
27199
+ """
27200
+ return self._Message
27201
+
27202
+ @Message.setter
27203
+ def Message(self, Message):
27204
+ self._Message = Message
27205
+
27206
+ @property
27207
+ def Output(self):
27208
+ """Transcoding task output.
27209
+ Note: This field may return null, indicating that no valid value can be obtained.
27210
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ImageProcessTaskOutput`
27211
+ """
27212
+ return self._Output
27213
+
27214
+ @Output.setter
27215
+ def Output(self, Output):
27216
+ self._Output = Output
27217
+
27218
+ @property
27219
+ def Progress(self):
27220
+ """Transcoding progress, with a value range of [0-100].
27221
+ Note: This field may return null, indicating that no valid value can be obtained.
27222
+ :rtype: int
27223
+ """
27224
+ return self._Progress
27225
+
27226
+ @Progress.setter
27227
+ def Progress(self, Progress):
27228
+ self._Progress = Progress
27229
+
27230
+
27231
+ def _deserialize(self, params):
27232
+ self._Status = params.get("Status")
27233
+ self._Message = params.get("Message")
27234
+ if params.get("Output") is not None:
27235
+ self._Output = ImageProcessTaskOutput()
27236
+ self._Output._deserialize(params.get("Output"))
27237
+ self._Progress = params.get("Progress")
27238
+ memeber_set = set(params.keys())
27239
+ for name, value in vars(self).items():
27240
+ property_name = name[1:]
27241
+ if property_name in memeber_set:
27242
+ memeber_set.remove(property_name)
27243
+ if len(memeber_set) > 0:
27244
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27245
+
27246
+
27247
+
26182
27248
  class ImageQualityEnhanceConfig(AbstractModel):
26183
27249
  """Overall enhancement configuration.
26184
27250
 
@@ -34695,8 +35761,8 @@ class ModifyAsrHotwordsRequest(AbstractModel):
34695
35761
  r"""
34696
35762
  :param _HotwordsId: Hotword lexicon ID.
34697
35763
 
34698
- Either Name or Content should be specified if the hotword lexicon is a text-based hotword lexicon.
34699
- One of Name, FileContent, and FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
35764
+ Either Name or Content should be specified if the hotword lexicon is a temporary hotword lexicon.
35765
+ Either Name, FileContent, or FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
34700
35766
 
34701
35767
  :type HotwordsId: str
34702
35768
  :param _Name: Hotword lexicon name.
@@ -34721,8 +35787,8 @@ One of Name, FileContent, and FileName should be specified if the hotword lexico
34721
35787
  def HotwordsId(self):
34722
35788
  """Hotword lexicon ID.
34723
35789
 
34724
- Either Name or Content should be specified if the hotword lexicon is a text-based hotword lexicon.
34725
- One of Name, FileContent, and FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
35790
+ Either Name or Content should be specified if the hotword lexicon is a temporary hotword lexicon.
35791
+ Either Name, FileContent, or FileName should be specified if the hotword lexicon is a file-based hotword lexicon.
34726
35792
 
34727
35793
  :rtype: str
34728
35794
  """
@@ -36126,7 +37192,7 @@ yue: Cantonese
36126
37192
  vi: Vietnamese
36127
37193
  ms: Malay
36128
37194
  id: Indonesian
36129
- fli: Filipino
37195
+ fil: Filipino
36130
37196
  th: Thai
36131
37197
  pt: Portuguese
36132
37198
  tr: Turkish
@@ -36242,7 +37308,7 @@ yue: Cantonese
36242
37308
  vi: Vietnamese
36243
37309
  ms: Malay
36244
37310
  id: Indonesian
36245
- fli: Filipino
37311
+ fil: Filipino
36246
37312
  th: Thai
36247
37313
  pt: Portuguese
36248
37314
  tr: Turkish
@@ -41453,9 +42519,10 @@ class RawSmartSubtitleParameter(AbstractModel):
41453
42519
  def __init__(self):
41454
42520
  r"""
41455
42521
  :param _SubtitleType: Smart subtitle language type.
41456
- 0: source language1: target language
42522
+ 0: source language
42523
+ 1: target language
41457
42524
  2: source language + target language
41458
- The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
42525
+ The value can only be 0 when TranslateSwitch is set to OFF. The value can only be 1 or 2 when TranslateSwitch is set to ON.
41459
42526
  :type SubtitleType: int
41460
42527
  :param _VideoSrcLanguage: Source language of the video with smart subtitles.
41461
42528
  Supported languages:
@@ -41469,7 +42536,7 @@ yue: Cantonese
41469
42536
  vi: Vietnamese
41470
42537
  ms: Malay
41471
42538
  id: Indonesian
41472
- fli: Filipino
42539
+ fil: Filipino
41473
42540
  th: Thai
41474
42541
  pt: Portuguese
41475
42542
  tr: Turkish
@@ -41529,9 +42596,10 @@ Note: This field may return null, indicating that no valid value can be obtained
41529
42596
  @property
41530
42597
  def SubtitleType(self):
41531
42598
  """Smart subtitle language type.
41532
- 0: source language1: target language
42599
+ 0: source language
42600
+ 1: target language
41533
42601
  2: source language + target language
41534
- The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
42602
+ The value can only be 0 when TranslateSwitch is set to OFF. The value can only be 1 or 2 when TranslateSwitch is set to ON.
41535
42603
  :rtype: int
41536
42604
  """
41537
42605
  return self._SubtitleType
@@ -41554,7 +42622,7 @@ yue: Cantonese
41554
42622
  vi: Vietnamese
41555
42623
  ms: Malay
41556
42624
  id: Indonesian
41557
- fli: Filipino
42625
+ fil: Filipino
41558
42626
  th: Thai
41559
42627
  pt: Portuguese
41560
42628
  tr: Turkish
@@ -41700,6 +42768,12 @@ Default value: 0.
41700
42768
  :type AudioTemplate: :class:`tencentcloud.mps.v20190612.models.AudioTemplateInfo`
41701
42769
  :param _TEHDConfig: TESHD transcoding parameter.
41702
42770
  :type TEHDConfig: :class:`tencentcloud.mps.v20190612.models.TEHDConfig`
42771
+ :param _StdExtInfo: Additional parameter, which is a serialized JSON string.
42772
+ Note: This field may return null, indicating that no valid value can be obtained.
42773
+ :type StdExtInfo: str
42774
+ :param _EnhanceConfig: Audio/Video enhancement configuration.
42775
+ Note: This field may return null, indicating that no valid value can be obtained.
42776
+ :type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
41703
42777
  """
41704
42778
  self._Container = None
41705
42779
  self._RemoveVideo = None
@@ -41707,6 +42781,8 @@ Default value: 0.
41707
42781
  self._VideoTemplate = None
41708
42782
  self._AudioTemplate = None
41709
42783
  self._TEHDConfig = None
42784
+ self._StdExtInfo = None
42785
+ self._EnhanceConfig = None
41710
42786
 
41711
42787
  @property
41712
42788
  def Container(self):
@@ -41780,6 +42856,30 @@ Default value: 0.
41780
42856
  def TEHDConfig(self, TEHDConfig):
41781
42857
  self._TEHDConfig = TEHDConfig
41782
42858
 
42859
+ @property
42860
+ def StdExtInfo(self):
42861
+ """Additional parameter, which is a serialized JSON string.
42862
+ Note: This field may return null, indicating that no valid value can be obtained.
42863
+ :rtype: str
42864
+ """
42865
+ return self._StdExtInfo
42866
+
42867
+ @StdExtInfo.setter
42868
+ def StdExtInfo(self, StdExtInfo):
42869
+ self._StdExtInfo = StdExtInfo
42870
+
42871
+ @property
42872
+ def EnhanceConfig(self):
42873
+ """Audio/Video enhancement configuration.
42874
+ Note: This field may return null, indicating that no valid value can be obtained.
42875
+ :rtype: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
42876
+ """
42877
+ return self._EnhanceConfig
42878
+
42879
+ @EnhanceConfig.setter
42880
+ def EnhanceConfig(self, EnhanceConfig):
42881
+ self._EnhanceConfig = EnhanceConfig
42882
+
41783
42883
 
41784
42884
  def _deserialize(self, params):
41785
42885
  self._Container = params.get("Container")
@@ -41794,6 +42894,10 @@ Default value: 0.
41794
42894
  if params.get("TEHDConfig") is not None:
41795
42895
  self._TEHDConfig = TEHDConfig()
41796
42896
  self._TEHDConfig._deserialize(params.get("TEHDConfig"))
42897
+ self._StdExtInfo = params.get("StdExtInfo")
42898
+ if params.get("EnhanceConfig") is not None:
42899
+ self._EnhanceConfig = EnhanceConfig()
42900
+ self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
41797
42901
  memeber_set = set(params.keys())
41798
42902
  for name, value in vars(self).items():
41799
42903
  property_name = name[1:]
@@ -44606,6 +45710,125 @@ Note: This field may return null, indicating that no valid value can be obtained
44606
45710
 
44607
45711
 
44608
45712
 
45713
+ class SmartSubtitleTaskBatchOutput(AbstractModel):
45714
+ """Output information for smart subtitle tasks.
45715
+
45716
+ """
45717
+
45718
+ def __init__(self):
45719
+ r"""
45720
+ :param _Progress: Task progress.
45721
+ :type Progress: int
45722
+ :param _Status: Task status, including PROCESSING, SUCCESS, and FAIL.
45723
+ :type Status: str
45724
+ :param _ErrCodeExt: Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
45725
+ :type ErrCodeExt: str
45726
+ :param _Message: Error message.
45727
+ :type Message: str
45728
+ :param _TransTextTask: Translation task output information.
45729
+ Note: This field may return null, indicating that no valid value can be obtained.
45730
+ :type TransTextTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskTransTextResultOutput`
45731
+ :param _AsrFullTextTask: Output information on the full speech recognition task.
45732
+ Note: This field may return null, indicating that no valid value can be obtained.
45733
+ :type AsrFullTextTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskAsrFullTextResultOutput`
45734
+ """
45735
+ self._Progress = None
45736
+ self._Status = None
45737
+ self._ErrCodeExt = None
45738
+ self._Message = None
45739
+ self._TransTextTask = None
45740
+ self._AsrFullTextTask = None
45741
+
45742
+ @property
45743
+ def Progress(self):
45744
+ """Task progress.
45745
+ :rtype: int
45746
+ """
45747
+ return self._Progress
45748
+
45749
+ @Progress.setter
45750
+ def Progress(self, Progress):
45751
+ self._Progress = Progress
45752
+
45753
+ @property
45754
+ def Status(self):
45755
+ """Task status, including PROCESSING, SUCCESS, and FAIL.
45756
+ :rtype: str
45757
+ """
45758
+ return self._Status
45759
+
45760
+ @Status.setter
45761
+ def Status(self, Status):
45762
+ self._Status = Status
45763
+
45764
+ @property
45765
+ def ErrCodeExt(self):
45766
+ """Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
45767
+ :rtype: str
45768
+ """
45769
+ return self._ErrCodeExt
45770
+
45771
+ @ErrCodeExt.setter
45772
+ def ErrCodeExt(self, ErrCodeExt):
45773
+ self._ErrCodeExt = ErrCodeExt
45774
+
45775
+ @property
45776
+ def Message(self):
45777
+ """Error message.
45778
+ :rtype: str
45779
+ """
45780
+ return self._Message
45781
+
45782
+ @Message.setter
45783
+ def Message(self, Message):
45784
+ self._Message = Message
45785
+
45786
+ @property
45787
+ def TransTextTask(self):
45788
+ """Translation task output information.
45789
+ Note: This field may return null, indicating that no valid value can be obtained.
45790
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskTransTextResultOutput`
45791
+ """
45792
+ return self._TransTextTask
45793
+
45794
+ @TransTextTask.setter
45795
+ def TransTextTask(self, TransTextTask):
45796
+ self._TransTextTask = TransTextTask
45797
+
45798
+ @property
45799
+ def AsrFullTextTask(self):
45800
+ """Output information on the full speech recognition task.
45801
+ Note: This field may return null, indicating that no valid value can be obtained.
45802
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitleTaskAsrFullTextResultOutput`
45803
+ """
45804
+ return self._AsrFullTextTask
45805
+
45806
+ @AsrFullTextTask.setter
45807
+ def AsrFullTextTask(self, AsrFullTextTask):
45808
+ self._AsrFullTextTask = AsrFullTextTask
45809
+
45810
+
45811
+ def _deserialize(self, params):
45812
+ self._Progress = params.get("Progress")
45813
+ self._Status = params.get("Status")
45814
+ self._ErrCodeExt = params.get("ErrCodeExt")
45815
+ self._Message = params.get("Message")
45816
+ if params.get("TransTextTask") is not None:
45817
+ self._TransTextTask = SmartSubtitleTaskTransTextResultOutput()
45818
+ self._TransTextTask._deserialize(params.get("TransTextTask"))
45819
+ if params.get("AsrFullTextTask") is not None:
45820
+ self._AsrFullTextTask = SmartSubtitleTaskAsrFullTextResultOutput()
45821
+ self._AsrFullTextTask._deserialize(params.get("AsrFullTextTask"))
45822
+ memeber_set = set(params.keys())
45823
+ for name, value in vars(self).items():
45824
+ property_name = name[1:]
45825
+ if property_name in memeber_set:
45826
+ memeber_set.remove(property_name)
45827
+ if len(memeber_set) > 0:
45828
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
45829
+
45830
+
45831
+
44609
45832
  class SmartSubtitleTaskResultInput(AbstractModel):
44610
45833
  """Smart subtitle translation input.
44611
45834