Class: Roseflow::StabilityAI::Operations::TextToImage

Inherits:
Base
  • Object
show all
Defined in:
lib/roseflow/stabilityai/operations/text_to_image.rb

Instance Method Summary collapse

Methods inherited from Base

#body, #excluded_keys

Instance Method Details

#multipart?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/roseflow/stabilityai/operations/text_to_image.rb', line 27

def multipart?
  false
end

#pathObject



31
32
33
# File 'lib/roseflow/stabilityai/operations/text_to_image.rb', line 31

def path
  "/v1/generation/#{engine_id}/text-to-image"
end

#typeObject



23
24
25
# File 'lib/roseflow/stabilityai/operations/text_to_image.rb', line 23

def type
  :text_to_image
end