tencentcloud-sdk-vclm 3.0.932 → 3.0.934

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20240523/models.rb +82 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a42fa949679653d89f4055e130062a78cfd54ec
4
- data.tar.gz: 1f11bff46114c6f6a28595085b17700e48b731b4
3
+ metadata.gz: 30ee63a279a6ab46b9d360b1fc5e2cd83f8fb4c3
4
+ data.tar.gz: da093392370d45742b7272e16186c3092648f7c4
5
5
  SHA512:
6
- metadata.gz: d71c18571a67ca4154014ddaaf5d6535842fccdaddb3727de839377eadbfc2d3935d874a014e4b0ade1587130db74df90e2c10d496e6b48abd49b00ea28f06a5
7
- data.tar.gz: c859e72ec565d2e48e6726c90d9f676f688e0a7209988f4599beb7e6b898572e6fa9bcad8645e57a0d11d065f9455eb94bd343fa38a22a7ffbc643a5e3b780d3
6
+ metadata.gz: a238cc6b4898320cdfd0a2e2e9286b340604ebb783d35abb6725c36a27db77a60a0c48f152c42672979c8d218eaa7c02cd7258d12d8fc3b132d276003ba6203e
7
+ data.tar.gz: 43ce4b34b5e31dfc7ee170778b71f95d209a6455d832b77d8590c21c8068eacc327e9a8113f9cbd5d0be2c74b2441ddcc3d2adfefb39a2f5135945cd323cdb28
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.932
1
+ 3.0.934
@@ -371,6 +371,68 @@ module TencentCloud
371
371
  end
372
372
  end
373
373
 
374
+ # logo参数
375
+ class LogoParam < TencentCloud::Common::AbstractModel
376
+ # @param LogoUrl: 水印 Url
377
+ # 注意:此字段可能返回 null,表示取不到有效值。
378
+ # @type LogoUrl: String
379
+ # @param LogoImage: 水印 Base64,Url 和 Base64 二选一传入,如果都提供以 Url 为准
380
+ # 注意:此字段可能返回 null,表示取不到有效值。
381
+ # @type LogoImage: String
382
+ # @param LogoRect: 水印图片位于生成结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
383
+ # 注意:此字段可能返回 null,表示取不到有效值。
384
+ # @type LogoRect: :class:`Tencentcloud::Vclm.v20240523.models.LogoRect`
385
+
386
+ attr_accessor :LogoUrl, :LogoImage, :LogoRect
387
+
388
+ def initialize(logourl=nil, logoimage=nil, logorect=nil)
389
+ @LogoUrl = logourl
390
+ @LogoImage = logoimage
391
+ @LogoRect = logorect
392
+ end
393
+
394
+ def deserialize(params)
395
+ @LogoUrl = params['LogoUrl']
396
+ @LogoImage = params['LogoImage']
397
+ unless params['LogoRect'].nil?
398
+ @LogoRect = LogoRect.new
399
+ @LogoRect.deserialize(params['LogoRect'])
400
+ end
401
+ end
402
+ end
403
+
404
+ # 输入框
405
+ class LogoRect < TencentCloud::Common::AbstractModel
406
+ # @param X: 左上角X坐标
407
+ # 注意:此字段可能返回 null,表示取不到有效值。
408
+ # @type X: Integer
409
+ # @param Y: 左上角Y坐标
410
+ # 注意:此字段可能返回 null,表示取不到有效值。
411
+ # @type Y: Integer
412
+ # @param Width: 方框宽度
413
+ # 注意:此字段可能返回 null,表示取不到有效值。
414
+ # @type Width: Integer
415
+ # @param Height: 方框高度
416
+ # 注意:此字段可能返回 null,表示取不到有效值。
417
+ # @type Height: Integer
418
+
419
+ attr_accessor :X, :Y, :Width, :Height
420
+
421
+ def initialize(x=nil, y=nil, width=nil, height=nil)
422
+ @X = x
423
+ @Y = y
424
+ @Width = width
425
+ @Height = height
426
+ end
427
+
428
+ def deserialize(params)
429
+ @X = params['X']
430
+ @Y = params['Y']
431
+ @Width = params['Width']
432
+ @Height = params['Height']
433
+ end
434
+ end
435
+
374
436
  # SubmitImageAnimateJob请求参数结构体
375
437
  class SubmitImageAnimateJobRequest < TencentCloud::Common::AbstractModel
376
438
  # @param ImageUrl: 图片格式:支持PNG、JPG、JPEG格式;
@@ -388,16 +450,27 @@ module TencentCloud
388
450
  # @type EnableBodyJoins: Boolean
389
451
  # @param EnableSegment: 最终视频是否保留原图的背景(该模式对于tuziwu、huajiangwu不生效)
390
452
  # @type EnableSegment: Boolean
391
-
392
- attr_accessor :ImageUrl, :ImageBase64, :TemplateId, :EnableAudio, :EnableBodyJoins, :EnableSegment
393
-
394
- def initialize(imageurl=nil, imagebase64=nil, templateid=nil, enableaudio=nil, enablebodyjoins=nil, enablesegment=nil)
453
+ # @param LogoAdd: 为生成视频添加标识的开关,默认为0。
454
+ # 1:添加标识。
455
+ # 0:不添加标识。
456
+ # 其他数值:默认按1处理。
457
+ # 建议您使用显著标识来提示,该视频是 AI 生成的视频。
458
+ # @type LogoAdd: Integer
459
+ # @param LogoParam: 标识内容设置。
460
+ # 默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
461
+ # @type LogoParam: :class:`Tencentcloud::Vclm.v20240523.models.LogoParam`
462
+
463
+ attr_accessor :ImageUrl, :ImageBase64, :TemplateId, :EnableAudio, :EnableBodyJoins, :EnableSegment, :LogoAdd, :LogoParam
464
+
465
+ def initialize(imageurl=nil, imagebase64=nil, templateid=nil, enableaudio=nil, enablebodyjoins=nil, enablesegment=nil, logoadd=nil, logoparam=nil)
395
466
  @ImageUrl = imageurl
396
467
  @ImageBase64 = imagebase64
397
468
  @TemplateId = templateid
398
469
  @EnableAudio = enableaudio
399
470
  @EnableBodyJoins = enablebodyjoins
400
471
  @EnableSegment = enablesegment
472
+ @LogoAdd = logoadd
473
+ @LogoParam = logoparam
401
474
  end
402
475
 
403
476
  def deserialize(params)
@@ -407,6 +480,11 @@ module TencentCloud
407
480
  @EnableAudio = params['EnableAudio']
408
481
  @EnableBodyJoins = params['EnableBodyJoins']
409
482
  @EnableSegment = params['EnableSegment']
483
+ @LogoAdd = params['LogoAdd']
484
+ unless params['LogoParam'].nil?
485
+ @LogoParam = LogoParam.new
486
+ @LogoParam.deserialize(params['LogoParam'])
487
+ end
410
488
  end
411
489
  end
412
490
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vclm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.932
4
+ version: 3.0.934
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common