tencentcloud-sdk-hunyuan 3.0.1180 → 3.0.1183

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cbae0beb6acd4a347575ec5e20f50354afda9a9
4
- data.tar.gz: 71693614d07141bbd07277c0a78f4b9659031d37
3
+ metadata.gz: a1608f36033d769a464b57705d9641f610efabc0
4
+ data.tar.gz: 328b35c8b6f349e8cb01f31fc565b6331af71347
5
5
  SHA512:
6
- metadata.gz: 57c3d51ca86a1e261db185df07b004b2c1137bbd2b05da379fcef37ba34d76a11acb1b29d5e024f4c8db387d94d10b624e954e05ac90c14d6af999c06a3d464f
7
- data.tar.gz: 715d50e267492b95a31902cb62e780e70bd8dc570b0c40e678c8ac5c0a97e9d01f78e99ff26abecf04e7fd71f95a0f6d7ee40188ab05deaca7036716c62b330a
6
+ metadata.gz: 51ccc9763f31b0a1630d66920c747dda96a7644a93849b3d4e0794d908156189bd58a4e4332962c388b2a65131523b11a1d796fa288cd78828ae59e2621f8d7c
7
+ data.tar.gz: 1654a1b867bcfb8c2d8f54d581c33f4e590caf0a6095b1422413c93daf0f3fb5271ee527c7dc78ba0a99aedb2005d94b204ab7ab3f87f0d0a61181ba36ae1783
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1180
1
+ 3.0.1183
@@ -551,25 +551,25 @@ module TencentCloud
551
551
  end
552
552
  end
553
553
 
554
- # 可以传入多种类型的内容,如图片、文本。
554
+ # 可以传入多种类型的内容,目前支持文本、图片、视频。
555
555
  class Content < TencentCloud::Common::AbstractModel
556
556
  # @param Type: 内容类型
557
557
  # 注意:
558
558
  # 需包含至少一个 Type 为"text"的参数。
559
- # 参数值可选范围:[text", "image_url","video_url"]
559
+ # 参数值可选范围:["text", "image_url","video_url","video_frames"]
560
560
  # 注意:此字段可能返回 null,表示取不到有效值。
561
561
  # @type Type: String
562
- # @param Text: 当 Type 为 text 时使用,表示具体的文本内容。当 Type 为 image_url 时,当前字段内容需保持为空,传递内容不生效。
562
+ # @param Text: 当 Type 为 text 时使用,表示具体的文本内容。当 Type 为 其他类型 时,当前字段内容需保持为空,传递内容不生效。
563
563
  # 注意:此字段可能返回 null,表示取不到有效值。
564
564
  # @type Text: String
565
565
  # @param ImageUrl: 图片的url,当 Type 为 image_url 时使用,表示具体的图片内容
566
- # 如"https://example.com/1.png" 或 图片的base64(注意 "data:image/jpeg;base64," 为必要部分):"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......"。当 Type 为 text 时,当前字段内容需保持为空,传递内容不生效。
566
+ # 如"https://example.com/1.png" 或 图片的base64(注意 "data:image/jpeg;base64," 为必要部分):"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......"。当 Type 为 其他类型 时,当前字段内容需保持为空,传递内容不生效。
567
567
  # 注意:此字段可能返回 null,表示取不到有效值。
568
568
  # @type ImageUrl: :class:`Tencentcloud::Hunyuan.v20230901.models.ImageUrl`
569
- # @param VideoUrl: 当type为video_url时使用,标识具体的视频链接内容
569
+ # @param VideoUrl: 当 Type video_url 时使用,标识具体的视频链接内容,如"https://your-video-path.mp4"。当 Type 为 其他类型 时,当前字段内容需保持为空,传递内容不生效。
570
570
  # 注意:此字段可能返回 null,表示取不到有效值。
571
571
  # @type VideoUrl: :class:`Tencentcloud::Hunyuan.v20230901.models.VideoUrl`
572
- # @param VideoFrames: 当type为video_frames时使用,标识具体的视频内图像帧内容
572
+ # @param VideoFrames: 当 Type video_frames 时使用,标识具体的视频内图像帧内容,当 Type 为 其他类型 时,当前字段内容需保持为空,传递内容不生效。
573
573
  # 注意:此字段可能返回 null,表示取不到有效值。
574
574
  # @type VideoFrames: :class:`Tencentcloud::Hunyuan.v20230901.models.VideoFrames`
575
575
 
@@ -1757,7 +1757,7 @@ module TencentCloud
1757
1757
  # @type Role: String
1758
1758
  # @param Content: 文本内容
1759
1759
  # @type Content: String
1760
- # @param Contents: 多种类型内容(目前支持图片和文本),仅 hunyuan-vision 和 hunyuan-turbo-vision 模型支持
1760
+ # @param Contents: 多种类型内容(目前支持文本、图片和视频),图片支持混元图生文系列模型,视频支持混元视频生文系列模型,详情参考[产品概述](https://cloud.tencent.com/document/product/1729/104753)
1761
1761
  # 注意:此字段可能返回 null,表示取不到有效值。
1762
1762
  # @type Contents: Array
1763
1763
  # @param ToolCallId: 当role为tool时传入,标识具体的函数调用
@@ -3133,7 +3133,7 @@ module TencentCloud
3133
3133
 
3134
3134
  # 当type为video_frames时使用,标识具体的视频内图像帧内容
3135
3135
  class VideoFrames < TencentCloud::Common::AbstractModel
3136
- # @param Frames: 视频图像帧列表,图像帧传url
3136
+ # @param Frames: 视频图像帧列表,图像帧传url,最大支持传入数量为512帧
3137
3137
  # @type Frames: Array
3138
3138
 
3139
3139
  attr_accessor :Frames
@@ -3149,7 +3149,7 @@ module TencentCloud
3149
3149
 
3150
3150
  # 当type为video_url时使用,标识具体的视频链接内容
3151
3151
  class VideoUrl < TencentCloud::Common::AbstractModel
3152
- # @param Url: 视频的url,如"https://your-video-path.mp/4"
3152
+ # @param Url: 视频的url,如"https://your-video-path.mp4",视频文件大小不超过100M。
3153
3153
  # @type Url: String
3154
3154
  # @param Fps: 控制视频抽帧频率,取值范围为 0.1 ~5,表示每隔 1/fps 秒抽取一帧,默认为 1s抽取一帧
3155
3155
  # @type Fps: Float
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hunyuan
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1180
4
+ version: 3.0.1183
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-09 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common