tencentcloud-sdk-vod 3.0.1172 → 3.0.1179

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: 9d9870efd7a3d0373ac3a18eea9b655ee060b554
4
- data.tar.gz: c82201ba9fe40e159eeed77a5f6f3a2806b39906
3
+ metadata.gz: c9ed6bce31581a712ecadf6b29de0644d725a432
4
+ data.tar.gz: a664a618ce6624773ec57366d25d12e256c72b40
5
5
  SHA512:
6
- metadata.gz: cc267568b378a9a2ed9c6710e960729e9deb3382d8a960174ccda261f93c298bab8a2847c326ffef41a21bbebe26a35b6bfefad7fdc3a21d093d9930e2bc7cfa
7
- data.tar.gz: 44e08fe9387300486c2447dcf67311a5a9d95cd62bd64a3959fcbca934b3cd371636d70ee2d63cd37723cb51ac4f376e0c74e5fa0d51809e9bb6e77a79bcc4e9
6
+ metadata.gz: 874d41c80212e68febfa6a86b3f5abbb72921df67694d013c9ac440e0fba3b14505034aea3a0933524b860805e6b987ea0955b04b183943ce181d49288cf9a58
7
+ data.tar.gz: 7fb1ae83756aa588fbbbb7173240a5a8005f0e3dbec2dc044145cae9bd4187bc70e7ccd8ca4311c2d9fa492901265b992ab9571a24c5dfba772d983d50fde6a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1172
1
+ 3.0.1179
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20180717/client'
6
- require_relative 'v20180717/models'
7
-
8
5
  require_relative 'v20240718/client'
9
6
  require_relative 'v20240718/models'
10
7
 
8
+ require_relative 'v20180717/client'
9
+ require_relative 'v20180717/models'
10
+
11
11
  module TencentCloud
12
12
  module Vod
13
13
  end
@@ -236,6 +236,54 @@ module TencentCloud
236
236
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
237
237
  end
238
238
 
239
+ # 该接口用于[生成 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
+
241
+ # @param request: Request instance for CreateAigcImageTask.
242
+ # @type request: :class:`Tencentcloud::vod::V20180717::CreateAigcImageTaskRequest`
243
+ # @rtype: :class:`Tencentcloud::vod::V20180717::CreateAigcImageTaskResponse`
244
+ def CreateAigcImageTask(request)
245
+ body = send_request('CreateAigcImageTask', request.serialize)
246
+ response = JSON.parse(body)
247
+ if response['Response'].key?('Error') == false
248
+ model = CreateAigcImageTaskResponse.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
+
263
+ # 该接口用于[生成 AIGC 视频](https://cloud.tencent.com/document/product/266/124474)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用</b>,请参考点播 [AIGC 生视频计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
264
+
265
+ # @param request: Request instance for CreateAigcVideoTask.
266
+ # @type request: :class:`Tencentcloud::vod::V20180717::CreateAigcVideoTaskRequest`
267
+ # @rtype: :class:`Tencentcloud::vod::V20180717::CreateAigcVideoTaskResponse`
268
+ def CreateAigcVideoTask(request)
269
+ body = send_request('CreateAigcVideoTask', request.serialize)
270
+ response = JSON.parse(body)
271
+ if response['Response'].key?('Error') == false
272
+ model = CreateAigcVideoTaskResponse.new
273
+ model.deserialize(response['Response'])
274
+ model
275
+ else
276
+ code = response['Response']['Error']['Code']
277
+ message = response['Response']['Error']['Message']
278
+ reqid = response['Response']['RequestId']
279
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
280
+ end
281
+ rescue TencentCloud::Common::TencentCloudSDKException => e
282
+ raise e
283
+ rescue StandardError => e
284
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
285
+ end
286
+
239
287
  # 创建用户自定义转动图模板,数量上限:16。
240
288
 
241
289
  # @param request: Request instance for CreateAnimatedGraphicsTemplate.