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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +19 -21
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9983203b8877d72c5042553b017de291343e6d7
4
- data.tar.gz: 89c2ed0ceee51e6daf8448ba2f63996a5078dee8
3
+ metadata.gz: 29cd62ff4b5111b8d14d16eeb24adf4c17de81eb
4
+ data.tar.gz: f8c818acb3f07539753756b04be44ad71d0007dc
5
5
  SHA512:
6
- metadata.gz: f532acd7418b60cd8a1fada16e61f20e45aa397b6a1aaa7121a7df6f2e048561d6ea15e3a4b2d6e84b163a253001a8643079818241568116869472973d5db82a
7
- data.tar.gz: 062563ecea84b70f0d49113976715ea85c283c1a2f6ffc09e743eec4521e0370f5d07e80f110d3ee249a3f072ed8083a4981f042718784d7d9984a70600db460
6
+ metadata.gz: b9e1b95f2b6037578ce1ddbfcd765f6ff7b85f5f56632719f495d215d818de4a30a883e097361775666dd41c0397c14709fa8363be85a79260cc968821c0eb98
7
+ data.tar.gz: 9c2c6425d12a4161c54adcc56984a99881913f73465bac7001b4607db8e4ce08fed8ebdcbd3120b63752e10d45f1117fbdb21764871816c275d01b6e37d71435
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1196
1
+ 3.0.1200
@@ -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.1196
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-05 00:00:00.000000000 Z
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