struct Turquoise::Eloquent::Prompt::Request

Included Modules

Defined in:

turquoise/eloquent/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(prompt : String, num_steps : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def guidance : Float32 | Nil #

[View source]
def guidance=(guidance : Float32 | Nil) #

[View source]
def image : File | Nil #

[View source]
def image=(image : File | Nil) #

[View source]
def mask : File | Nil #

[View source]
def mask=(mask : File | Nil) #

[View source]
def num_steps : Int32 | Nil #

[View source]
def num_steps=(num_steps : Int32 | Nil) #

[View source]
def prompt : String #

[View source]
def prompt=(prompt : String) #

[View source]
def strength : Int32 | Nil #

[View source]
def strength=(strength : Int32 | Nil) #

[View source]