CivArchive
    The Layout Studio for MOSS-Image - "Draw" your bbox prompt, then paste the JSON in any generator - v1.1.0
    Preview 149214738
    Preview 149214784

    The Layout Studio for MOSS-Image

    Take the guesswork out of creating bounding-box layouts for MOSS-Image with this free, open-source, browser-based, cross-platform, locally hosted (and therefore private!) visual spatial-precision layout editor designed specifically to generate reliable JSON bbox prompts for MOSS-Image for use with any AI-image generator.

    ✧ ✧ ✧

    If, like me, you've been intrigued by the use of "bounding boxes" (or "bboxes" for short) to lay out complex compositions with better accuracy, you've encountered the same obstacles as I had:

    • Crafting JSON prompts by hand is a non-starter.

    • Even state-of-the-art LLMs like GPT-4o have a hard time converting natural-language or tag-based prompts into sub-pixel yxyx coordinate space -500 to 500 centered) JSON prompts.

    • There are some workflows for ComfyUI that provide visual layout design, but not everyone uses Comfy, and even if they do, it's not the most design-friendly interface.

    The Layout Studio for MOSS-Image fixes all that.

    Use the Studio to lay out what you want where, export the JSON prompt, and drop it in any AI-image generator running MOSS-Image — ComfyUI, Forge Neo, Civitai Online Generator, Tensor Art, Yodayo/Moescape, SeaArt...take your pick! If it's got a prompt box and it's running MOSS-Image, you're good to go.

    Designed as a lightweight, zero-dependency tool, it operates 100% locally, privately, and offline — on any modern web browser, on any OS — without requiring ComfyUI, Python, build steps, servers, or external network requests.

    ✧ ✧ ✧

    Who needs a layout builder for MOSS-Image?

    Fans of MOSS-Image everywhere: Love MOSS-Image and want to take your gens to the next level by mastering its native spatial precision via bbox coordinates, but without all the trail-and-error when using LLMs and without using a specialized Comfy workflow? Build your images visually on a drag-and-drop canvas while the Studio handles all schema math automatically. Then drop the prompt in your favorite generator — including the Civitai Online Generator 😉

    Multi-Character & Anime Creators: Sick of so-called 'concept bleed' (mixing of traits, outfits, etc.) in multi-subject scenes? The bounding-box features of new models like Ideogram 4 and MOSS-Image is the next-gen equivalent of regional prompting, and may be adopted by future models, as well. Use the Layout Studio to keep those characters separated, then copy & paste the prompt into a generator running MOSS-Image.

    Visual Designers & Typographers: Need text placed where it belongs? Position headers, typography, and logos with greater visual accuracy for posters, album covers, and banners.

    Product & E-Commerce Visual Creators: Structure studio product shots, hero element placements, and advertising layouts while locking canvas aspect ratios and target megapixel presets (~1 MP to ~4 MP).

    Storyboard & Comic Artists: Easily block out multi-panel sequence compositions and background layouts using native multi_panel and collage canvas modes.

    Cross-Model Power Users: Compose layouts visually over images on your hard drive, then export either structured MOSS JSON schemas or text-only prompts for refining with img2img or inpainting with a natural-language model like Krea 2 or a tag-based model like Illustrious, or any other model in your stack for that matter.

    ✧ ✧ ✧

    Main Features

    🎨 Dynamic Canvas

    • Automatically scales to fit any display or window size while maintaining target aspect ratios 1:1, 2:3, 3:4, 9:16, 9:21, 3:2, 4:3, 16:9, 21:9) and target megapixel values ~1 MP to ~4 MP).

    • Workspace dimensions dynamically adapt on the fly without clipping or off-screen overflow.

    • The built-in visual grid, with optional grid snapping, aligns directly to MOSS-Image's requirement that canvas and bounding box dimensions follow 16-pixel multiples.

    • Visual alignment crosshairs automatically highlight when an item's center point aligns horizontally or vertically with the center of the image.

    ⬆️ Item Management

    • Create scene elements with MOSS-native text, object, or character item types using color-coded boxes and corresponding "cards" that you can reorder with drag-and-drop in the Items tab. This also reorders the items in the exported output.

    • Drag, resize, and nudge bounding boxes visually on a canvas mapped directly to MOSS-Image's standardized centralized coordinate space abs_centralized, yxyx format from -500 to 500).

    • Toggle individual bounding boxes on or off to preview layout variations or temporarily exclude specific elements from schema generation without deleting card data.

    • Switch seamlessly between overall scene settings and bounding-box management in one minimal strip.

    • Intelligent auto-focus opens item details immediately when interacting with bounding boxes on the canvas.

    🖼️ Reference Background Image

    • Insert a reference image locally — and privately! — "under" the canvas, with adjustable opacity to visually align bounding boxes directly over an existing composition.

    🏷️ Meta Tags & Palette Management

    • Add preset or custom style meta tags and hex or named color palettes to set global scene styling.

      ⚠️ Note: Meta Tag and Palette values are overridden by any competing value in the prompt text. Describing media, styles, colors, and other details directly in the prompt text will often have a stronger impact on the image output than Meta Tags or Palette values.

    🦋 Danbooru & Anime Compatible

    • Use the dual-tabbed Meta Tag manager, featuring natural-language style tags alongside anime/Danbooru preset tags cel shading, masterpiece, cowboy shot, etc.).

    • Supports parenthesis weighting syntax (tag:1.2)

    • Use the Studio to keep those OCs separate!

    • In-app link to Safebooru tag search.

    ↘️ Multi-Format Exporting

    • Instantly generate and copy a MOSS-Image central-coordinate JSON schema, OR:

    • A text-only prompt in natural language or tag-based format, depending on your needs. This is useful for refining or re-creating the image using a different model that doesn't understand JSON prompts, such as Krea 2, Illustrious, H3-Image, etc.

    ↗️ JSON Import with Smart Dimension Matching

    • Import existing MOSS-Image JSON prompts to inspect, modify, and visually re-edit them on the Layout Studio canvas.

    • Specify or import width and height values, with automated preset detection to match standard aspect ratio and megapixel configurations while enforcing 16-pixel multiples.

    • NEW (v1.1.0): Import existing MOSS-Image JSON prompts and canvas sizes from an existing .PNG file with metadata. Verified to work with .PNGs generated by: ComfyUI, Civitai Online Generator, Tensor Art Creation workspace.

    📱 Responsive Design

    • Adapts smoothly between side-by-side desktop panels and a stacked smaller view equipped with an interactive height-resizing handle for the canvas workspace. Squeeze it into a column and display it next to your MOSS-Image generator for an easy workflow.

    🪶 Lightweight, Fast, and 100% Private

    • Lightweight, single-file HTML architecture built entirely with vanilla JavaScript and local Tailwind/Lucide scripts.

    • No build steps, external servers, or network calls required.

    • Runs instantly in any modern web browser, on any OS.

    • Works 100% offline with zero latency.

    Additional features

    • UI Typography Scaling (A- / A+)

    • Undo/Redo

    • Keyboard Shortcuts

    • Persistent Local Storage - prevents data loss across page refreshes

    • System Cache & Heap Management - clear the cache to empty & reset local storage

    ✧ ✧ ✧

    Caveats & Hints

    Keep these in mind when using bboxes with MOSS-Image:

    PROMPTS HAVE THE FINAL WORD

    For a given Item, any positions you include in its Caption/Prompt field will determine where the item ends up being shown in the image — even if you placed its bbox on the opposite side.

    For example, if in the Caption for a Character Item you write, a boy holding a stick on the left and for a second Character Item you enter, a dog on its hind legs on the right, MOSS-Image will follow these written instructions — even if you drag the bboxes of the boy and dog elsewhere.

    So: when entering your captions, refrain from mentioning any absolute positions of the Item:

    ❌ a boy holding a stick on the left facing the dog
    ✅ a boy holding a stick facing the dog

    ❌ a dog on its hind legs on the right facing the boy
    ✅ a dog on its hind legs facing the boy

    The same rule applies to Meta Tags and Palette values: if in the Summary you mention that the scene takes place during the golden hour but in the Palette field you enter "at night", MOSS-Image will set the scene during the golden hour, though perhaps with slightly darker shadows.

    BBOXES ARE NOT PIXEL-PERFECT

    With this initial version of MOSS-Image, even if you use the Studio, MOSS-Image does not necessarily respect the exact layout you give it.

    For now, bounding boxes indicate where elements should be positioned and how large or small they should appear. Text Item placement is more accurate than Object or Character Item placement, but in general, MOSS-Image will ultimately decide where exactly the Item is shown and how much it does or doesn't remain confined by its bbox boundaries.

    KEEP CFG ≥ 2.5

    Even with the most painstakingly fine-tuned layout, if you try to gen it with < 2.5 CFG, don't be surprised if your Items end up all over the place.

    For optimal results, OpenMOSS recommends ≥ 50 steps, 1.5 MP or 2 MP, and 3-6 CFG:

    Default 3.0 (recommended range: 3.0–6.0). A value of 3.0 is generally sufficient for long prompts; for short prompts, we recommend increasing it as needed.

    I've found a CFG @ 2.5 respects the layout even with fewer steps @ 1 MP, which makes it perfect for quickly testing your layouts before generating them at ≥ 1.5 MP.

    ✧ ✧ ✧

    Grab it already!

    Download it for free on GitHub.

    🚀 Launch the Live Web Demo

    Feedback & support

    Encountered a bug or have a feature request? Report an issue on GitHub. If you don't have a GitHub account, just leave a comment here on this Article.

    Share your work!

    I'd love to see what you've created with the help of the Studio. Be sure to add the tag Layout Studio to your posts so that I can find them here on Civitai!

    Enjoy!

    — ℝ𝕖𝕩𝕠

    ✧ ✧ ✧

    Description

    New in v1.1.0:

    • PNG metadata import: Import a MOSS-Image bbox JSON prompt from an existing .PNG file that contains metadata. Verified to work with .PNGs generated by: ComfyUI, Civitai Online Generator, Tensor Art Creation workspace.

    Other
    MOSS Image

    Details

    Downloads
    29
    Platform
    CivitAI
    Platform Status
    Available
    Created
    11/16/2026
    Updated
    11/20/2026
    Deleted
    -

    Files

    layout-studio-moss-image-1.1.0.zip

    Mirrors