struct

Arcana::AI::Image::Control

Inherits Struct < Value < Object

Structural control — guides pose, edges, or depth in the generated image.

Constructors

canny(guide_path : String, weight : Float64 = 0.8, model : String | Nil = nil) : self
Source
depth(guide_path : String, weight : Float64 = 0.8, model : String | Nil = nil) : self
Source
flux_pose(guide_path : String, weight : Float64 = 0.9) : self

FLUX-compatible OpenPose via Union Pro 2.0 model. Default weight 0.9, control ends at 65% of steps.

Source
new(type : Type, guide_path : String | Nil = nil, model : String | Nil = nil, weight : Float64 = 0.8, start_pct : Int32 = 0, end_pct : Int32 = 100)
Source
openpose(guide_path : String, weight : Float64 = 0.8, model : String | Nil = nil) : self
Source

Instance methods

end_pct
Source
end_pct=(end_pct : Int32)
Source
guide_path
Source
guide_path=(guide_path : String | Nil)
Source
model
Source
model=(model : String | Nil)
Source
start_pct
Source
start_pct=(start_pct : Int32)
Source
type
Source
type=(type : Type)
Source
weight
Source
weight=(weight : Float64)
Source

Nested types