Sha256: 992874eccbf3fcd097accdb53a96d40acb8475da61c82f839925b4e0b46e6067

Contents?: true

Size: 734 Bytes

Versions: 6

Compression:

Stored size: 734 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyAmazonBedrock
  module PayloadBuilders
    module StabilityAi
      # StableDifussionXlV1 is a subclass of Base. It provides functionalities specific to the Stability AI
      # SDXL 1.0 model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=stability.stable-diffusion-xl-v1
      # for more information about the Stability AI model.
      class StableDiffusionXlV1 < Base
        # Returns the model ID for the SDXL 1.0 model.
        #
        # @return [String] 'stability.stable-diffusion-xl-v1'
        def model_id
          'stability.stable-diffusion-xl-v1'
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-amazon-bedrock-0.2.4 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
ruby-amazon-bedrock-0.2.0 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb
ruby-amazon-bedrock-0.1.1 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v1.rb