class

MJ::DecorateSpec

Inherits YAML::Serializable < Reference < Object

Config for a Stage-2 "decorate" generation. Lives as decorate.yml beside an image.png (the plain "base" master from Stage 1, or any image to restyle). Run: mj decorate <dir> -> writes decorated.png

Takes the master as a reference and redraws it decorated in the given style/theme (Nano Banana 2). An optional style.png beside the master is passed as a second reference to steer the look. keep_structure prepends a silhouette-preserving lead so the decoration honours the master's form instead of wandering off.

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

height
Source
height=(height : Int32)
Source
keep_structure
Source
keep_structure=(keep_structure : Bool)
Source
model
Source
model=(model : String)
Source
prompt
Source
prompt=(prompt : String)
Source
width
Source
width=(width : Int32)
Source