Sha256: 2b5f54aabf30b579b9444668292e5ae17d3f9cd30cf6d141060edff8e0356ef0
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true require_relative "./base_response" module Roseflow module StabilityAI module Responses class UpscaleResponse < BaseResponse transform_keys { |key| key.to_s.underscore.to_sym } attribute :artifacts, Types::Array do attribute :base64, Types::String attribute :finish_reason, Types::String attribute :seed, Types::Integer end alias_method :images, :artifacts end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roseflow-stabilityai-0.1.0 | lib/roseflow/stabilityai/responses/upscale_response.rb |