Class: TencentCloud::Mps::V20190612::AigcVideoReferenceImageInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

用于AIGC生视频创作的参考图片信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imageurl = nil, referencetype = nil) ⇒ AigcVideoReferenceImageInfo

Returns a new instance of AigcVideoReferenceImageInfo.



5073
5074
5075
5076
# File 'lib/v20190612/models.rb', line 5073

def initialize(imageurl=nil, referencetype=nil)
  @ImageUrl = imageurl
  @ReferenceType = referencetype
end

Instance Attribute Details

#ImageUrlObject

注意:

  1. 当使用GV模型时,可作为参考方式,可选asset(素材)、style(风格)。

Parameters:

  • 用于指导视频生成的图片 URL。该URL需外网可访问。同时允许爬虫拉取。

  • 参考类型。



5071
5072
5073
# File 'lib/v20190612/models.rb', line 5071

def ImageUrl
  @ImageUrl
end

#ReferenceTypeObject

注意:

  1. 当使用GV模型时,可作为参考方式,可选asset(素材)、style(风格)。

Parameters:

  • 用于指导视频生成的图片 URL。该URL需外网可访问。同时允许爬虫拉取。

  • 参考类型。



5071
5072
5073
# File 'lib/v20190612/models.rb', line 5071

def ReferenceType
  @ReferenceType
end

Instance Method Details

#deserialize(params) ⇒ Object



5078
5079
5080
5081
# File 'lib/v20190612/models.rb', line 5078

def deserialize(params)
  @ImageUrl = params['ImageUrl']
  @ReferenceType = params['ReferenceType']
end