Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Config for Outpainting task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig

Returns a new instance of CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.



304
305
306
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 304

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_framesArray<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource>

The input frames for outpainting. Required. Corresponds to the JSON property inputFrames



297
298
299
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 297

def input_frames
  @input_frames
end

#output_specString

The output specification (defines target resolution and frame count). Required. Corresponds to the JSON property outputSpec

Returns:

  • (String)


302
303
304
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 302

def output_spec
  @output_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



309
310
311
312
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 309

def update!(**args)
  @input_frames = args[:input_frames] if args.key?(:input_frames)
  @output_spec = args[:output_spec] if args.key?(:output_spec)
end