Class: TencentCloud::Vclm::V20240523::SubmitImageAnimateJobRequest

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

Overview

SubmitImageAnimateJob请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imageurl = nil, imagebase64 = nil, templateid = nil, enableaudio = nil, enablebodyjoins = nil, enablesegment = nil, logoadd = nil, logoparam = nil, enableface = nil) ⇒ SubmitImageAnimateJobRequest

Returns a new instance of SubmitImageAnimateJobRequest.



974
975
976
977
978
979
980
981
982
983
984
# File 'lib/v20240523/models.rb', line 974

def initialize(imageurl=nil, imagebase64=nil, templateid=nil, enableaudio=nil, enablebodyjoins=nil, enablesegment=nil, logoadd=nil, logoparam=nil, enableface=nil)
  @ImageUrl = imageurl
  @ImageBase64 = imagebase64
  @TemplateId = templateid
  @EnableAudio = enableaudio
  @EnableBodyJoins = enablebodyjoins
  @EnableSegment = enablesegment
  @LogoAdd = logoadd
  @LogoParam = logoparam
  @EnableFace = enableface
end

Instance Attribute Details

#EnableAudio ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def EnableAudio
  @EnableAudio
end

#EnableBodyJoins ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def EnableBodyJoins
  @EnableBodyJoins
end

#EnableFace ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def EnableFace
  @EnableFace
end

#EnableSegment ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def EnableSegment
  @EnableSegment
end

#ImageBase64 ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def ImageBase64
  @ImageBase64
end

#ImageUrl ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def ImageUrl
  @ImageUrl
end

#LogoAdd ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def LogoAdd
  @LogoAdd
end

#LogoParam ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def LogoParam
  @LogoParam
end

#TemplateId ⇒ Object

默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。



972
973
974
# File 'lib/v20240523/models.rb', line 972

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



986
987
988
989
990
991
992
993
994
995
996
997
998
999
# File 'lib/v20240523/models.rb', line 986

def deserialize(params)
  @ImageUrl = params['ImageUrl']
  @ImageBase64 = params['ImageBase64']
  @TemplateId = params['TemplateId']
  @EnableAudio = params['EnableAudio']
  @EnableBodyJoins = params['EnableBodyJoins']
  @EnableSegment = params['EnableSegment']
  @LogoAdd = params['LogoAdd']
  unless params['LogoParam'].nil?
    @LogoParam = LogoParam.new
    @LogoParam.deserialize(params['LogoParam'])
  end
  @EnableFace = params['EnableFace']
end