class

MJ::ScriptSettings

Inherits YAML::Serializable < Reference < Object

Constructors

new(width : Int32 = 512, height : Int32 = 512, model : String = "civitai:4384@128713", strength : Float64 = 0.6, steps : Int32 = 30, cfg_scale : Float64 = 3.5, controlnet_model : Nil | String = nil, controlnet_weight : Float64 = 0.7, interpolation : String = "linear")
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

cfg_scale
Source
cfg_scale=(cfg_scale : Float64)
Source
controlnet_model
Source
controlnet_model=(controlnet_model : String | Nil)
Source
controlnet_weight
Source
controlnet_weight=(controlnet_weight : Float64)
Source
height
Source
height=(height : Int32)
Source
interpolation
Source
interpolation=(interpolation : String)
Source
model
Source
model=(model : String)
Source
steps
Source
steps=(steps : Int32)
Source
strength
Source
strength=(strength : Float64)
Source
width
Source
width=(width : Int32)
Source