alibabacloud-aimiaobi20230801 1.16.0__tar.gz → 1.17.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/ChangeLog.md +8 -0
  2. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/PKG-INFO +1 -1
  3. alibabacloud_aimiaobi20230801-1.17.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
  4. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801/client.py +4 -0
  5. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801/models.py +215 -0
  6. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/setup.py +1 -1
  8. alibabacloud_aimiaobi20230801-1.16.0/alibabacloud_aimiaobi20230801/__init__.py +0 -1
  9. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/LICENSE +0 -0
  10. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/MANIFEST.in +0 -0
  11. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/README-CN.md +0 -0
  12. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/README.md +0 -0
  13. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
  16. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
  17. {alibabacloud_aimiaobi20230801-1.16.0 → alibabacloud_aimiaobi20230801-1.17.0}/setup.cfg +0 -0
@@ -1,3 +1,11 @@
1
+ 2024-12-31 Version: 1.16.0
2
+ - Support API RunBookIntroduction.
3
+ - Support API RunBookSmartCard.
4
+ - Support API RunDocSmartCard.
5
+ - Support API UploadBook.
6
+ - Update API RunStepByStepWriting: update param WritingConfig.
7
+
8
+
1
9
  2024-12-30 Version: 1.15.0
2
10
  - Support API RunBookIntroduction.
3
11
  - Support API RunBookSmartCard.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_aimiaobi20230801
3
- Version: 1.16.0
3
+ Version: 1.17.0
4
4
  Summary: Alibaba Cloud AiMiaoBi (20230801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -13165,6 +13165,8 @@ class Client(OpenApiClient):
13165
13165
  body = {}
13166
13166
  if not UtilClient.is_unset(request.editing_config_shrink):
13167
13167
  body['EditingConfig'] = request.editing_config_shrink
13168
+ if not UtilClient.is_unset(request.extend_param):
13169
+ body['ExtendParam'] = request.extend_param
13168
13170
  if not UtilClient.is_unset(request.input_config_shrink):
13169
13171
  body['InputConfig'] = request.input_config_shrink
13170
13172
  if not UtilClient.is_unset(request.output_config_shrink):
@@ -13214,6 +13216,8 @@ class Client(OpenApiClient):
13214
13216
  body = {}
13215
13217
  if not UtilClient.is_unset(request.editing_config_shrink):
13216
13218
  body['EditingConfig'] = request.editing_config_shrink
13219
+ if not UtilClient.is_unset(request.extend_param):
13220
+ body['ExtendParam'] = request.extend_param
13217
13221
  if not UtilClient.is_unset(request.input_config_shrink):
13218
13222
  body['InputConfig'] = request.input_config_shrink
13219
13223
  if not UtilClient.is_unset(request.output_config_shrink):
@@ -39226,6 +39226,182 @@ class SubmitEnterpriseVocAnalysisTaskResponse(TeaModel):
39226
39226
  return self
39227
39227
 
39228
39228
 
39229
+ class SubmitSmartClipTaskRequestEditingConfigBackgroundMusicConfig(TeaModel):
39230
+ def __init__(
39231
+ self,
39232
+ style: str = None,
39233
+ volume: float = None,
39234
+ ):
39235
+ self.style = style
39236
+ self.volume = volume
39237
+
39238
+ def validate(self):
39239
+ pass
39240
+
39241
+ def to_map(self):
39242
+ _map = super().to_map()
39243
+ if _map is not None:
39244
+ return _map
39245
+
39246
+ result = dict()
39247
+ if self.style is not None:
39248
+ result['Style'] = self.style
39249
+ if self.volume is not None:
39250
+ result['Volume'] = self.volume
39251
+ return result
39252
+
39253
+ def from_map(self, m: dict = None):
39254
+ m = m or dict()
39255
+ if m.get('Style') is not None:
39256
+ self.style = m.get('Style')
39257
+ if m.get('Volume') is not None:
39258
+ self.volume = m.get('Volume')
39259
+ return self
39260
+
39261
+
39262
+ class SubmitSmartClipTaskRequestEditingConfigMediaConfig(TeaModel):
39263
+ def __init__(
39264
+ self,
39265
+ volume: float = None,
39266
+ ):
39267
+ self.volume = volume
39268
+
39269
+ def validate(self):
39270
+ pass
39271
+
39272
+ def to_map(self):
39273
+ _map = super().to_map()
39274
+ if _map is not None:
39275
+ return _map
39276
+
39277
+ result = dict()
39278
+ if self.volume is not None:
39279
+ result['Volume'] = self.volume
39280
+ return result
39281
+
39282
+ def from_map(self, m: dict = None):
39283
+ m = m or dict()
39284
+ if m.get('Volume') is not None:
39285
+ self.volume = m.get('Volume')
39286
+ return self
39287
+
39288
+
39289
+ class SubmitSmartClipTaskRequestEditingConfigSpeechConfigAsrConfig(TeaModel):
39290
+ def __init__(
39291
+ self,
39292
+ alignment: str = None,
39293
+ font: str = None,
39294
+ font_color: str = None,
39295
+ font_size: str = None,
39296
+ spacing: str = None,
39297
+ x: float = None,
39298
+ y: float = None,
39299
+ ):
39300
+ self.alignment = alignment
39301
+ self.font = font
39302
+ self.font_color = font_color
39303
+ self.font_size = font_size
39304
+ self.spacing = spacing
39305
+ self.x = x
39306
+ self.y = y
39307
+
39308
+ def validate(self):
39309
+ pass
39310
+
39311
+ def to_map(self):
39312
+ _map = super().to_map()
39313
+ if _map is not None:
39314
+ return _map
39315
+
39316
+ result = dict()
39317
+ if self.alignment is not None:
39318
+ result['Alignment'] = self.alignment
39319
+ if self.font is not None:
39320
+ result['Font'] = self.font
39321
+ if self.font_color is not None:
39322
+ result['FontColor'] = self.font_color
39323
+ if self.font_size is not None:
39324
+ result['FontSize'] = self.font_size
39325
+ if self.spacing is not None:
39326
+ result['Spacing'] = self.spacing
39327
+ if self.x is not None:
39328
+ result['X'] = self.x
39329
+ if self.y is not None:
39330
+ result['Y'] = self.y
39331
+ return result
39332
+
39333
+ def from_map(self, m: dict = None):
39334
+ m = m or dict()
39335
+ if m.get('Alignment') is not None:
39336
+ self.alignment = m.get('Alignment')
39337
+ if m.get('Font') is not None:
39338
+ self.font = m.get('Font')
39339
+ if m.get('FontColor') is not None:
39340
+ self.font_color = m.get('FontColor')
39341
+ if m.get('FontSize') is not None:
39342
+ self.font_size = m.get('FontSize')
39343
+ if m.get('Spacing') is not None:
39344
+ self.spacing = m.get('Spacing')
39345
+ if m.get('X') is not None:
39346
+ self.x = m.get('X')
39347
+ if m.get('Y') is not None:
39348
+ self.y = m.get('Y')
39349
+ return self
39350
+
39351
+
39352
+ class SubmitSmartClipTaskRequestEditingConfigSpeechConfig(TeaModel):
39353
+ def __init__(
39354
+ self,
39355
+ asr_config: SubmitSmartClipTaskRequestEditingConfigSpeechConfigAsrConfig = None,
39356
+ speech_rate: float = None,
39357
+ style: str = None,
39358
+ voice: str = None,
39359
+ volume: float = None,
39360
+ ):
39361
+ self.asr_config = asr_config
39362
+ self.speech_rate = speech_rate
39363
+ self.style = style
39364
+ self.voice = voice
39365
+ self.volume = volume
39366
+
39367
+ def validate(self):
39368
+ if self.asr_config:
39369
+ self.asr_config.validate()
39370
+
39371
+ def to_map(self):
39372
+ _map = super().to_map()
39373
+ if _map is not None:
39374
+ return _map
39375
+
39376
+ result = dict()
39377
+ if self.asr_config is not None:
39378
+ result['AsrConfig'] = self.asr_config.to_map()
39379
+ if self.speech_rate is not None:
39380
+ result['SpeechRate'] = self.speech_rate
39381
+ if self.style is not None:
39382
+ result['Style'] = self.style
39383
+ if self.voice is not None:
39384
+ result['Voice'] = self.voice
39385
+ if self.volume is not None:
39386
+ result['Volume'] = self.volume
39387
+ return result
39388
+
39389
+ def from_map(self, m: dict = None):
39390
+ m = m or dict()
39391
+ if m.get('AsrConfig') is not None:
39392
+ temp_model = SubmitSmartClipTaskRequestEditingConfigSpeechConfigAsrConfig()
39393
+ self.asr_config = temp_model.from_map(m['AsrConfig'])
39394
+ if m.get('SpeechRate') is not None:
39395
+ self.speech_rate = m.get('SpeechRate')
39396
+ if m.get('Style') is not None:
39397
+ self.style = m.get('Style')
39398
+ if m.get('Voice') is not None:
39399
+ self.voice = m.get('Voice')
39400
+ if m.get('Volume') is not None:
39401
+ self.volume = m.get('Volume')
39402
+ return self
39403
+
39404
+
39229
39405
  class SubmitSmartClipTaskRequestEditingConfigTitleConfig(TeaModel):
39230
39406
  def __init__(
39231
39407
  self,
@@ -39280,11 +39456,23 @@ class SubmitSmartClipTaskRequestEditingConfigTitleConfig(TeaModel):
39280
39456
  class SubmitSmartClipTaskRequestEditingConfig(TeaModel):
39281
39457
  def __init__(
39282
39458
  self,
39459
+ background_music_config: SubmitSmartClipTaskRequestEditingConfigBackgroundMusicConfig = None,
39460
+ media_config: SubmitSmartClipTaskRequestEditingConfigMediaConfig = None,
39461
+ speech_config: SubmitSmartClipTaskRequestEditingConfigSpeechConfig = None,
39283
39462
  title_config: SubmitSmartClipTaskRequestEditingConfigTitleConfig = None,
39284
39463
  ):
39464
+ self.background_music_config = background_music_config
39465
+ self.media_config = media_config
39466
+ self.speech_config = speech_config
39285
39467
  self.title_config = title_config
39286
39468
 
39287
39469
  def validate(self):
39470
+ if self.background_music_config:
39471
+ self.background_music_config.validate()
39472
+ if self.media_config:
39473
+ self.media_config.validate()
39474
+ if self.speech_config:
39475
+ self.speech_config.validate()
39288
39476
  if self.title_config:
39289
39477
  self.title_config.validate()
39290
39478
 
@@ -39294,12 +39482,27 @@ class SubmitSmartClipTaskRequestEditingConfig(TeaModel):
39294
39482
  return _map
39295
39483
 
39296
39484
  result = dict()
39485
+ if self.background_music_config is not None:
39486
+ result['BackgroundMusicConfig'] = self.background_music_config.to_map()
39487
+ if self.media_config is not None:
39488
+ result['MediaConfig'] = self.media_config.to_map()
39489
+ if self.speech_config is not None:
39490
+ result['SpeechConfig'] = self.speech_config.to_map()
39297
39491
  if self.title_config is not None:
39298
39492
  result['TitleConfig'] = self.title_config.to_map()
39299
39493
  return result
39300
39494
 
39301
39495
  def from_map(self, m: dict = None):
39302
39496
  m = m or dict()
39497
+ if m.get('BackgroundMusicConfig') is not None:
39498
+ temp_model = SubmitSmartClipTaskRequestEditingConfigBackgroundMusicConfig()
39499
+ self.background_music_config = temp_model.from_map(m['BackgroundMusicConfig'])
39500
+ if m.get('MediaConfig') is not None:
39501
+ temp_model = SubmitSmartClipTaskRequestEditingConfigMediaConfig()
39502
+ self.media_config = temp_model.from_map(m['MediaConfig'])
39503
+ if m.get('SpeechConfig') is not None:
39504
+ temp_model = SubmitSmartClipTaskRequestEditingConfigSpeechConfig()
39505
+ self.speech_config = temp_model.from_map(m['SpeechConfig'])
39303
39506
  if m.get('TitleConfig') is not None:
39304
39507
  temp_model = SubmitSmartClipTaskRequestEditingConfigTitleConfig()
39305
39508
  self.title_config = temp_model.from_map(m['TitleConfig'])
@@ -39608,11 +39811,13 @@ class SubmitSmartClipTaskRequest(TeaModel):
39608
39811
  def __init__(
39609
39812
  self,
39610
39813
  editing_config: SubmitSmartClipTaskRequestEditingConfig = None,
39814
+ extend_param: str = None,
39611
39815
  input_config: SubmitSmartClipTaskRequestInputConfig = None,
39612
39816
  output_config: SubmitSmartClipTaskRequestOutputConfig = None,
39613
39817
  workspace_id: str = None,
39614
39818
  ):
39615
39819
  self.editing_config = editing_config
39820
+ self.extend_param = extend_param
39616
39821
  # This parameter is required.
39617
39822
  self.input_config = input_config
39618
39823
  self.output_config = output_config
@@ -39635,6 +39840,8 @@ class SubmitSmartClipTaskRequest(TeaModel):
39635
39840
  result = dict()
39636
39841
  if self.editing_config is not None:
39637
39842
  result['EditingConfig'] = self.editing_config.to_map()
39843
+ if self.extend_param is not None:
39844
+ result['ExtendParam'] = self.extend_param
39638
39845
  if self.input_config is not None:
39639
39846
  result['InputConfig'] = self.input_config.to_map()
39640
39847
  if self.output_config is not None:
@@ -39648,6 +39855,8 @@ class SubmitSmartClipTaskRequest(TeaModel):
39648
39855
  if m.get('EditingConfig') is not None:
39649
39856
  temp_model = SubmitSmartClipTaskRequestEditingConfig()
39650
39857
  self.editing_config = temp_model.from_map(m['EditingConfig'])
39858
+ if m.get('ExtendParam') is not None:
39859
+ self.extend_param = m.get('ExtendParam')
39651
39860
  if m.get('InputConfig') is not None:
39652
39861
  temp_model = SubmitSmartClipTaskRequestInputConfig()
39653
39862
  self.input_config = temp_model.from_map(m['InputConfig'])
@@ -39663,11 +39872,13 @@ class SubmitSmartClipTaskShrinkRequest(TeaModel):
39663
39872
  def __init__(
39664
39873
  self,
39665
39874
  editing_config_shrink: str = None,
39875
+ extend_param: str = None,
39666
39876
  input_config_shrink: str = None,
39667
39877
  output_config_shrink: str = None,
39668
39878
  workspace_id: str = None,
39669
39879
  ):
39670
39880
  self.editing_config_shrink = editing_config_shrink
39881
+ self.extend_param = extend_param
39671
39882
  # This parameter is required.
39672
39883
  self.input_config_shrink = input_config_shrink
39673
39884
  self.output_config_shrink = output_config_shrink
@@ -39685,6 +39896,8 @@ class SubmitSmartClipTaskShrinkRequest(TeaModel):
39685
39896
  result = dict()
39686
39897
  if self.editing_config_shrink is not None:
39687
39898
  result['EditingConfig'] = self.editing_config_shrink
39899
+ if self.extend_param is not None:
39900
+ result['ExtendParam'] = self.extend_param
39688
39901
  if self.input_config_shrink is not None:
39689
39902
  result['InputConfig'] = self.input_config_shrink
39690
39903
  if self.output_config_shrink is not None:
@@ -39697,6 +39910,8 @@ class SubmitSmartClipTaskShrinkRequest(TeaModel):
39697
39910
  m = m or dict()
39698
39911
  if m.get('EditingConfig') is not None:
39699
39912
  self.editing_config_shrink = m.get('EditingConfig')
39913
+ if m.get('ExtendParam') is not None:
39914
+ self.extend_param = m.get('ExtendParam')
39700
39915
  if m.get('InputConfig') is not None:
39701
39916
  self.input_config_shrink = m.get('InputConfig')
39702
39917
  if m.get('OutputConfig') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-aimiaobi20230801
3
- Version: 1.16.0
3
+ Version: 1.17.0
4
4
  Summary: Alibaba Cloud AiMiaoBi (20230801) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_aimiaobi20230801.
26
26
 
27
- Created on 31/12/2024
27
+ Created on 02/01/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '1.16.0'