tencentcloud-sdk-mps 3.0.1196 → 3.0.1197
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/v20190612/models.rb +12 -19
- 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: 50f406377648d9b7bfa552898be9563771e90be3
|
|
4
|
+
data.tar.gz: e220d4b964a1c89beebbbe1be1b246d26828863f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc52d322ebb1658ce751b6635b28359d15d80d62e242b9b089a97aa63439b29997010c6d0700e6251727592f9e414381da590096a370dd0a97d97632f24d8a32
|
|
7
|
+
data.tar.gz: ee97fb7634f6db359ef67a4262c0ffe19c0b4d54c3f745653300da002fc698f73f61de2ffeb4c55d301b3261910bfb0dc847eea080d73dbdb56da88b42684f22
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1197
|
data/lib/v20190612/models.rb
CHANGED
|
@@ -4876,7 +4876,6 @@ module TencentCloud
|
|
|
4876
4876
|
|
|
4877
4877
|
# 不同模型支持的宽高比:
|
|
4878
4878
|
# 1. GEM支持:1:1、3:2、2:3、3:4、4:3、4:5、5:4、9:16、16:9 和 21:9。
|
|
4879
|
-
# 2. Jimeng:合用户prompt意图、参考图尺寸,由模型智能判断生图宽高比。
|
|
4880
4879
|
|
|
4881
4880
|
# 注:具体模型的宽高比参数,可查看相应模型官网获取更完整描述。
|
|
4882
4881
|
# @type AspectRatio: String
|
|
@@ -4884,20 +4883,6 @@ module TencentCloud
|
|
|
4884
4883
|
|
|
4885
4884
|
# 支持该参数的模型:
|
|
4886
4885
|
# 支持选择: 720P, 1080P, 2K, 4K。
|
|
4887
|
-
|
|
4888
|
-
# 1. Jimeng推荐通过prompt指定图片分辨率和宽高比。
|
|
4889
|
-
# 2K
|
|
4890
|
-
# 2048x2048 (1:1)
|
|
4891
|
-
# 2304x1728(4:3)
|
|
4892
|
-
# 2496x1664 (3:2)
|
|
4893
|
-
# 2560x1440 (16:9)
|
|
4894
|
-
# 3024x1296 (21:9)
|
|
4895
|
-
# 4K
|
|
4896
|
-
# 4096x4096 (1:1)
|
|
4897
|
-
# 4694x3520(4:3)
|
|
4898
|
-
# 4992x3328 (3:2)
|
|
4899
|
-
# 5404x3040 (16:9)
|
|
4900
|
-
# 6198x2656 (21:9)
|
|
4901
4886
|
# @type Resolution: String
|
|
4902
4887
|
|
|
4903
4888
|
attr_accessor :AspectRatio, :Resolution
|
|
@@ -17778,19 +17763,23 @@ module TencentCloud
|
|
|
17778
17763
|
# @type ImageHeight: Integer
|
|
17779
17764
|
# @param ImageWidth: 图片输出宽度,单位:像素。
|
|
17780
17765
|
# @type ImageWidth: Integer
|
|
17766
|
+
# @param ImageSize: 图片输出分辨率,取值:1K/2K/4K。
|
|
17767
|
+
# @type ImageSize: String
|
|
17781
17768
|
|
|
17782
|
-
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth
|
|
17769
|
+
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth, :ImageSize
|
|
17783
17770
|
|
|
17784
|
-
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil)
|
|
17771
|
+
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil, imagesize=nil)
|
|
17785
17772
|
@AspectRatio = aspectratio
|
|
17786
17773
|
@ImageHeight = imageheight
|
|
17787
17774
|
@ImageWidth = imagewidth
|
|
17775
|
+
@ImageSize = imagesize
|
|
17788
17776
|
end
|
|
17789
17777
|
|
|
17790
17778
|
def deserialize(params)
|
|
17791
17779
|
@AspectRatio = params['AspectRatio']
|
|
17792
17780
|
@ImageHeight = params['ImageHeight']
|
|
17793
17781
|
@ImageWidth = params['ImageWidth']
|
|
17782
|
+
@ImageSize = params['ImageSize']
|
|
17794
17783
|
end
|
|
17795
17784
|
end
|
|
17796
17785
|
|
|
@@ -17804,13 +17793,16 @@ module TencentCloud
|
|
|
17804
17793
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
17805
17794
|
# @param SignedUrl: 输出文件的URL。
|
|
17806
17795
|
# @type SignedUrl: String
|
|
17796
|
+
# @param Content: 图生文任务的处理结果。
|
|
17797
|
+
# @type Content: String
|
|
17807
17798
|
|
|
17808
|
-
attr_accessor :Path, :OutputStorage, :SignedUrl
|
|
17799
|
+
attr_accessor :Path, :OutputStorage, :SignedUrl, :Content
|
|
17809
17800
|
|
|
17810
|
-
def initialize(path=nil, outputstorage=nil, signedurl=nil)
|
|
17801
|
+
def initialize(path=nil, outputstorage=nil, signedurl=nil, content=nil)
|
|
17811
17802
|
@Path = path
|
|
17812
17803
|
@OutputStorage = outputstorage
|
|
17813
17804
|
@SignedUrl = signedurl
|
|
17805
|
+
@Content = content
|
|
17814
17806
|
end
|
|
17815
17807
|
|
|
17816
17808
|
def deserialize(params)
|
|
@@ -17820,6 +17812,7 @@ module TencentCloud
|
|
|
17820
17812
|
@OutputStorage.deserialize(params['OutputStorage'])
|
|
17821
17813
|
end
|
|
17822
17814
|
@SignedUrl = params['SignedUrl']
|
|
17815
|
+
@Content = params['Content']
|
|
17823
17816
|
end
|
|
17824
17817
|
end
|
|
17825
17818
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-mps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1197
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|