tencentcloud-sdk-vod 3.0.1190 → 3.0.1191

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/v20180717/models.rb +38 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f097558022685b3cf89e0ba8586f942160464a6
4
- data.tar.gz: 432ac1b53db7e1a7eb468b9cb2242c1e38f09bcb
3
+ metadata.gz: c58ac5e9178f269a5f8852684a82683098d027a1
4
+ data.tar.gz: 4ed2f3e164282b5a48e8fc0c3aea827c4c7c4f54
5
5
  SHA512:
6
- metadata.gz: 14ea16eaf5338364a153baecca6e1755e5ad5f88607f1bd3e1ebe121d49ece427461afef181390d61755f876976d4b9227b6c08906729e814800db5fb9f62b82
7
- data.tar.gz: 5384c9556ce728616c92f2c7f27b76f9b63a4e8fee4876ae5833424cf888f321085a99b1e5c833a8a4af3110fa8307be0f40451b47ab69925198c226ac66895d
6
+ metadata.gz: dda78554857c0b276e79ee1ffaf691b5bdf598281776403aebf12036acacf9527e61d85d8cf1485b228b8f6253969252e06aef640a2a0a644023d7fe8f2046ad
7
+ data.tar.gz: 6133e5b89771f1ffbe729d0f8bb043360e2ef46a23c2a3f34143775feae8c11a1b77e4e1767ead15000b6f9e5bb25dcae854fefce281801701887938f9bd65f3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1190
1
+ 3.0.1191
@@ -4538,19 +4538,37 @@ module TencentCloud
4538
4538
  # 1. 推荐使用小于10M的图片;
4539
4539
  # 2. 图片格式的取值为:jpeg,jpg, png。
4540
4540
  # @type Url: String
4541
+ # @param ReferenceType: 参考类型,GV模型适用。
4542
+ # 注意:
4543
+
4544
+ # 当使用GV模型时,可作为参考方式,可选asset(素材)、style(风格)。
4545
+ # @type ReferenceType: String
4546
+ # @param ObjectId: 主体id.
4547
+ # 适用模型:Vidu-q2.
4548
+ # 当需要对图片标识主体时,需要每个图片都带主体id,后续生成时可以通过@主体id的方式使用。
4549
+ # @type ObjectId: String
4550
+ # @param VoiceId: 适用于Vidu-q2模型。
4551
+ # 当全部图片携带主体id时,可针对主体设置音色id。 音色列表:https://shengshu.feishu.cn/sheets/EgFvs6DShhiEBStmjzccr5gonOg
4552
+ # @type VoiceId: String
4541
4553
 
4542
- attr_accessor :Type, :FileId, :Url
4554
+ attr_accessor :Type, :FileId, :Url, :ReferenceType, :ObjectId, :VoiceId
4543
4555
 
4544
- def initialize(type=nil, fileid=nil, url=nil)
4556
+ def initialize(type=nil, fileid=nil, url=nil, referencetype=nil, objectid=nil, voiceid=nil)
4545
4557
  @Type = type
4546
4558
  @FileId = fileid
4547
4559
  @Url = url
4560
+ @ReferenceType = referencetype
4561
+ @ObjectId = objectid
4562
+ @VoiceId = voiceid
4548
4563
  end
4549
4564
 
4550
4565
  def deserialize(params)
4551
4566
  @Type = params['Type']
4552
4567
  @FileId = params['FileId']
4553
4568
  @Url = params['Url']
4569
+ @ReferenceType = params['ReferenceType']
4570
+ @ObjectId = params['ObjectId']
4571
+ @VoiceId = params['VoiceId']
4554
4572
  end
4555
4573
  end
4556
4574
 
@@ -7236,9 +7254,15 @@ module TencentCloud
7236
7254
  # @type ModelName: String
7237
7255
  # @param ModelVersion: 模型版本。取值:<li>当 ModelName 是 Hailuo,可选值为 02、2.3、2.3-fast;</li><li>当 ModelName 是 Kling,可选值为 1.6、2.0、2.1、2.5、O1;</li><li>当 ModelName 是 Jimeng,可选值为 3.0pro;</li><li>当 ModelName 是 Vidu,可选值为 q2、q2-pro、q2-turbo;</li><li>当 ModelName 是 GV,可选值为 3.1、3.1-Fast;</li><li>当 ModelName 是 OS,可选值为 2.0;</li><li>当 ModelName 是 Hunyuan,可选值为 1.5;</li><li>当 ModelName 是 Mingmou,可选值为 1.0;</li>
7238
7256
  # @type ModelVersion: String
7239
- # @param FileInfos: AIGC 生视频任务的输入图片的文件信息。说明
7240
- # 1. 当 ModelName 是 GV 时,最大长度为 3;其他情况下最大长度为1。
7241
- # 2. 当 ModelName 是 GV 时,并且长度大于1时,则不能再指定 LastFrameFileId 参数。
7257
+ # @param FileInfos: 最多包含三张素材资源图片的列表,用于描述模型在生成视频时要使用的资源图片。
7258
+
7259
+ # 支持多图输入的模型:
7260
+ # 1. GV,使用多图输入时,不可使用LastFrameFileId和LastFrameUrl。
7261
+ # 2. Vidu,支持多图参考生视频。q2模型1-7张图片,可通过FileInfos里面的ObjectId作为主体id来传入。
7262
+
7263
+ # 注意:
7264
+ # 1. 图片大小不超过10M。
7265
+ # 2. 支持的图片格式:jpeg、png。
7242
7266
  # @type FileInfos: Array
7243
7267
  # @param LastFrameFileId: 用于作为尾帧画面来生成视频的媒体文件 ID。该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。说明:
7244
7268
  # 1. 只支持模型 GV 、Kling、Vidu,其他模型暂不支持。当 ModelName 为 GV 时,如果指定该参数,则需同时指定 FileInfos 作为待生成视频的首帧。当 ModelName 为 Kling 、ModelVersion 为 2.1 并且指定输出分辨率 Resolution 为 1080P 时,才能指定该参数。当 ModelName 为 Vidu、ModelVersion 为 q2-pro、q2-turbo 时,才能指定该参数。
@@ -7250,9 +7274,10 @@ module TencentCloud
7250
7274
  # 2. 图片大小需小于5M。
7251
7275
  # 3. 3. 图片格式的取值为:jpeg,jpg, png, webp。
7252
7276
  # @type LastFrameUrl: String
7253
- # @param Prompt: 生成图片的提示词。当 FileInfos 为空时,此参数必填。
7277
+ # @param Prompt: 生成视频的提示词。当 FileInfos 为空时,此参数必填。
7278
+ # 示例值:move the picture
7254
7279
  # @type Prompt: String
7255
- # @param NegativePrompt: 要阻止模型生成图片的提示词。
7280
+ # @param NegativePrompt: 要阻止模型生成视频的提示词。
7256
7281
  # @type NegativePrompt: String
7257
7282
  # @param EnhancePrompt: 是否自动优化提示词。开启时将自动优化传入的 Prompt,以提升生成质量。取值有: <li>Enabled:开启;</li> <li>Disabled:关闭;</li>
7258
7283
  # @type EnhancePrompt: String
@@ -7266,10 +7291,12 @@ module TencentCloud
7266
7291
  # @type TasksPriority: Integer
7267
7292
  # @param ExtInfo: 保留字段,特殊用途时使用。
7268
7293
  # @type ExtInfo: String
7294
+ # @param InputRegion: 输入图片的区域信息。当图片url是国外地址时候,可选Oversea。默认Mainland。
7295
+ # @type InputRegion: String
7269
7296
 
7270
- attr_accessor :SubAppId, :ModelName, :ModelVersion, :FileInfos, :LastFrameFileId, :LastFrameUrl, :Prompt, :NegativePrompt, :EnhancePrompt, :OutputConfig, :SessionId, :SessionContext, :TasksPriority, :ExtInfo
7297
+ attr_accessor :SubAppId, :ModelName, :ModelVersion, :FileInfos, :LastFrameFileId, :LastFrameUrl, :Prompt, :NegativePrompt, :EnhancePrompt, :OutputConfig, :SessionId, :SessionContext, :TasksPriority, :ExtInfo, :InputRegion
7271
7298
 
7272
- def initialize(subappid=nil, modelname=nil, modelversion=nil, fileinfos=nil, lastframefileid=nil, lastframeurl=nil, prompt=nil, negativeprompt=nil, enhanceprompt=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil)
7299
+ def initialize(subappid=nil, modelname=nil, modelversion=nil, fileinfos=nil, lastframefileid=nil, lastframeurl=nil, prompt=nil, negativeprompt=nil, enhanceprompt=nil, outputconfig=nil, sessionid=nil, sessioncontext=nil, taskspriority=nil, extinfo=nil, inputregion=nil)
7273
7300
  @SubAppId = subappid
7274
7301
  @ModelName = modelname
7275
7302
  @ModelVersion = modelversion
@@ -7284,6 +7311,7 @@ module TencentCloud
7284
7311
  @SessionContext = sessioncontext
7285
7312
  @TasksPriority = taskspriority
7286
7313
  @ExtInfo = extinfo
7314
+ @InputRegion = inputregion
7287
7315
  end
7288
7316
 
7289
7317
  def deserialize(params)
@@ -7311,6 +7339,7 @@ module TencentCloud
7311
7339
  @SessionContext = params['SessionContext']
7312
7340
  @TasksPriority = params['TasksPriority']
7313
7341
  @ExtInfo = params['ExtInfo']
7342
+ @InputRegion = params['InputRegion']
7314
7343
  end
7315
7344
  end
7316
7345
 
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.1190
4
+ version: 3.0.1191
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-25 00:00:00.000000000 Z
11
+ date: 2025-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common