struct

Arcana::AI::Image::Identity

Inherits Struct < Value < Object

Identity conditioning — controls character consistency across generations. The method determines how the provider uses the reference image.

Constructors

ace_plus(path : String, strength : Float64 = 0.65, task_type : String = "portrait", mask_path : String | Nil = nil) : self
Source
ip_adapter(path : String, strength : Float64 = 0.5) : self
Source
new(reference_path : String, method : Method = Method::SeedImage, strength : Float64 = 0.65, task_type : String | Nil = nil, mask_path : String | Nil = nil)
Source
pulid(path : String, strength : Float64 = 1.0) : self

PuLID holds a face: for close-ups (strength is Runware's idWeight)

Source
seed_image(path : String, strength : Float64 = 0.95) : self
Source

Instance methods

mask_path

ACE++ specific: the mask of what to generate (white = generate). Runware requires one.

Source
mask_path=(mask_path : String | Nil)

ACE++ specific: the mask of what to generate (white = generate). Runware requires one.

Source
method
Source
method=(method : Method)
Source
reference_path
Source
reference_path=(reference_path : String)
Source
strength
Source
strength=(strength : Float64)
Source
task_type
Source
task_type=(task_type : String | Nil)
Source

Nested types