struct

Arcana::AI::Image::Request

Inherits Struct < Value < Object

Constructors

new(prompt : String, width : Int32 = 1024, height : Int32 = 1024, identity : Identity | Nil = nil, control : Control | Nil = nil, output_format : String = "WEBP", enhance_prompt : Bool = false, trace_tags : Hash(String, String) | Nil = nil)
Source

Instance methods

control
Source
control=(control : Control | Nil)
Source
enhance_prompt
Source
enhance_prompt=(enhance_prompt : Bool)
Source
height
Source
height=(height : Int32)
Source
identity
Source
identity=(identity : Identity | Nil)
Source
output_format
Source
output_format=(output_format : String)
Source
prompt
Source
prompt=(prompt : String)
Source
trace_tags
Source
trace_tags=(trace_tags : Hash(String, String) | Nil)
Source
width
Source
width=(width : Int32)
Source