Class: TencentCloud::Mps::V20190612::AigcVideoExtraParam

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(resolution = nil, aspectratio = nil, logoadd = nil, enableaudio = nil, offpeak = nil) ⇒ AigcVideoExtraParam

Returns a new instance of AigcVideoExtraParam.



5045
5046
5047
5048
5049
5050
5051
# File 'lib/v20190612/models.rb', line 5045

def initialize(resolution=nil, aspectratio=nil, logoadd=nil, enableaudio=nil, offpeak=nil)
  @Resolution = resolution
  @AspectRatio = aspectratio
  @LogoAdd = logoadd
  @EnableAudio = enableaudio
  @OffPeak = offpeak
end

Instance Attribute Details

#AspectRatioObject

支持此参数的模型:

  1. GV,默认true。
  2. OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。

Parameters:

  • OffPeak:

    错峰模型,目前仅支持Vidu模型。



5043
5044
5045
# File 'lib/v20190612/models.rb', line 5043

def AspectRatio
  @AspectRatio
end

#EnableAudioObject

支持此参数的模型:

  1. GV,默认true。
  2. OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。

Parameters:

  • OffPeak:

    错峰模型,目前仅支持Vidu模型。



5043
5044
5045
# File 'lib/v20190612/models.rb', line 5043

def EnableAudio
  @EnableAudio
end

#LogoAddObject

支持此参数的模型:

  1. GV,默认true。
  2. OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。

Parameters:

  • OffPeak:

    错峰模型,目前仅支持Vidu模型。



5043
5044
5045
# File 'lib/v20190612/models.rb', line 5043

def LogoAdd
  @LogoAdd
end

#OffPeakObject

支持此参数的模型:

  1. GV,默认true。
  2. OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。

Parameters:

  • OffPeak:

    错峰模型,目前仅支持Vidu模型。



5043
5044
5045
# File 'lib/v20190612/models.rb', line 5043

def OffPeak
  @OffPeak
end

#ResolutionObject

支持此参数的模型:

  1. GV,默认true。
  2. OS,默认true。 错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。

Parameters:

  • OffPeak:

    错峰模型,目前仅支持Vidu模型。



5043
5044
5045
# File 'lib/v20190612/models.rb', line 5043

def Resolution
  @Resolution
end

Instance Method Details

#deserialize(params) ⇒ Object



5053
5054
5055
5056
5057
5058
5059
# File 'lib/v20190612/models.rb', line 5053

def deserialize(params)
  @Resolution = params['Resolution']
  @AspectRatio = params['AspectRatio']
  @LogoAdd = params['LogoAdd']
  @EnableAudio = params['EnableAudio']
  @OffPeak = params['OffPeak']
end