Sha256: 95ba0dbb114f0f0f0e23c56ea8fa13bb552d0f534dd6e7197500767bb6b02292

Contents?: true

Size: 731 Bytes

Versions: 6

Compression:

Stored size: 731 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyAmazonBedrock
  module PayloadBuilders
    module StabilityAi
      # StableDifussionXlV0 is a subclass of Base. It provides functionalities specific to the Stability AI
      # SDXL 0.8 model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=stability.stable-diffusion-xl-v0
      # for more information about the Anthropic model.
      class StableDiffusionXlV0 < Base
        # Returns the model ID for the SDXL 0.8 model.
        #
        # @return [String] 'stability.stable-diffusion-xl-v0'
        def model_id
          'stability.stable-diffusion-xl-v0'
        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_v0.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb
ruby-amazon-bedrock-0.2.0 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb
ruby-amazon-bedrock-0.1.1 lib/bedrock_runtime/payload_builders/stability_ai/stable_diffusion_xl_v0.rb