tencentcloud-sdk-aiart 3.0.882 → 3.0.883

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 028029f381c8f59605d23f1ceb29462f2b5f49c6
4
- data.tar.gz: 440eca1d0fb7ac00813afaa6296bddb93df05cb2
3
+ metadata.gz: d4211eb5a917578cb66d4d0497b474003dc7f414
4
+ data.tar.gz: 7a652420de63abdbfbcd8ece98b492fb5867bdf2
5
5
  SHA512:
6
- metadata.gz: 04c1173a2f870f625b9ccc185be32b663fa8e857fb39e5159916e5644a2eea02863e210f4bcc0593dfc321dd1b14c2e2c80a1d9f34d69697fa4495db8b8a443a
7
- data.tar.gz: 5d6c7282ebc35214df10efe90ea63a0e8e199049b7e0fce549e1822dbca6346406c94797606bba7e2a3c980028be68145057f25f7e3335baf1bd6f4ed700b999
6
+ metadata.gz: 645cad198f0e419b162af63a6aed6bfc7998ef2831199306cf00eabeb593be7d146fe0bdb9ba2ded078810c8d5435f13f6076a652307d7c38934dcc3e795b34d
7
+ data.tar.gz: b1ba7f5937afaf1bcacfbed7889ede41596a10718a4a49e7a381ccb0c5579561f5e79fdc3de5a037ec514e91e1fda24fa0da8e0660942b7ea78468fe9b0b87d6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.882
1
+ 3.0.883
@@ -547,6 +547,9 @@ module TencentCloud
547
547
  # @param Prompt: 对新背景的文本描述。
548
548
  # 最多支持256个 utf-8 字符,支持中、英文。
549
549
  # @type Prompt: String
550
+ # @param Product: 商品图中的商品主体名称。
551
+ # 建议说明商品主体,否则影响生成效果。
552
+ # @type Product: String
550
553
  # @param MaskUrl: 商品 Mask 图 Url,要求背景透明,保留商品主体。
551
554
  # 如果不传,将自动使用内置的商品分割算法得到 Mask。
552
555
  # 支持自定义上传 Mask,如果该参数不为空,则以实际上传的数据为准。
@@ -569,11 +572,12 @@ module TencentCloud
569
572
  # 生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。
570
573
  # @type RspImgType: String
571
574
 
572
- attr_accessor :ProductUrl, :Prompt, :MaskUrl, :Resolution, :LogoAdd, :LogoParam, :RspImgType
575
+ attr_accessor :ProductUrl, :Prompt, :Product, :MaskUrl, :Resolution, :LogoAdd, :LogoParam, :RspImgType
573
576
 
574
- def initialize(producturl=nil, prompt=nil, maskurl=nil, resolution=nil, logoadd=nil, logoparam=nil, rspimgtype=nil)
577
+ def initialize(producturl=nil, prompt=nil, product=nil, maskurl=nil, resolution=nil, logoadd=nil, logoparam=nil, rspimgtype=nil)
575
578
  @ProductUrl = producturl
576
579
  @Prompt = prompt
580
+ @Product = product
577
581
  @MaskUrl = maskurl
578
582
  @Resolution = resolution
579
583
  @LogoAdd = logoadd
@@ -584,6 +588,7 @@ module TencentCloud
584
588
  def deserialize(params)
585
589
  @ProductUrl = params['ProductUrl']
586
590
  @Prompt = params['Prompt']
591
+ @Product = params['Product']
587
592
  @MaskUrl = params['MaskUrl']
588
593
  @Resolution = params['Resolution']
589
594
  @LogoAdd = params['LogoAdd']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-aiart
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.882
4
+ version: 3.0.883
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-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common