@alicloud/aimiaobi20230801 1.36.0 → 1.36.1

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 (28) hide show
  1. package/dist/client.js +36 -0
  2. package/dist/client.js.map +1 -1
  3. package/dist/models/AsyncCreateClipsTaskRequest.d.ts +66 -0
  4. package/dist/models/AsyncCreateClipsTaskRequest.js +49 -1
  5. package/dist/models/AsyncCreateClipsTaskRequest.js.map +1 -1
  6. package/dist/models/AsyncCreateClipsTaskShrinkRequest.d.ts +14 -0
  7. package/dist/models/AsyncCreateClipsTaskShrinkRequest.js +12 -0
  8. package/dist/models/AsyncCreateClipsTaskShrinkRequest.js.map +1 -1
  9. package/dist/models/AsyncUploadVideoRequest.d.ts +57 -0
  10. package/dist/models/AsyncUploadVideoRequest.js +59 -1
  11. package/dist/models/AsyncUploadVideoRequest.js.map +1 -1
  12. package/dist/models/AsyncUploadVideoShrinkRequest.d.ts +12 -0
  13. package/dist/models/AsyncUploadVideoShrinkRequest.js +8 -0
  14. package/dist/models/AsyncUploadVideoShrinkRequest.js.map +1 -1
  15. package/dist/models/GetAutoClipsTaskInfoResponseBody.d.ts +66 -0
  16. package/dist/models/GetAutoClipsTaskInfoResponseBody.js +49 -1
  17. package/dist/models/GetAutoClipsTaskInfoResponseBody.js.map +1 -1
  18. package/dist/models/model.d.ts +4 -0
  19. package/dist/models/model.js +42 -34
  20. package/dist/models/model.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client.ts +48 -0
  23. package/src/models/AsyncCreateClipsTaskRequest.ts +105 -0
  24. package/src/models/AsyncCreateClipsTaskShrinkRequest.ts +26 -0
  25. package/src/models/AsyncUploadVideoRequest.ts +97 -0
  26. package/src/models/AsyncUploadVideoShrinkRequest.ts +20 -0
  27. package/src/models/GetAutoClipsTaskInfoResponseBody.ts +105 -0
  28. package/src/models/model.ts +4 -0
package/dist/client.js CHANGED
@@ -207,10 +207,28 @@ class Client extends openapi_core_1.default {
207
207
  if (!$dara.isNull(tmpReq.colorWords)) {
208
208
  request.colorWordsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.colorWords, "ColorWords", "json");
209
209
  }
210
+ if (!$dara.isNull(tmpReq.stickers)) {
211
+ request.stickersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.stickers, "Stickers", "json");
212
+ }
210
213
  let body = {};
214
+ if (!$dara.isNull(request.closeMusic)) {
215
+ body["CloseMusic"] = request.closeMusic;
216
+ }
217
+ if (!$dara.isNull(request.closeSubtitle)) {
218
+ body["CloseSubtitle"] = request.closeSubtitle;
219
+ }
220
+ if (!$dara.isNull(request.closeVoice)) {
221
+ body["CloseVoice"] = request.closeVoice;
222
+ }
211
223
  if (!$dara.isNull(request.colorWordsShrink)) {
212
224
  body["ColorWords"] = request.colorWordsShrink;
213
225
  }
226
+ if (!$dara.isNull(request.customVoiceUrl)) {
227
+ body["CustomVoiceUrl"] = request.customVoiceUrl;
228
+ }
229
+ if (!$dara.isNull(request.customVoiceVolume)) {
230
+ body["CustomVoiceVolume"] = request.customVoiceVolume;
231
+ }
214
232
  if (!$dara.isNull(request.height)) {
215
233
  body["Height"] = request.height;
216
234
  }
@@ -220,6 +238,9 @@ class Client extends openapi_core_1.default {
220
238
  if (!$dara.isNull(request.musicVolume)) {
221
239
  body["MusicVolume"] = request.musicVolume;
222
240
  }
241
+ if (!$dara.isNull(request.stickersShrink)) {
242
+ body["Stickers"] = request.stickersShrink;
243
+ }
223
244
  if (!$dara.isNull(request.subtitleFontSize)) {
224
245
  body["SubtitleFontSize"] = request.subtitleFontSize;
225
246
  }
@@ -433,19 +454,34 @@ class Client extends openapi_core_1.default {
433
454
  if (!$dara.isNull(tmpReq.sourceVideos)) {
434
455
  request.sourceVideosShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceVideos, "SourceVideos", "json");
435
456
  }
457
+ if (!$dara.isNull(tmpReq.videoRoles)) {
458
+ request.videoRolesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "VideoRoles", "json");
459
+ }
436
460
  let body = {};
437
461
  if (!$dara.isNull(request.anlysisPrompt)) {
438
462
  body["AnlysisPrompt"] = request.anlysisPrompt;
439
463
  }
464
+ if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
465
+ body["FaceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
466
+ }
440
467
  if (!$dara.isNull(request.referenceVideoShrink)) {
441
468
  body["ReferenceVideo"] = request.referenceVideoShrink;
442
469
  }
470
+ if (!$dara.isNull(request.removeSubtitle)) {
471
+ body["RemoveSubtitle"] = request.removeSubtitle;
472
+ }
443
473
  if (!$dara.isNull(request.sourceVideosShrink)) {
444
474
  body["SourceVideos"] = request.sourceVideosShrink;
445
475
  }
446
476
  if (!$dara.isNull(request.splitInterval)) {
447
477
  body["SplitInterval"] = request.splitInterval;
448
478
  }
479
+ if (!$dara.isNull(request.videoRolesShrink)) {
480
+ body["VideoRoles"] = request.videoRolesShrink;
481
+ }
482
+ if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
483
+ body["VideoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
484
+ }
449
485
  if (!$dara.isNull(request.workspaceId)) {
450
486
  body["WorkspaceId"] = request.workspaceId;
451
487
  }