tencentcloud-sdk-aiart 3.0.881 → 3.0.882

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20221229/models.rb +10 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00f2367b7332d82cef680e6438800f89716fc8f4
4
- data.tar.gz: 5c96c644d7f3193045a270b3403bdbe435d6f7b9
3
+ metadata.gz: 028029f381c8f59605d23f1ceb29462f2b5f49c6
4
+ data.tar.gz: 440eca1d0fb7ac00813afaa6296bddb93df05cb2
5
5
  SHA512:
6
- metadata.gz: 48ab19e61b3f668df5f65adad31838c195978aa7f18e87d06d28b68febe531bc546594a07e3b106e89f9456560dedbbac346c3c4b92bfb2797f958fd365db71f
7
- data.tar.gz: 2f2e103206215ce22fbf5f28e305e6eb57ae1a82ca57be592bf3eb3b4f9272532da470328b0a6c58ce6b99156b83328a32928d8bcea413d173892ea673d40934
6
+ metadata.gz: 04c1173a2f870f625b9ccc185be32b663fa8e857fb39e5159916e5644a2eea02863e210f4bcc0593dfc321dd1b14c2e2c80a1d9f34d69697fa4495db8b8a443a
7
+ data.tar.gz: 5d6c7282ebc35214df10efe90ea63a0e8e199049b7e0fce549e1822dbca6346406c94797606bba7e2a3c980028be68145057f25f7e3335baf1bd6f4ed700b999
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.881
1
+ 3.0.882
@@ -43,17 +43,21 @@ module TencentCloud
43
43
  # 其他数值:默认按1处理。
44
44
  # 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
45
45
  # @type LogoAdd: Integer
46
+ # @param LogoParam: 标识内容设置。
47
+ # 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
48
+ # @type LogoParam: :class:`Tencentcloud::Aiart.v20221229.models.LogoParam`
46
49
  # @param RspImgType: 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
47
50
  # 生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。
48
51
  # @type RspImgType: String
49
52
 
50
- attr_accessor :ModelUrl, :ClothesUrl, :ClothesType, :LogoAdd, :RspImgType
53
+ attr_accessor :ModelUrl, :ClothesUrl, :ClothesType, :LogoAdd, :LogoParam, :RspImgType
51
54
 
52
- def initialize(modelurl=nil, clothesurl=nil, clothestype=nil, logoadd=nil, rspimgtype=nil)
55
+ def initialize(modelurl=nil, clothesurl=nil, clothestype=nil, logoadd=nil, logoparam=nil, rspimgtype=nil)
53
56
  @ModelUrl = modelurl
54
57
  @ClothesUrl = clothesurl
55
58
  @ClothesType = clothestype
56
59
  @LogoAdd = logoadd
60
+ @LogoParam = logoparam
57
61
  @RspImgType = rspimgtype
58
62
  end
59
63
 
@@ -62,6 +66,10 @@ module TencentCloud
62
66
  @ClothesUrl = params['ClothesUrl']
63
67
  @ClothesType = params['ClothesType']
64
68
  @LogoAdd = params['LogoAdd']
69
+ unless params['LogoParam'].nil?
70
+ @LogoParam = LogoParam.new
71
+ @LogoParam.deserialize(params['LogoParam'])
72
+ end
65
73
  @RspImgType = params['RspImgType']
66
74
  end
67
75
  end
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.881
4
+ version: 3.0.882
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-07 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common