tencentcloud-sdk-aiart 3.0.882 → 3.0.883
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20221229/models.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4211eb5a917578cb66d4d0497b474003dc7f414
|
|
4
|
+
data.tar.gz: 7a652420de63abdbfbcd8ece98b492fb5867bdf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 645cad198f0e419b162af63a6aed6bfc7998ef2831199306cf00eabeb593be7d146fe0bdb9ba2ded078810c8d5435f13f6076a652307d7c38934dcc3e795b34d
|
|
7
|
+
data.tar.gz: b1ba7f5937afaf1bcacfbed7889ede41596a10718a4a49e7a381ccb0c5579561f5e79fdc3de5a037ec514e91e1fda24fa0da8e0660942b7ea78468fe9b0b87d6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.883
|
data/lib/v20221229/models.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|