Stage 2: remap approved mask art with selectable modular mapping profiles.
Use this after the user already has an approved LMASK design image. R1.0.5 keeps loading mapping profiles from /profiles/lmask/profiles.json, previews the selected profile zones, and builds prompts that either embed profile data or clearly tell the user to upload the profile JSON.
The selected profile JSON is the source of truth. The prompt generator calculates pixel coordinates from the profile's 30 × 30 logic grid for 1024, 2048, or 4096 output.
These fields do not change the locked mapping profile. They tell the new chat what to preserve or correct from the approved artwork.
This preview is calculated live from the selected JSON profile and selected output size. Pixel ranges use top-left origin, X left-to-right, Y top-to-bottom, and inclusive logical grid ranges.
Loading selected profile preview…
Put new LMASK profile JSON files in /profiles/lmask/, then list the filename in /profiles/lmask/profiles.json. The dropdown loads from that manifest.