tencentcloud-sdk-mps 3.0.1193 → 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 +45 -53
- 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
|
@@ -2764,8 +2764,8 @@ module TencentCloud
|
|
|
2764
2764
|
|
|
2765
2765
|
attr_accessor :SegmentSet, :SubtitlePath, :OutputStorage
|
|
2766
2766
|
extend Gem::Deprecate
|
|
2767
|
-
deprecate :OutputStorage, :none,
|
|
2768
|
-
deprecate :OutputStorage=, :none,
|
|
2767
|
+
deprecate :OutputStorage, :none, 2026, 1
|
|
2768
|
+
deprecate :OutputStorage=, :none, 2026, 1
|
|
2769
2769
|
|
|
2770
2770
|
def initialize(segmentset=nil, subtitlepath=nil, outputstorage=nil)
|
|
2771
2771
|
@SegmentSet = segmentset
|
|
@@ -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
|
|
@@ -4969,10 +4954,9 @@ module TencentCloud
|
|
|
4969
4954
|
# 不同模型支持的分辨率选项:
|
|
4970
4955
|
# 1. Kling 720P(默认), 1080P。
|
|
4971
4956
|
# 2. Hailuo 768P(默认), 1080P。
|
|
4972
|
-
# 3.
|
|
4973
|
-
# 4.
|
|
4974
|
-
# 5.
|
|
4975
|
-
# 6. OS 720P, 图片仅支持1280x720、720x1280,暂不支持指定。
|
|
4957
|
+
# 3. Vidu 720P(默认),1080P。
|
|
4958
|
+
# 4. GV 720P(默认),1080P。
|
|
4959
|
+
# 5. OS 720P, 图片仅支持1280x720、720x1280,暂不支持指定。
|
|
4976
4960
|
|
|
4977
4961
|
# 注意:除模型可支持的分辨率外,还可以生成 2K、4K分辨率。
|
|
4978
4962
|
# @type Resolution: String
|
|
@@ -4981,10 +4965,9 @@ module TencentCloud
|
|
|
4981
4965
|
# 不同模型对于此参数的支持:
|
|
4982
4966
|
# 1. Kling 仅文生视频支持, 16:9(默认值)、9:16、 1:1。
|
|
4983
4967
|
# 2. Hailuo 暂不支持。
|
|
4984
|
-
# 3.
|
|
4985
|
-
# 4.
|
|
4986
|
-
# 5.
|
|
4987
|
-
# 6. OS 仅文生视频支持, 16:9(默认), 9:16。
|
|
4968
|
+
# 3. Vidu 仅文生和参考图生视频 支持[16:9、9:16、4:3、3:4、1:1],其中仅q2支持4:3、3:4。
|
|
4969
|
+
# 4. GV 16:9(默认值)、9:16。
|
|
4970
|
+
# 5. OS 仅文生视频支持, 16:9(默认), 9:16。
|
|
4988
4971
|
|
|
4989
4972
|
# 注:关于具体模型支持的宽高比例,可查看具体模型官网介绍获取更完整描述。
|
|
4990
4973
|
# @type AspectRatio: String
|
|
@@ -7697,13 +7680,11 @@ module TencentCloud
|
|
|
7697
7680
|
# 当前支持的模型列表:
|
|
7698
7681
|
# Hunyuan,
|
|
7699
7682
|
# GEM,
|
|
7700
|
-
# Jimeng,
|
|
7701
7683
|
# Qwen。
|
|
7702
7684
|
# @type ModelName: String
|
|
7703
7685
|
# @param ModelVersion: 指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。
|
|
7704
7686
|
|
|
7705
7687
|
# 1. GEM, 可选[2.5,3.0]。
|
|
7706
|
-
# 2. Jimeng,可选[4.0]。
|
|
7707
7688
|
# @type ModelVersion: String
|
|
7708
7689
|
# @param Prompt: 生成图片的描述。(注:最大支持1000字符)。当未传入参考图片时,此参数必填。
|
|
7709
7690
|
# @type Prompt: String
|
|
@@ -7794,16 +7775,14 @@ module TencentCloud
|
|
|
7794
7775
|
# Hunyuan,
|
|
7795
7776
|
# Hailuo,
|
|
7796
7777
|
# Kling,
|
|
7797
|
-
# Jimeng,
|
|
7798
7778
|
# Vidu,
|
|
7799
7779
|
# OS,
|
|
7800
7780
|
# GV。
|
|
7801
7781
|
# @type ModelName: String
|
|
7802
7782
|
# @param ModelVersion: 指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。
|
|
7803
7783
|
# 1. Hailuo, 可选[02、2.3]。
|
|
7804
|
-
# 2. Kling,可选[2.0、2.1、2.5]。
|
|
7805
|
-
# 3.
|
|
7806
|
-
# 4. Vidu,可选[q2、q2-pro、q2-turbo]。
|
|
7784
|
+
# 2. Kling,可选[2.0、2.1、2.5、O1、2.6]。
|
|
7785
|
+
# 3. Vidu,可选[q2、q2-pro、q2-turbo]。
|
|
7807
7786
|
# 4. GV, 可选[3.1]。
|
|
7808
7787
|
# 5. OS,可选[2.0]。
|
|
7809
7788
|
# @type ModelVersion: String
|
|
@@ -7847,22 +7826,25 @@ module TencentCloud
|
|
|
7847
7826
|
# @param Duration: 生成视频的时长。
|
|
7848
7827
|
# 注意:
|
|
7849
7828
|
# 1. Kling支持 5、10秒。默认: 5秒。
|
|
7850
|
-
# 2.
|
|
7851
|
-
# 3.
|
|
7852
|
-
# 4. Vidu支持1-10秒。
|
|
7829
|
+
# 2. Hailuo的std模式可支持6、10秒,其他仅6秒。默认:6秒。
|
|
7830
|
+
# 3. Vidu支持1-10秒。
|
|
7853
7831
|
# 4. GV支持 8秒。 默认:8秒。
|
|
7854
7832
|
# 5. OS支持4、8、12秒。 默认:8秒。
|
|
7855
7833
|
# @type Duration: Integer
|
|
7856
|
-
# @param ExtraParameters:
|
|
7834
|
+
# @param ExtraParameters: 用于传入要求的额外参数。
|
|
7857
7835
|
# @type ExtraParameters: :class:`Tencentcloud::Mps.v20190612.models.AigcVideoExtraParam`
|
|
7858
7836
|
# @param StoreCosParam: 文件结果指定存储Cos桶信息。 注意:需开通Cos,创建并授权MPS_QcsRole角色。
|
|
7859
7837
|
# @type StoreCosParam: :class:`Tencentcloud::Mps.v20190612.models.AigcStoreCosParam`
|
|
7838
|
+
# @param AdditionalParameters: 用于传入一些模型需要的特殊场景参数,Json格式序列化成字符串。
|
|
7839
|
+
# 示例:
|
|
7840
|
+
# {\"camera_control\":{\"type\":\"simple\"}}
|
|
7841
|
+
# @type AdditionalParameters: String
|
|
7860
7842
|
# @param Operator: 接口操作者名称。
|
|
7861
7843
|
# @type Operator: String
|
|
7862
7844
|
|
|
7863
|
-
attr_accessor :ModelName, :ModelVersion, :Prompt, :NegativePrompt, :EnhancePrompt, :ImageUrl, :LastImageUrl, :ImageInfos, :Duration, :ExtraParameters, :StoreCosParam, :Operator
|
|
7845
|
+
attr_accessor :ModelName, :ModelVersion, :Prompt, :NegativePrompt, :EnhancePrompt, :ImageUrl, :LastImageUrl, :ImageInfos, :Duration, :ExtraParameters, :StoreCosParam, :AdditionalParameters, :Operator
|
|
7864
7846
|
|
|
7865
|
-
def initialize(modelname=nil, modelversion=nil, prompt=nil, negativeprompt=nil, enhanceprompt=nil, imageurl=nil, lastimageurl=nil, imageinfos=nil, duration=nil, extraparameters=nil, storecosparam=nil, operator=nil)
|
|
7847
|
+
def initialize(modelname=nil, modelversion=nil, prompt=nil, negativeprompt=nil, enhanceprompt=nil, imageurl=nil, lastimageurl=nil, imageinfos=nil, duration=nil, extraparameters=nil, storecosparam=nil, additionalparameters=nil, operator=nil)
|
|
7866
7848
|
@ModelName = modelname
|
|
7867
7849
|
@ModelVersion = modelversion
|
|
7868
7850
|
@Prompt = prompt
|
|
@@ -7874,6 +7856,7 @@ module TencentCloud
|
|
|
7874
7856
|
@Duration = duration
|
|
7875
7857
|
@ExtraParameters = extraparameters
|
|
7876
7858
|
@StoreCosParam = storecosparam
|
|
7859
|
+
@AdditionalParameters = additionalparameters
|
|
7877
7860
|
@Operator = operator
|
|
7878
7861
|
end
|
|
7879
7862
|
|
|
@@ -7902,6 +7885,7 @@ module TencentCloud
|
|
|
7902
7885
|
@StoreCosParam = AigcStoreCosParam.new
|
|
7903
7886
|
@StoreCosParam.deserialize(params['StoreCosParam'])
|
|
7904
7887
|
end
|
|
7888
|
+
@AdditionalParameters = params['AdditionalParameters']
|
|
7905
7889
|
@Operator = params['Operator']
|
|
7906
7890
|
end
|
|
7907
7891
|
end
|
|
@@ -8726,8 +8710,8 @@ module TencentCloud
|
|
|
8726
8710
|
|
|
8727
8711
|
attr_accessor :OutputName, :Description, :Protocol, :OutputRegion, :OutputType, :OutputKind, :SRTSettings, :RTMPSettings, :RTPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamSelector
|
|
8728
8712
|
extend Gem::Deprecate
|
|
8729
|
-
deprecate :PidSelector, :none,
|
|
8730
|
-
deprecate :PidSelector=, :none,
|
|
8713
|
+
deprecate :PidSelector, :none, 2026, 1
|
|
8714
|
+
deprecate :PidSelector=, :none, 2026, 1
|
|
8731
8715
|
|
|
8732
8716
|
def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil)
|
|
8733
8717
|
@OutputName = outputname
|
|
@@ -13057,8 +13041,8 @@ module TencentCloud
|
|
|
13057
13041
|
|
|
13058
13042
|
attr_accessor :OutputId, :OutputName, :OutputType, :OutputKind, :Description, :Protocol, :OutputAddressList, :OutputRegion, :SRTSettings, :RTPSettings, :RTMPSettings, :RTMPPullSettings, :AllowIpList, :RTSPPullSettings, :HLSPullSettings, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :PidSelector, :StreamUrls, :StreamSelector
|
|
13059
13043
|
extend Gem::Deprecate
|
|
13060
|
-
deprecate :PidSelector, :none,
|
|
13061
|
-
deprecate :PidSelector=, :none,
|
|
13044
|
+
deprecate :PidSelector, :none, 2026, 1
|
|
13045
|
+
deprecate :PidSelector=, :none, 2026, 1
|
|
13062
13046
|
|
|
13063
13047
|
def initialize(outputid=nil, outputname=nil, outputtype=nil, outputkind=nil, description=nil, protocol=nil, outputaddresslist=nil, outputregion=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, rtmppullsettings=nil, allowiplist=nil, rtsppullsettings=nil, hlspullsettings=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamurls=nil, streamselector=nil)
|
|
13064
13048
|
@OutputId = outputid
|
|
@@ -16283,8 +16267,8 @@ module TencentCloud
|
|
|
16283
16267
|
|
|
16284
16268
|
attr_accessor :TaskType, :EvaluationTypeSet, :EvaluationRangeType, :ContrastInfoSet, :ContrastMediaSet, :ContrastTemplateSet, :StartTime, :EndTime, :StartFrameIndex, :EndFrameIndex, :ResolutionAlignmentMode, :BitrateSet, :VCRFSet
|
|
16285
16269
|
extend Gem::Deprecate
|
|
16286
|
-
deprecate :ContrastInfoSet, :none,
|
|
16287
|
-
deprecate :ContrastInfoSet=, :none,
|
|
16270
|
+
deprecate :ContrastInfoSet, :none, 2026, 1
|
|
16271
|
+
deprecate :ContrastInfoSet=, :none, 2026, 1
|
|
16288
16272
|
|
|
16289
16273
|
def initialize(tasktype=nil, evaluationtypeset=nil, evaluationrangetype=nil, contrastinfoset=nil, contrastmediaset=nil, contrasttemplateset=nil, starttime=nil, endtime=nil, startframeindex=nil, endframeindex=nil, resolutionalignmentmode=nil, bitrateset=nil, vcrfset=nil)
|
|
16290
16274
|
@TaskType = tasktype
|
|
@@ -17779,19 +17763,23 @@ module TencentCloud
|
|
|
17779
17763
|
# @type ImageHeight: Integer
|
|
17780
17764
|
# @param ImageWidth: 图片输出宽度,单位:像素。
|
|
17781
17765
|
# @type ImageWidth: Integer
|
|
17766
|
+
# @param ImageSize: 图片输出分辨率,取值:1K/2K/4K。
|
|
17767
|
+
# @type ImageSize: String
|
|
17782
17768
|
|
|
17783
|
-
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth
|
|
17769
|
+
attr_accessor :AspectRatio, :ImageHeight, :ImageWidth, :ImageSize
|
|
17784
17770
|
|
|
17785
|
-
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil)
|
|
17771
|
+
def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil, imagesize=nil)
|
|
17786
17772
|
@AspectRatio = aspectratio
|
|
17787
17773
|
@ImageHeight = imageheight
|
|
17788
17774
|
@ImageWidth = imagewidth
|
|
17775
|
+
@ImageSize = imagesize
|
|
17789
17776
|
end
|
|
17790
17777
|
|
|
17791
17778
|
def deserialize(params)
|
|
17792
17779
|
@AspectRatio = params['AspectRatio']
|
|
17793
17780
|
@ImageHeight = params['ImageHeight']
|
|
17794
17781
|
@ImageWidth = params['ImageWidth']
|
|
17782
|
+
@ImageSize = params['ImageSize']
|
|
17795
17783
|
end
|
|
17796
17784
|
end
|
|
17797
17785
|
|
|
@@ -17805,13 +17793,16 @@ module TencentCloud
|
|
|
17805
17793
|
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
|
17806
17794
|
# @param SignedUrl: 输出文件的URL。
|
|
17807
17795
|
# @type SignedUrl: String
|
|
17796
|
+
# @param Content: 图生文任务的处理结果。
|
|
17797
|
+
# @type Content: String
|
|
17808
17798
|
|
|
17809
|
-
attr_accessor :Path, :OutputStorage, :SignedUrl
|
|
17799
|
+
attr_accessor :Path, :OutputStorage, :SignedUrl, :Content
|
|
17810
17800
|
|
|
17811
|
-
def initialize(path=nil, outputstorage=nil, signedurl=nil)
|
|
17801
|
+
def initialize(path=nil, outputstorage=nil, signedurl=nil, content=nil)
|
|
17812
17802
|
@Path = path
|
|
17813
17803
|
@OutputStorage = outputstorage
|
|
17814
17804
|
@SignedUrl = signedurl
|
|
17805
|
+
@Content = content
|
|
17815
17806
|
end
|
|
17816
17807
|
|
|
17817
17808
|
def deserialize(params)
|
|
@@ -17821,6 +17812,7 @@ module TencentCloud
|
|
|
17821
17812
|
@OutputStorage.deserialize(params['OutputStorage'])
|
|
17822
17813
|
end
|
|
17823
17814
|
@SignedUrl = params['SignedUrl']
|
|
17815
|
+
@Content = params['Content']
|
|
17824
17816
|
end
|
|
17825
17817
|
end
|
|
17826
17818
|
|
|
@@ -18677,10 +18669,10 @@ module TencentCloud
|
|
|
18677
18669
|
|
|
18678
18670
|
attr_accessor :QualityControlResults, :DiagnoseResults, :QualityControlResultSet, :DiagnoseResultSet
|
|
18679
18671
|
extend Gem::Deprecate
|
|
18680
|
-
deprecate :QualityControlResults, :none,
|
|
18681
|
-
deprecate :QualityControlResults=, :none,
|
|
18682
|
-
deprecate :DiagnoseResults, :none,
|
|
18683
|
-
deprecate :DiagnoseResults=, :none,
|
|
18672
|
+
deprecate :QualityControlResults, :none, 2026, 1
|
|
18673
|
+
deprecate :QualityControlResults=, :none, 2026, 1
|
|
18674
|
+
deprecate :DiagnoseResults, :none, 2026, 1
|
|
18675
|
+
deprecate :DiagnoseResults=, :none, 2026, 1
|
|
18684
18676
|
|
|
18685
18677
|
def initialize(qualitycontrolresults=nil, diagnoseresults=nil, qualitycontrolresultset=nil, diagnoseresultset=nil)
|
|
18686
18678
|
@QualityControlResults = qualitycontrolresults
|
|
@@ -21852,8 +21844,8 @@ module TencentCloud
|
|
|
21852
21844
|
|
|
21853
21845
|
attr_accessor :OutputId, :OutputName, :Description, :Protocol, :OutputKind, :SRTSettings, :RTPSettings, :RTMPSettings, :AllowIpList, :MaxConcurrent, :SecurityGroupIds, :Zones, :RISTSettings, :OutputType, :PidSelector, :StreamSelector
|
|
21854
21846
|
extend Gem::Deprecate
|
|
21855
|
-
deprecate :PidSelector, :none,
|
|
21856
|
-
deprecate :PidSelector=, :none,
|
|
21847
|
+
deprecate :PidSelector, :none, 2026, 1
|
|
21848
|
+
deprecate :PidSelector=, :none, 2026, 1
|
|
21857
21849
|
|
|
21858
21850
|
def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil, streamselector=nil)
|
|
21859
21851
|
@OutputId = outputid
|
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:
|
|
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
|