Class: RubyAmazonBedrock::PayloadBuilders::StabilityAi::StableDiffusionXlV1

Inherits:
Base
  • Object
show all
Defined in:
lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb

Overview

StableDifussionXlV1 is a subclass of Base. It provides functionalities specific to the Stability AI SDXL 1.0 model.

for more information about the Stability AI model.

Instance Method Summary collapse

Methods inherited from Base

#build, #parameters, #type

Methods inherited from Base

#build, #initialize, #parameters, #type

Constructor Details

This class inherits a constructor from RubyAmazonBedrock::PayloadBuilders::Base

Instance Method Details

#model_idString

Returns the model ID for the SDXL 1.0 model.

Returns:

  • (String)

    ‘stability.stable-diffusion-xl-v1’



17
18
19
# File 'lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb', line 17

def model_id
  'stability.stable-diffusion-xl-v1'
end