A Canny edge Control LoRA for MOSS-Image-SFT. Feed a white-on-black Canny map. The model follows contours and framing, and the prompt sets materials, color and style.
A ControlNet-like LoRA (controlnet) for MOSS-Image-SFT: a LoRA that follows a control image the way a ControlNet does, not a full ControlNet model and 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 4500.
Each preview is one combined image, left to right: control, then three prompts.
| Control → Results |
|---|
Follows object contours, framing and fine edges from a 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.
moss_image_sft_int8_convrot.safetensors, text encoder qwen3.5_9b_w4a8_gptq.safetensors with type moss_image, VAE flux2-vae_small.safetensors.ai-toolkit on both the positive and the negative encode. This LoRA was trained with kv cache on.euler + simple.No trigger word. The control image sets the structure. The prompt sets identity, materials, clothing and the world.
The workflow in this repo loads a photo, builds the control map, encodes it with the prompt, and samples.
The included workflow extracts edges with Canny Edge from comfyui_controlnet_aux (low 100, high 200). A white line map on a black background matches the training controls.
Also uses the built-in Text Encode MOSS-Image Edit node. Set the edit format to ai-toolkit.
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
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.
OpenMOSS-Team/MOSS-Image-SFT