tencentcloud-sdk-vod 3.0.1201 → 3.0.1202
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/v20180717/client.rb +48 -0
- data/lib/v20180717/models.rb +264 -0
- 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: b72a4f62f3d3abf34e6e60c50904415274437cc8
|
|
4
|
+
data.tar.gz: 39eafd5202a681561c007bc97383b868a5d6886f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 309de936c7ae085e22f9ce970ee733d9792b54eabad63557f78ed27ec18db91fb1f5a515a1ce0e3b58b427a72f62cb8db8206ab0ee48603d684c328d98753b89
|
|
7
|
+
data.tar.gz: 24ef3bcb2c40acb96fd3cbc8cbe92bc28f6e93b8a55a91ae4cc450ca394775f0224baa74d2c7e31c39e95e3694abf65c52aff63c10ed5cff3e10e912f8ab7cf7
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1202
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -236,6 +236,30 @@ module TencentCloud
|
|
|
236
236
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
237
237
|
end
|
|
238
238
|
|
|
239
|
+
# 调用该接口,针对指定模型进行主体创建。
|
|
240
|
+
|
|
241
|
+
# @param request: Request instance for CreateAigcCustomElement.
|
|
242
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateAigcCustomElementRequest`
|
|
243
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateAigcCustomElementResponse`
|
|
244
|
+
def CreateAigcCustomElement(request)
|
|
245
|
+
body = send_request('CreateAigcCustomElement', request.serialize)
|
|
246
|
+
response = JSON.parse(body)
|
|
247
|
+
if response['Response'].key?('Error') == false
|
|
248
|
+
model = CreateAigcCustomElementResponse.new
|
|
249
|
+
model.deserialize(response['Response'])
|
|
250
|
+
model
|
|
251
|
+
else
|
|
252
|
+
code = response['Response']['Error']['Code']
|
|
253
|
+
message = response['Response']['Error']['Message']
|
|
254
|
+
reqid = response['Response']['RequestId']
|
|
255
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
256
|
+
end
|
|
257
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
258
|
+
raise e
|
|
259
|
+
rescue StandardError => e
|
|
260
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
261
|
+
end
|
|
262
|
+
|
|
239
263
|
# 该接口用于[生成 AIGC 图片](https://cloud.tencent.com/document/product/266/124473)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用,</b>请参考点播 [AIGC 生图片计费文档](https://cloud.tencent.com/document/product/266/95125#9c4dc6ff-4b3f-4b25-bf2d-393889dfb9ac)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
|
|
240
264
|
|
|
241
265
|
# @param request: Request instance for CreateAigcImageTask.
|
|
@@ -816,6 +840,30 @@ module TencentCloud
|
|
|
816
840
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
817
841
|
end
|
|
818
842
|
|
|
843
|
+
# 该接口用于生成场景化 AIGC 图片。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用。</b>
|
|
844
|
+
|
|
845
|
+
# @param request: Request instance for CreateSceneAigcVideoTask.
|
|
846
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateSceneAigcVideoTaskRequest`
|
|
847
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateSceneAigcVideoTaskResponse`
|
|
848
|
+
def CreateSceneAigcVideoTask(request)
|
|
849
|
+
body = send_request('CreateSceneAigcVideoTask', request.serialize)
|
|
850
|
+
response = JSON.parse(body)
|
|
851
|
+
if response['Response'].key?('Error') == false
|
|
852
|
+
model = CreateSceneAigcVideoTaskResponse.new
|
|
853
|
+
model.deserialize(response['Response'])
|
|
854
|
+
model
|
|
855
|
+
else
|
|
856
|
+
code = response['Response']['Error']['Code']
|
|
857
|
+
message = response['Response']['Error']['Message']
|
|
858
|
+
reqid = response['Response']['RequestId']
|
|
859
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
860
|
+
end
|
|
861
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
862
|
+
raise e
|
|
863
|
+
rescue StandardError => e
|
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
865
|
+
end
|
|
866
|
+
|
|
819
867
|
# 创建用户自定义指定时间点截图模板,数量上限:16。
|
|
820
868
|
|
|
821
869
|
# @param request: Request instance for CreateSnapshotByTimeOffsetTemplate.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -4446,6 +4446,30 @@ module TencentCloud
|
|
|
4446
4446
|
end
|
|
4447
4447
|
end
|
|
4448
4448
|
|
|
4449
|
+
# 场景化 AIGC 生图配置。
|
|
4450
|
+
class AigcVideoSceneInfo < TencentCloud::Common::AbstractModel
|
|
4451
|
+
# @param Type: AI生视频场景类型,可选值:
|
|
4452
|
+
# - product_showcase: 产品360度展示。
|
|
4453
|
+
# @type Type: String
|
|
4454
|
+
# @param ProductShowcaseConfig: 产品展示参数
|
|
4455
|
+
# @type ProductShowcaseConfig: :class:`Tencentcloud::Vod.v20180717.models.ProductShowcaseConfig`
|
|
4456
|
+
|
|
4457
|
+
attr_accessor :Type, :ProductShowcaseConfig
|
|
4458
|
+
|
|
4459
|
+
def initialize(type=nil, productshowcaseconfig=nil)
|
|
4460
|
+
@Type = type
|
|
4461
|
+
@ProductShowcaseConfig = productshowcaseconfig
|
|
4462
|
+
end
|
|
4463
|
+
|
|
4464
|
+
def deserialize(params)
|
|
4465
|
+
@Type = params['Type']
|
|
4466
|
+
unless params['ProductShowcaseConfig'].nil?
|
|
4467
|
+
@ProductShowcaseConfig = ProductShowcaseConfig.new
|
|
4468
|
+
@ProductShowcaseConfig.deserialize(params['ProductShowcaseConfig'])
|
|
4469
|
+
end
|
|
4470
|
+
end
|
|
4471
|
+
end
|
|
4472
|
+
|
|
4449
4473
|
# AIGC 生视频任务信息
|
|
4450
4474
|
class AigcVideoTask < TencentCloud::Common::AbstractModel
|
|
4451
4475
|
# @param TaskId: 任务 ID。
|
|
@@ -7326,6 +7350,66 @@ module TencentCloud
|
|
|
7326
7350
|
end
|
|
7327
7351
|
end
|
|
7328
7352
|
|
|
7353
|
+
# CreateAigcCustomElement请求参数结构体
|
|
7354
|
+
class CreateAigcCustomElementRequest < TencentCloud::Common::AbstractModel
|
|
7355
|
+
# @param ElementName: 主体名称。不能超过20个字符
|
|
7356
|
+
# @type ElementName: String
|
|
7357
|
+
# @param ElementDescription: 主体描述。
|
|
7358
|
+
|
|
7359
|
+
# 不能超过100个字符。
|
|
7360
|
+
# @type ElementDescription: String
|
|
7361
|
+
# @param ElementFrontalImage: 主体正面参考图。
|
|
7362
|
+
# 支持传入图片URL(确保可访问)
|
|
7363
|
+
# 图片格式支持.jpg / .jpeg / .png
|
|
7364
|
+
# 图片文件大小不能超过10MB,图片宽高尺寸不小于300px,图片宽高比要在1:2.5 ~ 2.5:1之间。
|
|
7365
|
+
# @type ElementFrontalImage: String
|
|
7366
|
+
# @param ElementReferList: 主体其他参考列表 可通过上传多张、不同角度的主体参考图来定义主体外观 至少上传1张参考图,至多上传3张参考图。
|
|
7367
|
+
# @type ElementReferList: Array
|
|
7368
|
+
|
|
7369
|
+
attr_accessor :ElementName, :ElementDescription, :ElementFrontalImage, :ElementReferList
|
|
7370
|
+
|
|
7371
|
+
def initialize(elementname=nil, elementdescription=nil, elementfrontalimage=nil, elementreferlist=nil)
|
|
7372
|
+
@ElementName = elementname
|
|
7373
|
+
@ElementDescription = elementdescription
|
|
7374
|
+
@ElementFrontalImage = elementfrontalimage
|
|
7375
|
+
@ElementReferList = elementreferlist
|
|
7376
|
+
end
|
|
7377
|
+
|
|
7378
|
+
def deserialize(params)
|
|
7379
|
+
@ElementName = params['ElementName']
|
|
7380
|
+
@ElementDescription = params['ElementDescription']
|
|
7381
|
+
@ElementFrontalImage = params['ElementFrontalImage']
|
|
7382
|
+
unless params['ElementReferList'].nil?
|
|
7383
|
+
@ElementReferList = []
|
|
7384
|
+
params['ElementReferList'].each do |i|
|
|
7385
|
+
elementreferinfo_tmp = ElementReferInfo.new
|
|
7386
|
+
elementreferinfo_tmp.deserialize(i)
|
|
7387
|
+
@ElementReferList << elementreferinfo_tmp
|
|
7388
|
+
end
|
|
7389
|
+
end
|
|
7390
|
+
end
|
|
7391
|
+
end
|
|
7392
|
+
|
|
7393
|
+
# CreateAigcCustomElement返回参数结构体
|
|
7394
|
+
class CreateAigcCustomElementResponse < TencentCloud::Common::AbstractModel
|
|
7395
|
+
# @param ElementId: 主体ID。需自行记录下返回的主体ID。
|
|
7396
|
+
# @type ElementId: String
|
|
7397
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7398
|
+
# @type RequestId: String
|
|
7399
|
+
|
|
7400
|
+
attr_accessor :ElementId, :RequestId
|
|
7401
|
+
|
|
7402
|
+
def initialize(elementid=nil, requestid=nil)
|
|
7403
|
+
@ElementId = elementid
|
|
7404
|
+
@RequestId = requestid
|
|
7405
|
+
end
|
|
7406
|
+
|
|
7407
|
+
def deserialize(params)
|
|
7408
|
+
@ElementId = params['ElementId']
|
|
7409
|
+
@RequestId = params['RequestId']
|
|
7410
|
+
end
|
|
7411
|
+
end
|
|
7412
|
+
|
|
7329
7413
|
# CreateAigcImageTask请求参数结构体
|
|
7330
7414
|
class CreateAigcImageTaskRequest < TencentCloud::Common::AbstractModel
|
|
7331
7415
|
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
@@ -9108,6 +9192,84 @@ module TencentCloud
|
|
|
9108
9192
|
end
|
|
9109
9193
|
end
|
|
9110
9194
|
|
|
9195
|
+
# CreateSceneAigcVideoTask请求参数结构体
|
|
9196
|
+
class CreateSceneAigcVideoTaskRequest < TencentCloud::Common::AbstractModel
|
|
9197
|
+
# @param SubAppId: **点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。**
|
|
9198
|
+
# @type SubAppId: Integer
|
|
9199
|
+
# @param SceneInfo: 场景化生视频参数配置。
|
|
9200
|
+
# @type SceneInfo: :class:`Tencentcloud::Vod.v20180717.models.AigcVideoSceneInfo`
|
|
9201
|
+
# @param OutputConfig: 场景化生视频任务的输出媒体文件配置。
|
|
9202
|
+
# @type OutputConfig: :class:`Tencentcloud::Vod.v20180717.models.SceneAigcVideoOutputConfig`
|
|
9203
|
+
# @param FileInfos: 输入图片列表,支持的图片格式:jpg、jpeg、png、webp。
|
|
9204
|
+
|
|
9205
|
+
# @type FileInfos: Array
|
|
9206
|
+
# @param SessionId: 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
9207
|
+
# @type SessionId: String
|
|
9208
|
+
# @param SessionContext: 来源上下文,用于透传用户请求信息,音画质重生完成回调将返回该字段值,最长 1000 个字符。
|
|
9209
|
+
# @type SessionContext: String
|
|
9210
|
+
# @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
|
9211
|
+
# @type TasksPriority: Integer
|
|
9212
|
+
# @param ExtInfo: 保留字段,特殊用途时使用。
|
|
9213
|
+
# @type ExtInfo: String
|
|
9214
|
+
|
|
9215
|
+
attr_accessor :SubAppId, :SceneInfo, :OutputConfig, :FileInfos, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
|
|
9216
|
+
|
|
9217
|
+
def initialize(subappid=nil, sceneinfo=nil, outputconfig=nil, fileinfos=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
|
|
9218
|
+
@SubAppId = subappid
|
|
9219
|
+
@SceneInfo = sceneinfo
|
|
9220
|
+
@OutputConfig = outputconfig
|
|
9221
|
+
@FileInfos = fileinfos
|
|
9222
|
+
@SessionId = sessionid
|
|
9223
|
+
@SessionContext = sessioncontext
|
|
9224
|
+
@TasksPriority = taskspriority
|
|
9225
|
+
@ExtInfo = extinfo
|
|
9226
|
+
end
|
|
9227
|
+
|
|
9228
|
+
def deserialize(params)
|
|
9229
|
+
@SubAppId = params['SubAppId']
|
|
9230
|
+
unless params['SceneInfo'].nil?
|
|
9231
|
+
@SceneInfo = AigcVideoSceneInfo.new
|
|
9232
|
+
@SceneInfo.deserialize(params['SceneInfo'])
|
|
9233
|
+
end
|
|
9234
|
+
unless params['OutputConfig'].nil?
|
|
9235
|
+
@OutputConfig = SceneAigcVideoOutputConfig.new
|
|
9236
|
+
@OutputConfig.deserialize(params['OutputConfig'])
|
|
9237
|
+
end
|
|
9238
|
+
unless params['FileInfos'].nil?
|
|
9239
|
+
@FileInfos = []
|
|
9240
|
+
params['FileInfos'].each do |i|
|
|
9241
|
+
sceneaigcvideotaskinputfileinfo_tmp = SceneAigcVideoTaskInputFileInfo.new
|
|
9242
|
+
sceneaigcvideotaskinputfileinfo_tmp.deserialize(i)
|
|
9243
|
+
@FileInfos << sceneaigcvideotaskinputfileinfo_tmp
|
|
9244
|
+
end
|
|
9245
|
+
end
|
|
9246
|
+
@SessionId = params['SessionId']
|
|
9247
|
+
@SessionContext = params['SessionContext']
|
|
9248
|
+
@TasksPriority = params['TasksPriority']
|
|
9249
|
+
@ExtInfo = params['ExtInfo']
|
|
9250
|
+
end
|
|
9251
|
+
end
|
|
9252
|
+
|
|
9253
|
+
# CreateSceneAigcVideoTask返回参数结构体
|
|
9254
|
+
class CreateSceneAigcVideoTaskResponse < TencentCloud::Common::AbstractModel
|
|
9255
|
+
# @param TaskId: 任务 ID。
|
|
9256
|
+
# @type TaskId: String
|
|
9257
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9258
|
+
# @type RequestId: String
|
|
9259
|
+
|
|
9260
|
+
attr_accessor :TaskId, :RequestId
|
|
9261
|
+
|
|
9262
|
+
def initialize(taskid=nil, requestid=nil)
|
|
9263
|
+
@TaskId = taskid
|
|
9264
|
+
@RequestId = requestid
|
|
9265
|
+
end
|
|
9266
|
+
|
|
9267
|
+
def deserialize(params)
|
|
9268
|
+
@TaskId = params['TaskId']
|
|
9269
|
+
@RequestId = params['RequestId']
|
|
9270
|
+
end
|
|
9271
|
+
end
|
|
9272
|
+
|
|
9111
9273
|
# CreateSnapshotByTimeOffsetTemplate请求参数结构体
|
|
9112
9274
|
class CreateSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
|
|
9113
9275
|
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
@@ -15188,6 +15350,24 @@ module TencentCloud
|
|
|
15188
15350
|
end
|
|
15189
15351
|
end
|
|
15190
15352
|
|
|
15353
|
+
# 主体参考信息。
|
|
15354
|
+
class ElementReferInfo < TencentCloud::Common::AbstractModel
|
|
15355
|
+
# @param ImageUrl: 不同角度的主体参考图片URL。
|
|
15356
|
+
# 图片格式支持.jpg / .jpeg / .png
|
|
15357
|
+
# 图片文件大小不能超过10MB,图片宽高尺寸不小于300px,图片宽高比要在1:2.5 ~ 2.5:1之间。
|
|
15358
|
+
# @type ImageUrl: String
|
|
15359
|
+
|
|
15360
|
+
attr_accessor :ImageUrl
|
|
15361
|
+
|
|
15362
|
+
def initialize(imageurl=nil)
|
|
15363
|
+
@ImageUrl = imageurl
|
|
15364
|
+
end
|
|
15365
|
+
|
|
15366
|
+
def deserialize(params)
|
|
15367
|
+
@ImageUrl = params['ImageUrl']
|
|
15368
|
+
end
|
|
15369
|
+
end
|
|
15370
|
+
|
|
15191
15371
|
# 空的轨道片段,用来进行时间轴的占位。如需要两个音频片段之间有一段时间的静音,可以用 EmptyTrackItem 来进行占位。
|
|
15192
15372
|
class EmptyTrackItem < TencentCloud::Common::AbstractModel
|
|
15193
15373
|
# @param Duration: 持续时间,单位为秒。
|
|
@@ -24552,6 +24732,22 @@ module TencentCloud
|
|
|
24552
24732
|
end
|
|
24553
24733
|
end
|
|
24554
24734
|
|
|
24735
|
+
# AI 生成商品360度展示视频参数配置
|
|
24736
|
+
class ProductShowcaseConfig < TencentCloud::Common::AbstractModel
|
|
24737
|
+
# @param CameraMovement: 镜头运动方式。支持的值:AutoMatch(自动匹配)、ZoomIn(推进)、ZoomOut(拉远)、GlideRight(右移)、GlideLeft(左移)、CraneDown(下降)
|
|
24738
|
+
# @type CameraMovement: String
|
|
24739
|
+
|
|
24740
|
+
attr_accessor :CameraMovement
|
|
24741
|
+
|
|
24742
|
+
def initialize(cameramovement=nil)
|
|
24743
|
+
@CameraMovement = cameramovement
|
|
24744
|
+
end
|
|
24745
|
+
|
|
24746
|
+
def deserialize(params)
|
|
24747
|
+
@CameraMovement = params['CameraMovement']
|
|
24748
|
+
end
|
|
24749
|
+
end
|
|
24750
|
+
|
|
24555
24751
|
# 语音违禁任务控制参数
|
|
24556
24752
|
class ProhibitedAsrReviewTemplateInfo < TencentCloud::Common::AbstractModel
|
|
24557
24753
|
# @param Switch: 语音违禁任务开关,可选值:
|
|
@@ -28086,6 +28282,74 @@ module TencentCloud
|
|
|
28086
28282
|
end
|
|
28087
28283
|
end
|
|
28088
28284
|
|
|
28285
|
+
# AIGC 场景化生视频任务的输出媒体文件配置。
|
|
28286
|
+
class SceneAigcVideoOutputConfig < TencentCloud::Common::AbstractModel
|
|
28287
|
+
# @param StorageMode: 存储模式。取值有: <li>Permanent:永久存储,生成的图片文件将存储到云点播,可在事件通知中获取到 FileId;</li> <li>Temporary:临时存储,生成的图片文件不会存储到云点播,可在事件通知中获取到临时访问的 URL;</li>
|
|
28288
|
+
# 默认值:Temporary
|
|
28289
|
+
# @type StorageMode: String
|
|
28290
|
+
# @param MediaName: 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
|
28291
|
+
# @type MediaName: String
|
|
28292
|
+
# @param ClassId: 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
|
28293
|
+
# <li>默认值:0,表示其他分类。</li>
|
|
28294
|
+
# @type ClassId: Integer
|
|
28295
|
+
# @param ExpireTime: 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
28296
|
+
# @type ExpireTime: String
|
|
28297
|
+
# @param AspectRatio: 指定所生成视频的宽高比。输入格式为 W:H。仅生商品图场景有效。可选:16:9、9:16。
|
|
28298
|
+
# @type AspectRatio: String
|
|
28299
|
+
# @param Duration: 生成视频时长。可选值4、6、8秒
|
|
28300
|
+
# @type Duration: Float
|
|
28301
|
+
|
|
28302
|
+
attr_accessor :StorageMode, :MediaName, :ClassId, :ExpireTime, :AspectRatio, :Duration
|
|
28303
|
+
|
|
28304
|
+
def initialize(storagemode=nil, medianame=nil, classid=nil, expiretime=nil, aspectratio=nil, duration=nil)
|
|
28305
|
+
@StorageMode = storagemode
|
|
28306
|
+
@MediaName = medianame
|
|
28307
|
+
@ClassId = classid
|
|
28308
|
+
@ExpireTime = expiretime
|
|
28309
|
+
@AspectRatio = aspectratio
|
|
28310
|
+
@Duration = duration
|
|
28311
|
+
end
|
|
28312
|
+
|
|
28313
|
+
def deserialize(params)
|
|
28314
|
+
@StorageMode = params['StorageMode']
|
|
28315
|
+
@MediaName = params['MediaName']
|
|
28316
|
+
@ClassId = params['ClassId']
|
|
28317
|
+
@ExpireTime = params['ExpireTime']
|
|
28318
|
+
@AspectRatio = params['AspectRatio']
|
|
28319
|
+
@Duration = params['Duration']
|
|
28320
|
+
end
|
|
28321
|
+
end
|
|
28322
|
+
|
|
28323
|
+
# AIGC场景化生图任务输入文件信息
|
|
28324
|
+
class SceneAigcVideoTaskInputFileInfo < TencentCloud::Common::AbstractModel
|
|
28325
|
+
# @param Type: 输入的视频文件类型。取值有: <li>File:点播媒体文件;</li> <li>Url:可访问的 URL;</li>
|
|
28326
|
+
# @type Type: String
|
|
28327
|
+
# @param FileId: 图片文件的媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。当 Type 取值为 File 时,本参数有效。
|
|
28328
|
+
# 说明:
|
|
28329
|
+
# 1. 推荐使用小于7M的图片;
|
|
28330
|
+
# 2. 图片格式的取值为:jpeg,jpg, png, webp。
|
|
28331
|
+
# @type FileId: String
|
|
28332
|
+
# @param Url: 可访问的文件 URL。当 Type 取值为 Url 时,本参数有效。
|
|
28333
|
+
# 说明:
|
|
28334
|
+
# 1. 推荐使用小于7M的图片;
|
|
28335
|
+
# 2. 图片格式的取值为:jpeg,jpg, png, webp。
|
|
28336
|
+
# @type Url: String
|
|
28337
|
+
|
|
28338
|
+
attr_accessor :Type, :FileId, :Url
|
|
28339
|
+
|
|
28340
|
+
def initialize(type=nil, fileid=nil, url=nil)
|
|
28341
|
+
@Type = type
|
|
28342
|
+
@FileId = fileid
|
|
28343
|
+
@Url = url
|
|
28344
|
+
end
|
|
28345
|
+
|
|
28346
|
+
def deserialize(params)
|
|
28347
|
+
@Type = params['Type']
|
|
28348
|
+
@FileId = params['FileId']
|
|
28349
|
+
@Url = params['Url']
|
|
28350
|
+
end
|
|
28351
|
+
end
|
|
28352
|
+
|
|
28089
28353
|
# 去划痕控制信息
|
|
28090
28354
|
class ScratchRepairInfo < TencentCloud::Common::AbstractModel
|
|
28091
28355
|
# @param Switch: 去划痕控制开关,可选值:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1202
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|