Class: RubyAmazonBedrock::PayloadBuilders::StabilityAi::StableDiffusionXlV0

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

Overview

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

for more information about the Anthropic 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 0.8 model.

Returns:

  • (String)

    ‘stability.stable-diffusion-xl-v0’



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

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