Class: TencentCloud::Mps::V20190612::AigcImageInfo

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) ⇒ AigcImageInfo

Returns a new instance of AigcImageInfo.



4967
4968
4969
4970
# File 'lib/v20190612/models.rb', line 4967

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

Instance Attribute Details

#ImageUrlObject

注意:

  1. 当模型使用Vidu的q2多参考生图时,也可用于指定主体id。
  2. 当使用GV模型时,可作为参考方式,可选asset(素材)、style(风格)。

Parameters:

  • ImageUrl:

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

  • ReferenceType:

    参考类型。



4965
4966
4967
# File 'lib/v20190612/models.rb', line 4965

def ImageUrl
  @ImageUrl
end

#ReferenceTypeObject

注意:

  1. 当模型使用Vidu的q2多参考生图时,也可用于指定主体id。
  2. 当使用GV模型时,可作为参考方式,可选asset(素材)、style(风格)。

Parameters:

  • ImageUrl:

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

  • ReferenceType:

    参考类型。



4965
4966
4967
# File 'lib/v20190612/models.rb', line 4965

def ReferenceType
  @ReferenceType
end

Instance Method Details

#deserialize(params) ⇒ Object



4972
4973
4974
4975
# File 'lib/v20190612/models.rb', line 4972

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