prepare_outfit_slot_reference
Creates a slot reference image to guide painting: writes the body-part underlay for alignment and the transparent design layer as the paint target.
Instructions
MANDATORY before/during paint: body part layer(s) UNDER + design on TOP.
slot is one of the 10 export layer names (same as base/layers/).
Writes design/refs/_ref.png. That layer's body_parts are the underlay
(alignment / proportions only — NOT a clip mask); design/layers/.png
is the transparent paint target. Clothing MAY overhang the body silhouette
if scale stays sensible. Example:
prepare_outfit_slot_reference("", "torso") → refs/torso_ref.png.
Then paint with MCP fill_parts_on_slot (silhouette) + fill_rect /
draw_line / paint_pixels (details) / paint_from_commands
(never Shell/PIL or GenerateImage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slot | Yes | ||
| scale | No | ||
| plan_id | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||