struct

Crig::ImageGenerationRequestBuilder

Inherits Struct < Value < Object

Constructors

new(model : ImageGenerationModel, prompt_value : String = "", width_value : Int32 = 256, height_value : Int32 = 256, additional_params_value : JSON::Any | Nil = nil)
Source

Instance methods

additional_params(params : JSON::Any) : self
Source
additional_params_value
Source
build
Source
height(height : Int32) : self
Source
height_value
Source
model
Source
prompt(prompt : String) : self
Source
prompt_value
Source
send
Source
send_async
Source
width(width : Int32) : self
Source
width_value
Source