tencentcloud-sdk-hunyuan 3.0.942 → 3.0.943
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230901/models.rb +12 -4
- 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: e5124d8e0012375e924bfbb57975e0500a71d978
|
4
|
+
data.tar.gz: a81f3967121e12aad1844094a58210f91c37fd7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e26396151f8af07acd5bb5d834476706c1df1b1db6bffde68534477c060904aea88866bb379639a03b0268534676d9dc5646ed6434d23a38fce61fe6b97445
|
7
|
+
data.tar.gz: 58060a4b252823b11edad442d6f547f9b40ce15dd07204ccaa10af067db3060168d43932c7213423746aaffc810002a87db3dab08aa080158b2194053b57cc87
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.943
|
data/lib/v20230901/models.rb
CHANGED
@@ -287,13 +287,16 @@ module TencentCloud
|
|
287
287
|
# @param Message: 返回值,非流式调用时使用该字段。
|
288
288
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
289
289
|
# @type Message: :class:`Tencentcloud::Hunyuan.v20230901.models.Message`
|
290
|
+
# @param Index: 索引值,流式调用时使用该字段。
|
291
|
+
# @type Index: Integer
|
290
292
|
|
291
|
-
attr_accessor :FinishReason, :Delta, :Message
|
293
|
+
attr_accessor :FinishReason, :Delta, :Message, :Index
|
292
294
|
|
293
|
-
def initialize(finishreason=nil, delta=nil, message=nil)
|
295
|
+
def initialize(finishreason=nil, delta=nil, message=nil, index=nil)
|
294
296
|
@FinishReason = finishreason
|
295
297
|
@Delta = delta
|
296
298
|
@Message = message
|
299
|
+
@Index = index
|
297
300
|
end
|
298
301
|
|
299
302
|
def deserialize(params)
|
@@ -306,6 +309,7 @@ module TencentCloud
|
|
306
309
|
@Message = Message.new
|
307
310
|
@Message.deserialize(params['Message'])
|
308
311
|
end
|
312
|
+
@Index = params['Index']
|
309
313
|
end
|
310
314
|
end
|
311
315
|
|
@@ -1785,6 +1789,8 @@ module TencentCloud
|
|
1785
1789
|
# 算法将根据输入的文本智能生成与之相关的图像。
|
1786
1790
|
# 不能为空,推荐使用中文。最多可传1024个 utf-8 字符。
|
1787
1791
|
# @type Prompt: String
|
1792
|
+
# @param NegativePrompt: 反向提示词。 推荐使用中文。最多可传1024个 utf-8 字符。
|
1793
|
+
# @type NegativePrompt: String
|
1788
1794
|
# @param Style: 绘画风格。
|
1789
1795
|
# 请在 [混元生图风格列表](https://cloud.tencent.com/document/product/1729/105846) 中选择期望的风格,传入风格编号。
|
1790
1796
|
# 不传默认不指定风格。
|
@@ -1814,10 +1820,11 @@ module TencentCloud
|
|
1814
1820
|
# 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
1815
1821
|
# @type LogoParam: :class:`Tencentcloud::Hunyuan.v20230901.models.LogoParam`
|
1816
1822
|
|
1817
|
-
attr_accessor :Prompt, :Style, :Resolution, :Num, :Seed, :Revise, :LogoAdd, :LogoParam
|
1823
|
+
attr_accessor :Prompt, :NegativePrompt, :Style, :Resolution, :Num, :Seed, :Revise, :LogoAdd, :LogoParam
|
1818
1824
|
|
1819
|
-
def initialize(prompt=nil, style=nil, resolution=nil, num=nil, seed=nil, revise=nil, logoadd=nil, logoparam=nil)
|
1825
|
+
def initialize(prompt=nil, negativeprompt=nil, style=nil, resolution=nil, num=nil, seed=nil, revise=nil, logoadd=nil, logoparam=nil)
|
1820
1826
|
@Prompt = prompt
|
1827
|
+
@NegativePrompt = negativeprompt
|
1821
1828
|
@Style = style
|
1822
1829
|
@Resolution = resolution
|
1823
1830
|
@Num = num
|
@@ -1829,6 +1836,7 @@ module TencentCloud
|
|
1829
1836
|
|
1830
1837
|
def deserialize(params)
|
1831
1838
|
@Prompt = params['Prompt']
|
1839
|
+
@NegativePrompt = params['NegativePrompt']
|
1832
1840
|
@Style = params['Style']
|
1833
1841
|
@Resolution = params['Resolution']
|
1834
1842
|
@Num = params['Num']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-hunyuan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.943
|
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-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|