Class: AILabTools::Generated::Params::ImageAiImageExtenderParams
- Defined in:
- lib/ailabtools/generated/params/image_ai_image_extender_params.rb
Instance Attribute Summary collapse
-
#bottom ⇒ Object
readonly
Returns the value of attribute bottom.
-
#custom_prompt ⇒ Object
readonly
Returns the value of attribute custom_prompt.
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#mask ⇒ Object
readonly
Returns the value of attribute mask.
-
#max_height ⇒ Object
readonly
Returns the value of attribute max_height.
-
#max_width ⇒ Object
readonly
Returns the value of attribute max_width.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
-
#scale ⇒ Object
readonly
Returns the value of attribute scale.
-
#seed ⇒ Object
readonly
Returns the value of attribute seed.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
-
#strength ⇒ Object
readonly
Returns the value of attribute strength.
-
#top ⇒ Object
readonly
Returns the value of attribute top.
Instance Method Summary collapse
- #body_fields ⇒ Object
-
#initialize(custom_prompt: nil, steps: nil, strength: nil, scale: nil, seed: nil, max_height: nil, max_width: nil, image:, top: nil, bottom: nil, left: nil, right: nil, mask: nil) ⇒ ImageAiImageExtenderParams
constructor
A new instance of ImageAiImageExtenderParams.
- #query_fields ⇒ Object
Constructor Details
#initialize(custom_prompt: nil, steps: nil, strength: nil, scale: nil, seed: nil, max_height: nil, max_width: nil, image:, top: nil, bottom: nil, left: nil, right: nil, mask: nil) ⇒ ImageAiImageExtenderParams
Returns a new instance of ImageAiImageExtenderParams.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 8 def initialize(custom_prompt: nil, steps: nil, strength: nil, scale: nil, seed: nil, max_height: nil, max_width: nil, image:, top: nil, bottom: nil, left: nil, right: nil, mask: nil) @custom_prompt = custom_prompt @steps = steps @strength = strength @scale = scale @seed = seed @max_height = max_height @max_width = max_width @image = image @top = top @bottom = bottom @left = left @right = right @mask = mask end |
Instance Attribute Details
#bottom ⇒ Object (readonly)
Returns the value of attribute bottom.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def bottom @bottom end |
#custom_prompt ⇒ Object (readonly)
Returns the value of attribute custom_prompt.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def custom_prompt @custom_prompt end |
#image ⇒ Object (readonly)
Returns the value of attribute image.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def image @image end |
#left ⇒ Object (readonly)
Returns the value of attribute left.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def left @left end |
#mask ⇒ Object (readonly)
Returns the value of attribute mask.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def mask @mask end |
#max_height ⇒ Object (readonly)
Returns the value of attribute max_height.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def max_height @max_height end |
#max_width ⇒ Object (readonly)
Returns the value of attribute max_width.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def max_width @max_width end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def right @right end |
#scale ⇒ Object (readonly)
Returns the value of attribute scale.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def scale @scale end |
#seed ⇒ Object (readonly)
Returns the value of attribute seed.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def seed @seed end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def steps @steps end |
#strength ⇒ Object (readonly)
Returns the value of attribute strength.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def strength @strength end |
#top ⇒ Object (readonly)
Returns the value of attribute top.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 7 def top @top end |
Instance Method Details
#body_fields ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 28 def body_fields compact_hash({ "custom_prompt" => @custom_prompt, "steps" => @steps, "strength" => @strength, "scale" => @scale, "seed" => @seed, "max_height" => @max_height, "max_width" => @max_width, "image" => @image, "top" => @top, "bottom" => @bottom, "left" => @left, "right" => @right, "mask" => @mask, }) end |
#query_fields ⇒ Object
24 25 26 |
# File 'lib/ailabtools/generated/params/image_ai_image_extender_params.rb', line 24 def query_fields {} end |