Each colored, numbered cell is one region. The Nth BREAK section maps to region N.
A visual helper for the Divide Ratio used by the Regional Prompter extension (hako-mikan, for A1111 WebUI / Forge / reForge / Forge neo) in Stable Diffusion. Type a ratio such as 1,1 or 1,1;2,1,1 — numbers separated by , and ; — and instantly see how the image splits into regions, each labelled with the number it gets. It's built for the moments when the split isn't landing where you expect, two characters are bleeding into each other, or the layout just isn't working: you can eyeball how the ratio and divide mode combine. Switch the divide mode between Columns (split into rows by ; first, then each row into columns by ,) and Rows (split into columns by ; first, then each column into rows by ,). In a 2D ratio that uses ;, the first number of each group is the size of that band (row or column) and the rest are the cells inside it. Pick an output size from 512×512, 512×768, 768×512, 1024×1024 or SDXL-friendly 832×1216 / 1216×832, or type a custom width and height. Under the preview you get the region count, a cleaned-up Divide Ratio, and a BREAK-separated prompt skeleton (with ADDBASE when you enable a base prompt) — so you never put in too few or too many BREAKs for the number of regions. Copy the ratio or skeleton with one click and paste it straight into the WebUI. You can also Save mask PNG to export a full-resolution image with each region filled in a distinct color, as a starting point for Regional Prompter's Mask mode. No ratio or image is ever uploaded: all parsing and export happen entirely in your browser, with no external API or server. It does not generate images or write the prompt text for you — it's focused on designing and verifying the region split.
How to use
- Type a Divide Ratio like 1,1 or 1,1;2,1,1 and pick a divide mode (Columns / Rows) — the split previews instantly as numbered, colored cells.
- Choose an output size and, if you want a base prompt, tick ADDBASE. Check the region count, the cleaned-up ratio, and the BREAK skeleton shown below.
- Copy the ratio or skeleton and paste it into Regional Prompter in your WebUI / Forge. For Mask mode, hit Save mask PNG to export the color-coded base.
FAQ
Is the ratio or image I enter sent to a server?
No. Parsing the ratio, drawing the preview, and exporting the mask PNG all happen entirely in your browser. No ratio or image is uploaded, stored, or sent anywhere, and there is no external API or server.
What's the difference between Columns and Rows mode?
Columns splits the image into rows first (by ;), then each row into columns (by ,). Rows splits into columns first, then each column into rows. To put two characters side by side (a left/right split) Rows with 1,1 is the clearest; for a top/bottom split use Columns with 1,1. Flip between them and watch the preview.
How do I read a 2D ratio with a semicolon, like 1,1;2,1,1?
Each ;-separated group is one band (a row in Columns mode, a column in Rows mode). The first number of each group is the size of that band, and the remaining numbers split the cells inside it. When in doubt, read the numbers on the preview — they show the actual split, and the numbering is exactly the BREAK order.
How many BREAKs do I need, and why do my prompts bleed together?
Use as many region prompts as the region count shown on the preview, separated by BREAK (with ADDBASE at the front if you use a base prompt). If the number of BREAKs doesn't match the region count, regions shift and prompts bleed. Filling in the skeleton below keeps them aligned.
Can I use the exported mask PNG directly, and does this generate images?
The mask PNG fills each region with a distinct color at full resolution, usable as a base for Regional Prompter's Mask mode (you assign the colors inside the extension). This tool is focused on designing and verifying the region split — it does not generate images or write the prompt text for you.