tencentcloud-sdk-mps 3.0.1196 → 3.0.1200
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 +19 -21
- 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: 29cd62ff4b5111b8d14d16eeb24adf4c17de81eb
|
|
4
|
+
data.tar.gz: f8c818acb3f07539753756b04be44ad71d0007dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9e1b95f2b6037578ce1ddbfcd765f6ff7b85f5f56632719f495d215d818de4a30a883e097361775666dd41c0397c14709fa8363be85a79260cc968821c0eb98
|
|
7
|
+
data.tar.gz: 9c2c6425d12a4161c54adcc56984a99881913f73465bac7001b4607db8e4ce08fed8ebdcbd3120b63752e10d45f1117fbdb21764871816c275d01b6e37d71435
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1200
|
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
|
|
@@ -4986,17 +4971,22 @@ module TencentCloud
|
|
|
4986
4971
|
|
|
4987
4972
|
# 注:关于具体模型支持的宽高比例,可查看具体模型官网介绍获取更完整描述。
|
|
4988
4973
|
# @type AspectRatio: String
|
|
4974
|
+
# @param OffPeak: 错峰模型,目前仅支持Vidu模型。
|
|
4975
|
+
# 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
|
|
4976
|
+
# @type OffPeak: Boolean
|
|
4989
4977
|
|
|
4990
|
-
attr_accessor :Resolution, :AspectRatio
|
|
4978
|
+
attr_accessor :Resolution, :AspectRatio, :OffPeak
|
|
4991
4979
|
|
|
4992
|
-
def initialize(resolution=nil, aspectratio=nil)
|
|
4980
|
+
def initialize(resolution=nil, aspectratio=nil, offpeak=nil)
|
|
4993
4981
|
@Resolution = resolution
|
|
4994
4982
|
@AspectRatio = aspectratio
|
|
4983
|
+
@OffPeak = offpeak
|
|
4995
4984
|
end
|
|
4996
4985
|
|
|
4997
4986
|
def deserialize(params)
|
|
4998
4987
|
@Resolution = params['Resolution']
|
|
4999
4988
|
@AspectRatio = params['AspectRatio']
|
|
4989
|
+
@OffPeak = params['OffPeak']
|
|
5000
4990
|
end
|
|
5001
4991
|
end
|
|
5002
4992
|
|
|
@@ -17778,19 +17768,23 @@ module TencentCloud
|
|
|
17778
17768
|
# @type ImageHeight: Integer
|
|
17779
17769
|
# @param ImageWidth: 图片输出宽度,单位:像素。
|
|
17780
17770
|
# @type ImageWidth: Integer
|
|
17771
|
+
# @param ImageSize: 图片输出分辨率,取值:1K/2K/4K。
|
|
17772
|
+
# @type ImageSize: String
|
|
17781
17773
|
|
|
17782
|
-
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth
|
|
17774
|
+
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth, :ImageSize
|
|
17783
17775
|
|
|
17784
|
-
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil)
|
|
17776
|
+
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil, imagesize=nil)
|
|
17785
17777
|
@AspectRatio = aspectratio
|
|
17786
17778
|
@ImageHeight = imageheight
|
|
17787
17779
|
@ImageWidth = imagewidth
|
|
17780
|
+
@ImageSize = imagesize
|
|
17788
17781
|
end
|
|
17789
17782
|
|
|
17790
17783
|
def deserialize(params)
|
|
17791
17784
|
@AspectRatio = params['AspectRatio']
|
|
17792
17785
|
@ImageHeight = params['ImageHeight']
|
|
17793
17786
|
@ImageWidth = params['ImageWidth']
|
|
17787
|
+
@ImageSize = params['ImageSize']
|
|
17794
17788
|
end
|
|
17795
17789
|
end
|
|
17796
17790
|
|
|
@@ -17804,13 +17798,16 @@ module TencentCloud
|
|
|
17804
17798
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
17805
17799
|
# @param SignedUrl: 输出文件的URL。
|
|
17806
17800
|
# @type SignedUrl: String
|
|
17801
|
+
# @param Content: 图生文任务的处理结果。
|
|
17802
|
+
# @type Content: String
|
|
17807
17803
|
|
|
17808
|
-
attr_accessor :Path, :OutputStorage, :SignedUrl
|
|
17804
|
+
attr_accessor :Path, :OutputStorage, :SignedUrl, :Content
|
|
17809
17805
|
|
|
17810
|
-
def initialize(path=nil, outputstorage=nil, signedurl=nil)
|
|
17806
|
+
def initialize(path=nil, outputstorage=nil, signedurl=nil, content=nil)
|
|
17811
17807
|
@Path = path
|
|
17812
17808
|
@OutputStorage = outputstorage
|
|
17813
17809
|
@SignedUrl = signedurl
|
|
17810
|
+
@Content = content
|
|
17814
17811
|
end
|
|
17815
17812
|
|
|
17816
17813
|
def deserialize(params)
|
|
@@ -17820,6 +17817,7 @@ module TencentCloud
|
|
|
17820
17817
|
@OutputStorage.deserialize(params['OutputStorage'])
|
|
17821
17818
|
end
|
|
17822
17819
|
@SignedUrl = params['SignedUrl']
|
|
17820
|
+
@Content = params['Content']
|
|
17823
17821
|
end
|
|
17824
17822
|
end
|
|
17825
17823
|
|
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.1200
|
|
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-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|