CivArchive
    MOSS-Image Lineart Control - v1.0
    Preview 148524927
    Preview 148524928
    Preview 148524931
    Preview 148524930

    MOSS-Image-SFT — Lineart Control LoRA

    Short description

    A lineart Control LoRA for MOSS-Image-SFT. Feed a fine white line drawing on black. The model follows those lines, and the prompt sets color, material and style.

    This is a ControlNet-style edit LoRA, not the official MOSS color/depth concat adapter. Load it with a LoRA loader and pass one control image through Text Encode MOSS-Image Edit.

    Selected checkpoint: training step 5000.

    Files

    Examples

    Each preview is one combined image, left to right: control, then three prompts.

    Extended description

    Follows a clean line drawing: contours without the extra speckle of a raw Canny map. Appearance, materials, clothing and the world come from the text prompt.

    The LoRA is rank 64 on linear layers and rank 16 on convolutions. It was trained as an edit adapter: the control image is the reference, and the prompt describes the picture to generate.

    How to use

    1. Load MOSS-Image-SFT: UNet moss_image_sft_int8_convrot.safetensors, text encoder qwen3.5_9b_w4a8_gptq.safetensors with type moss_image, VAE flux2-vae_small.safetensors.

    2. Load this LoRA on the UNet at strength 1.0.

    3. Build the control map and pass it as the single reference image in Text Encode MOSS-Image Edit.

    4. Set edit format to ai-toolkit on both the positive and the negative encode. This LoRA was trained with kv cache on.

    5. Sample with 30 steps, CFG 4, euler + simple.

    No trigger word. The control image sets the structure. The prompt sets identity, materials, clothing and the world.

    ComfyUI

    The workflow in this repo loads a photo, builds the control map, encodes it with the prompt, and samples.

    The included workflow uses Realistic Lineart with coarse enabled. That setting matches the training maps more closely than the fine lineart mode. Lines are white on black.

    Also uses the built-in Text Encode MOSS-Image Edit node. Set the edit format to ai-toolkit.

    Base model

    Trained on and recommended with OpenMOSS-Team/MOSS-Image-SFT.

    Typical settings from the included workflow: 30 steps, CFG 4, euler + simple, LoRA strength 1.0.

    Negative prompt used in training samples:

    nsfw, worst quality, bad anatomy, watermark, jpeg artifact

    Example prompt

    Full-body photograph of a circus ringmaster in scarlet tails, gold braid and a tall black hat, standing three-quarter view in front of a painted circus tent. One arm raised high, the other holding a slender black cane down at the side. Confetti, saturated color, entire body in frame.

    What it does

    • Follows a clean line drawing: contours without the extra speckle of a raw Canny map.

    • Lets the prompt define identity, materials, clothing and style.

    • Works as a single-image control adapter for MOSS-Image-SFT.

    Tips

    • Sparse white lines on black match training better than a dense sketch.

    • Coarse realistic lineart is the preprocessor used for the release workflow.

    • Drawings and extracted lineart both work if the line weight stays light.

    • Lower the LoRA strength toward 0.7 if the control is too rigid. Strength 1.0 is the trained value.

    Use cases

    • Coloring a line drawing.

    • Turning a photo into a new scene that keeps the same line structure.

    • Design sketches where the drawing, not the lighting, should lead.

    Description

    LORA
    Other

    Details

    Downloads
    38
    Platform
    CivitAI
    Platform Status
    Available
    Created
    11/10/2026
    Updated
    11/11/2026
    Deleted
    -

    Files

    moss_image_lineart_control.json

    Mirrors

    moss_image_sft_lineart_control_lora.safetensors