← sources

Layout Editor for Moss-Image

source: reddit (reddit:StableDiffusion)published 2026-11-02 22:42ingested 2026-11-03 02:40

retained text

Moss-Image has an incredible capability to create pixel-perfect layouts from a json prompt. The expected use is to give the official documentation to an LLM and then ask the LLM to prompt whatever you want: https://github.com/OpenMOSS/MOSS-Image/blob/main/skills/moss-image-prompt-enhancer/references/layout.md

But I thought why not build a layout editor to design it for myself? Hence the idea of the Layout Editor for moss (with an optional SwarmUI extension)  
Repo here: https://github.com/jambavant/SwarmUI-LayoutEditor  
You can try online here: https://jambavant.github.io/SwarmUI-LayoutEditor/standalone/index.html  
It's great for any type of image: comics, reference sheet, compositions, magazing covers, posters, etc. The level of control is outstanding, as it manages multiple characters and text quite well. It starts to break with a very large number of characters (+10) with concept bleed.

The standalone editor is a simple html page that works both ways: you can start from scratch and copy the json prompt, or paste a json prompt from an LLM and refine it manually.  
I tried to make it as user-friendly as possible, with keyboard shortcuts and an intuitive interface. It also automatically resizes boxes based on the image resolution.

document fetched 2026-11-03 00:31 · canonical https://reddit.com/r/StableDiffusion/comments/1xmbyyg/layout_editor_for_mossimage