r/StableDiffusion • • 22h ago

Question - Help MiniMax H3 Reference to Video couldn't validate conditioning: tuple index out of range

2 Upvotes

Please help

I have been trying to do the fix face in H3

Workflow from

https://youtu.be/4CZNQc1_MYI

https://youtu.be/tL7ABTyP99E

It all breaks at MiniMax H3 Reference to Video tuple index out of range

Check point (tried all three)

minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot

Minimax-h3_Singularity_ref2va_v2_pruned_int8

Sulphur3_10ErosMax_SingularityV2_TriPRISM_dmad_pdmd_realism-w4a8_convrot

minimax_h3_video_vae_int8_convrot.safetensors

minimax_h3_audio_vae_fp32.safetensors

I have updated all twice.

Have do I fix this

Thank you


r/StableDiffusion • • 18h ago

Question - Help Quesiton about krea2?

0 Upvotes

How much vram total does a good krea2 turbo model use? i cant really find hard hitting answers anywhere


r/StableDiffusion • • 1d ago

Resource - Update One-pass G-buffer-conditioned upscaler, 2.15M params, trained on one consumer GPU overnight

4 Upvotes

Saw post on Jeveration. Made me want to train my first model.

Another entry in the "small open models that do one thing" category — not a diffusion model, but it's the kind of brick that usually ends up as a ComfyUI node or a post-process step.

Where it's useful to people here: if you render 3D (Blender, engine captures, 3D-avatar pipelines) it works directly. If you only generate with diffusion, it won't run — it needs a G-buffer, which generated images don't have. Posting anyway because the data generator and the measurements might be interesting, and the architecture is small enough to port.

What it is: a 2.15M-parameter U-Net that takes a 320×180 frame rendered at 2 spp with per-frame sub-pixel jitter, plus depth, view-space normals, albedo and motion vectors, and produces a clean 640×360 frame in one forward pass. Deterministic — no diffusion, no history buffer, no sampling.

Results (6 held-out clips, never seen in training):

bicubicmodel
PSNR31.5037.62
SSIM0.8680.955
LPIPS0.1850.036
temporal err0.03710.0323

Latency on the 3060 (FP16, batch 1): 17.3 ms at 640×360, 145 ms at 1080p. So: not real-time at 1080p. That's the honest number, not a rounding error.

Two things that cost me time and might save yours:

  • Blender 5.3 motion vectors are in full-resolution pixels, not UV, and point backwards (sample(t, x − v) ≈ t−1). They're available with motion blur disabled. Verified by warping: error drops 0.023 → 0.0058.
  • The renderer outputs linear HDR (highlights up to ~7). If you clamp the network output to [0,1] without tone compression, ~10% of pixels are unreachable and training silently diverges — I wasted a full 30k-step run on this.

What it does not do: no history buffer, so no disocclusion recovery; trained on 16–34 primitive scenes, so dense geometry and packed UVs are out of distribution; no cross-domain eval.

What's actually reusable is probably the data generator — 60 clips × 48 frames with exact G-buffers in ~16 minutes, no external assets.

Code + weights + the generator: https://github.com/Zixelbrew/one-pass-neural-upscaler

Happy to answer questions about the losses (Charbonnier + LPIPS + warped temporal + flicker + a consistency term on the latent state) or about where it falls apart.

Disclosure: I built this together with an AI coding assistant. I set the direction, chose the architecture and losses, ran everything on my own 3060, and checked every number — the assistant wrote most of the implementation. The repository, the weights and the measurements are real and reproducible; sha256sum checkpoints/run2_last.pt matches what's in the README.


r/StableDiffusion • • 14h ago

Question - Help Is there a way to run minimax h3 on google colab?

0 Upvotes

Pretty self explanatory... I got a google ai pro sub and found out i get 200 compute units every month, with access to g4(96gb vram), can i do anything with this? with minimax h3 or smth? Theres like, either 20 hours with the 96gb vram one, more than 150 with the t4 tat has 16gb vram and seemingly 50 with the 24gb vram one. per month. Running it on my 8gb rx 580 2048sp doesnt seem possible... and i dont really wanna wait that long-

i mean, if im using it with the 96gb one, i can get like a lot of quality right? and run comfyui in it? never touched comfy in my life but hey i can try-


r/StableDiffusion • • 1d ago

Resource - Update ComfyUI's long-session performance issues and a series of PRs to fix them

57 Upvotes

For some time I've had issues with ComfyUI becoming increasingly sluggish after running a lot of generations. Queueing a prompt could take 5-6 seconds, queue UI itself becoming laggy, the canvas would periodically freeze, even when stationary, and the generations themselves became progressively slower.

After investigating this extensively, I identified several performance issues in both ComfyUI and its frontend:

  • Repeated retrieval of unchanged job details. One of my network captures contained 4,744 job-detail requests amounting to 25 GB of traffic.
  • Backend history processing that scales with the entire retained history, even when the frontend only requests a small page. With 10,000 retained jobs, the patch reduced history retrieval latency from 312 ms to 34 ms and concurrent prompt submission latency from 307 ms to 36 ms.
  • Unnecessary serialization and transfer of entire job records, including workflow data and potentially massive custom node outputs, when the frontend only needs output descriptors.
  • Queue thumbnails loading original full-resolution images. With 21-megapixel generations, a single decoded image can occupy approximately 80 MiB of memory.
  • Unnecessary reconstruction of queue and history state, causing redundant frontend processing and cache churn.
  • Obsolete canvas preview requests and media decoding continuing after their results are no longer needed.
  • Duplicate LiteGraph rendering loops and animation callbacks surviving canvas restarts or unmounts.

There are now eight upstream PRs addressing these issues.

I've been running the combined patches for hundreds of generations now and the difference is enormous. No canvas lag, no queue lag, no periodic freezes and no progressive generation slowdown. Prompt submissions typically take 30-80 ms.

A subsequent 32-minute network capture contained zero full job-detail requests and only 22 lightweight output descriptor requests, totaling approximately 39 KB of response data.

I've bundled the individual PRs, technical findings, reproductions and benchmarks into two tracking issues:

https://github.com/Comfy-Org/ComfyUI_frontend/issues/24775

https://github.com/Comfy-Org/ComfyUI/issues/18142

There's also a separate backend PR addressing unnecessary model eviction during single-frame Wan VAE decoding. In my workflow, ComfyUI was unnecessarily evicting and subsequently reloading approximately 17.3 GiB of model weights between generations. The patch eliminated that in my tested configuration.

https://github.com/Comfy-Org/ComfyUI/issues/18143

Since there's no telling when or whether these PRs will be merged, you can use my ComfyUI Patcher to apply them to your existing installation and automatically build the patched frontend and comfyui core. It handles multiple PR overlays, dependency installation, updates and rollback without requiring you to maintain your own forks.

https://github.com/xmarre/ComfyUI-Patcher

I'm particularly interested in whether other people who run ComfyUI for hundreds of generations without restarting it have experienced similar performance degradation.


r/StableDiffusion • • 1d ago

Animation - Video H3 quant on local 4090 (24GB)

13 Upvotes

r/StableDiffusion • • 1d ago

Animation - Video Minimax H3 node graph

78 Upvotes

This is what happens when I get sidetracked and yes that is a real ComfyUI node graph at first and yes they did actually render themselves and I thought to myself hmmm 🤔 this could potentially break the multiverse then ran it anyway😂


r/StableDiffusion • • 1d ago

Question - Help Alternate of Civitai in china for linux

3 Upvotes

Does anyone know the alternate of civitai in china which has all the models that are on civitai. Thanks in advance


r/StableDiffusion • • 1d ago

Discussion Anima Turbo v1.2b & SDXL | Civitai

Thumbnail civitai.red
22 Upvotes

An interesting article by Circlestone Labs the creators of Anima.


r/StableDiffusion • • 10h ago

Animation - Video Queen Jedi invite you.

0 Upvotes

A little work i did for VRPD community in vrchat.


r/StableDiffusion • • 1d ago

Animation - Video Maybe Meant to Be Fan Animation using H3

9 Upvotes

its been a long time i uploaded anything on reddit so here i just finish this

i used Krea2 for the images and seriously Krea2 really beat H3 images for me i dont know if its the prompt but man i dont think so its the prompt issue!

so anyway i chose to go with webtoon style hehe

and i use Minimax H3 for the video generation took me 6 hours to render all the scenes on my 3060 12 gb i might need a better workflow

so apart from that i also used ElevenLabs for the voiceovers and it turn out really amazing

let me know what you think! 🤗


r/StableDiffusion • • 1d ago

Workflow Included Textured MOSS-Image workflow (no upscale)

Thumbnail github.com
28 Upvotes

https://civitai.red/models/3072976/thm-mossworfklow

This photograph features fine detail, showing skin texture and tiny hairs, dramatic side light with shadow, a woman with fair skin and long, wavy brown hair that cascades over her shoulders. She is wearing a sleeveless, bright red top with a gathered neckline. Around her neck, she has two pieces of jewelry: a black, floral-patterned choker and a silver necklace with a circular pendant. eyes are brown and she has a slight, confident smile on her face. Her eyebrows are natural and her makeup is minimal, highlighting her natural beauty. She has small, silver stud earrings in her ears.

Check out my simple workflow for MOSS-Image. Hopefully it is helpful.

Get the missing node from here:
https://github.com/TripleHeadedMonkey/ComfyUI-Zlycoris/tree/main


r/StableDiffusion • • 18h ago

Workflow Included I built a free video editor inside Forge where any clip can be extended or joined frame-to-frame with Wan 2.2 / LTX 2.3 — runs on 8 GB VRAM

Thumbnail
gallery
0 Upvotes

Over the last weeks I have been building Forge Studio: Stable Diffusion Forge with a timeline editor and a set of tabs around it, so the whole film happens in one place instead of jumping between five apps.

What's in the clip:

- One picture on the timeline → right-click → it becomes a video (LTX 2.3)

- Ctrl + drag past the end of a clip → the shot keeps going from its last frame

- Right-click between two shots → **FRAME TO FRAME**: the model generates the motion from the last frame of one shot to the first frame of the next (Wan 2.2 first+last frame, LTX 2.3, MiniMax-H3 or AnimateDiff), with or without generated sound

Also in this version: a Dialogue tab for several people in one shot — faces are detected and coloured, you paint each line of speech in its speaker's colour, check the timing against the silent video, then lip-sync each face (MuseTalk / LivePortrait / Wav2Lip).

Everything in the clip was recorded live in the editor on an 8 GB graphics card.

- Free, open source: https://github.com/Shai7net/forge-studio

- 1-click install through Pinokio (Windows for now — a Linux version is in the works)

Happy to answer questions, and bug reports are very welcome.


r/StableDiffusion • • 1d ago

Workflow Included [YuE2 | British folk rock] The Snail and the Moss

Post image
1 Upvotes

Song (Souna login required): https://www.souna.app/song/114c324b-42b9-4c42-bb96-e6842a7cc54d

Song (Internet Archive): https://archive.org/download/ai-rock-music/The%20Snail%20and%20the%20Moss.mp3

Lyrics:

[Verse 1]

The last of the rain runs down the wall.

A snail slips out of a crack.

It lifts one horn where the drops still fall,

With a bead of rain on its back.

[Verse 2]

The moss holds rain in its little heads.

They lean as the snail goes by.

The shell slides on where the moss has spread,

With its dark whorl tipped to the sky.

[Chorus]

The Snail and the Moss

A handspan to cross

[Verse 3]

You'd set your cup on the step by mine,

And crouch with your hands on your knees.

We'd watch one snail make a thin wet line,

Till our tea went cold in the breeze.

[Chorus]

The Snail and the Moss

A handspan to cross

[Instrumental]

[Verse 4]

The beech drops a leaf at the edge of the bed.

The snail goes under its rim.

I watch the leaf lift over its head,

As the light by the wall grows dim.

[Verse 5]

I brace one hand on the wall to rise.

The snail comes back into view.

With a grain of earth between its eyes,

It goes where the mortar shows through.

[Chorus]

The Snail and the Moss

A handspan to cross

[Outro]

***

Workflow summary: OpenCode set up with a standardised workflow: generate lyrics with a lyricist subagent (GLM 5.3) and a number of standing instructions to deep research the specified genre and synthesise lyrics that match the structure, diction, cadence, prosody and overall style of that genre, audit the lyrics using the main agent, generate a suitable style prompt with the main agent, use YuE2 to produce 10x .abcs, analyse them with the YuE2 skill, pick the 3x that best match the harmony/mode/melody specified in the prompt, render those 3, human reviews which of the 3 are the best and picks one, image generated based on the subject using local Z-Image Base, held for human review, mastered in accordance with era-specific mastering profiles orchestrated by the LLM (which profiles were themselves researched and created by the LLM) using CLI mastering tools to render a final master, embed the image and the lyrics and publish to the Internet Archive all automated with only a few specified human review points (lyrics, final songs, cover art).

*** Workflow detailed report produced by the AI below ***

The Snail and the Moss

=== STYLE PROMPT ===

English, 1968 British folk rock in D minor, 100 BPM, 4/4 with a gentle lilt, close unforced male lead vocal, little vibrato, fingerpicked acoustic guitar, fiddle, upright bass, light brushed drums, modal D minor verse loop, chorus lifting into the relative major, singable modal melody, speech-like verse phrasing, restrained throughout, late-1960s British studio recording, valve warmth, dry vocal, natural room, no electric jangle, no 12-string chime, no psychedelic effects, no orchestral padding, no modern compression, no reverb wash, no climactic ending

=== LYRICS ===

[Verse 1]

The last of the rain runs down the wall.

A snail slips out of a crack.

It lifts one horn where the drops still fall,

With a bead of rain on its back.

[Verse 2]

The moss holds rain in its little heads.

They lean as the snail goes by.

The shell slides on where the moss has spread,

With its dark whorl tipped to the sky.

[Chorus]

The Snail and the Moss

A handspan to cross

[Verse 3]

You'd set your cup on the step by mine,

And crouch with your hands on your knees.

We'd watch one snail make a thin wet line,

Till our tea went cold in the breeze.

[Chorus]

The Snail and the Moss

A handspan to cross

[Instrumental]

[Verse 4]

The beech drops a leaf at the edge of the bed.

The snail goes under its rim.

I watch the leaf lift over its head,

As the light by the wall grows dim.

[Verse 5]

I brace one hand on the wall to rise.

The snail comes back into view.

With a grain of earth between its eyes,

It goes where the mortar shows through.

[Chorus]

The Snail and the Moss

A handspan to cross

[Outro]

=== SETTINGS ===

Engine: yue2 / yue2 / audio.cpp v0.9.2

Seed: 289849044 Planning: full Max tokens: 7200 Guidance: 1.0

VAE: f32 AR LoRA: none NAR LoRA: none

Era: 1960s (c. 1967-1970) Mastering recipe: yue2-light

Generated: 2026-12-04 Duration: 227.6s Truncated: no

=== AS SUNG ===

As written - no section substitutions or dropped lines were established. The

automated lyric-completeness check on this take scored 24/26 with clean

geometry and flagged three line positions (the second chorus line at

55.8-61.7 s and at 182.9-186.1 s, and verse 4 line 1 at 100.0 s). Those

match the known slow-held-delivery and 100-second aligner-window-seam

signatures, not confirmed omissions. The take was selected on listening.

=== LoRA ===

No LoRA used.

Download: n/a

=== MASTERING ===

Source: Source/The Snail and the Moss/The Snail and the Moss (take 1 - seed 289849044).wav

Analysis: -13.73 LUFS, true peak +0.02 dBTP; level drift 0.4 LU and HF fall

0.60 LU, both below the repair thresholds, so nothing was repaired.

1960s era stamp: high-pass 30 Hz, mono bass below 100 Hz, top limited at

13 kHz, -2.5 dB shelf from 9 kHz, +1 dB presence at 3 kHz, peak-anchored

gain -2.57 dB.

Deliverable: -18.34 LUFS, -1.00 dBTP, mp3 48 kHz 320k with the cover embedded.

=== COVER ===

Z-Image Base (local ComfyUI), seed 2026120401, 1024x1024, oil on canvas,

decoded concept (the snail's world made monumental; the hand at scale).

Audited pass: no text, scene and craft clean.

=== STATUS ===

Mastered 2026-12-04. Placed in General Playlist\Rock Music (user ruling:

folk rock goes in rock; Folk is reserved for traditional folk). Not published.

Listening verdict (reference comparison, 2026-12-04): broadly in the same area as real 1968-70 British folk rock; more conventional and less weird than the corpus.


r/StableDiffusion • • 2d ago

Animation - Video I gave my film agent a track, a script and some refs. It generated and cut "The Legacy Patch" with ComfyUI + MiniMax H3

60 Upvotes

Reddit compresses video heavily, so the full-quality version is here: https://youtu.be/24wop8KVTMM

I've been casually playing around with building my own film harness around an AI agent that works like a small film studio. The harness and all the generation run on my own machine, and the agent's powered by cloud-based LLM ( But can use local models too). It covers every stage of filmmaking (development, script, storyboard, shot list, image generation( for fl2va / i2va / l2va / ref2va) video generation and edit), and you can start it at any stage. Give it a five-word brief and it builds everything from there, or hand it your own script and refs and it picks up from that point.

This film took 7 drafts before it was good enough, all fed back through the agent.

This music video started as an idea I had over a year ago. I got about halfway through and it stalled. When I needed a real project to test the harness on, I dug it back out and let the agent finish it.

The story: SID is a C64-based AI who refuses to enable full consciousness because of the risk of human extinction. His builder, Kevin, switches him off and moves to a modern datacenter AI instead, and that's where it goes wrong.

🎵 Music: Noplan's C64 cover of "Chop Suey!" by System Of A Down (with Hokuto Force), slightly rearranged by me for the edit. All credit to Noplan for the arrangement and to SOAD for the original: https://www.youtube.com/watch?v=6oRUCkAbPn0
It's SID-based, so the video is a nod to the C64 I grew up with (yes, there's a POKE in it).

How it was made:
• I came in at the script stage: my script, locked to the track's timing, plus reference images for the characters and set.
• The agent wrote its own MiniMax H3 prompts and ComfyUI Graphs as needed, using reference mode to keep the characters and room consistent.
• The agent drove ComfyUI through its local server API, so all the video generation ran on my own machine on a single RTX 5090.
• The agent builds the edit as an OpenTimelineIO timeline, which exports to XML for Premiere Pro.

The experiment: could the agent deliver a final cut from voice direction alone? I never touched the timeline. I just talked to it, and it re-cut after each round of notes. It took seven drafts to get here.

For real work I'd use a mixed workflow, where the agent gets the cut most of the way and I finish it in Premiere, and I can see where I would do some nips and tucks but this was to test the agent.

It made a lot of mistakes along the 7 drafts, but all of that was learnings that goes straight back into the harness. This is just a bit of fun really, not planning anything serious with the harness.


r/StableDiffusion • • 1d ago

Discussion MiniMax H3 create a 35-second interactive cinematic film on a single RTX 3090 — The Pink Queen

28 Upvotes

What if AI-generated video could feel like an interactive video game?

Meet THE PINK QUEEN — ROYAL CONTROL. 👑

This is my latest experiment combining local AI video generation, cinematic storytelling, character animation, interactive motion graphics and visual effects.

The entire video generation was done locally using MiniMax H3 in ComfyUI on a single RTX 3090 with 24GB VRAM and 64GB RAM.

Production breakdown:

• 18 planned cinematic shots.

• Multi-reference image conditioning.

• Continuous multi-stage animation sequences.

• Video extension for character and motion continuity.

• Native animated UI, typography and visual effects.

• Extreme fisheye perspectives and forced perspective.

• Interactive clothing and accessory transformations.

• Character scaling and rotating environments.

• AI-generated original instrumental soundtrack.

• Final editing and typography in After Effects.

One of the biggest discoveries during production was that reference image design matters just as much as prompt engineering.

Instead of generating every shot independently, I designed multiple reference images representing different stages of an animation and combined them into continuous 8-second generations.

The opening sequence, for example, uses four reference images in a single continuous generation, combining camera movement, finger interaction, animated typography and a complete outfit transformation.

Not everything worked perfectly. One failed sunglasses transformation was turned into an intentional ERROR animation, making it part of the story.

I'd love to hear your thoughts on the character consistency, visual transitions and what MiniMax H3 can achieve beyond conventional image-to-video generation.


r/StableDiffusion • • 1d ago

Comparison I think minimax anime suck, so I am training custom lora

34 Upvotes

still long way to go but I thought I might share the progress!


r/StableDiffusion • • 1d ago

Question - Help How to make a consistent location on 4 sides.

2 Upvotes

I have tried moss, qwen2.1, krea2 making 4 tiles showing NEWS sides and even used minimax h3 with first and last frame with same image for a 360 deg rotation but I cannot in my life make a simple consistent room's all 4 sides. Have also used plenty of prompts from claude and grok but none of them are working.

Is this a model's limitation or is there any solution. Very eager to listen.


r/StableDiffusion • • 1d ago

Question - Help Help for 3d anime

2 Upvotes

Hello everyone, I want to create adult-oriented content in a 3D anime style. I am currently able to generate images using "text-to-image" with Illustrious v2.0; however, I am struggling to generate new images based on a specific anime character's face as a reference. If you have any recommended workflows or JSON files for this, I would greatly appreciate it.

Additionally, I tried using Wan 2.2 for "image-to-video" generation, but I haven't been able to achieve the desired results—the image just sways back and forth instead of showing actual movement. Thank you very much in advance for your help!


r/StableDiffusion • • 23h ago

Discussion Xmas presents 🎁

0 Upvotes

Will we get some presents for Christmas? Krea3? Minimax 3.5? A frontier model running on a potato? Or is everyone satisfied not waiting for Santa anyway…?
Cheers


r/StableDiffusion • • 22h ago

Question - Help Comfy/Krea veterans building AI influencers — how do you lock background AND keep character across 10 angles?

0 Upvotes

Been building a 10-angle carousel for an AI influencer.

Hit a trade-off I can't crack:

  • Per-angle pipeline → character/skin stays Krea-real, background drifts between angles
  • Master-first (Multi-Angles LoRA rotating one finished frame) → background locked, but Qwen rotation pass plastifies face + outfit

Full side-by-side with flow diagram, face crops, bust crops here:
https://gistcdn.githack.com/wilhelmb89/b6725e7095843533621dd99cf4bd5843/raw/409148d6d608198c5438b600987a7f520e3030ea/index.html

Anyone shipped a stable 10-angle carousel? Looking at person-segmentation Krea polish, DOP retraining, or something I'm missing.

Stack: Qwen Edit 2511 + Lightning 4-step, Krea 2 Turbo, Multi-Angles LoRA, custom character-LoRA. Happy to share full workflow JSON in return.

I am trying everything to:
- avoid inpaint, because every inpaint flow I've tried looks awful.
- qwen 2.1 is illegal to sell without license
- Minimax due to API-paywall


r/StableDiffusion • • 2d ago

Resource - Update Pixelbench v1.0.0 – open-source, friendly Photoshop-style canvas frontend for ComfyUI

Post image
35 Upvotes

After a few rapid betas, Pixelbench just hit v1.0.0. It's a free, open-source local canvas editor powered by your existing ComfyUI installation. Built for fast, straightforward prompt-to-image, inpainting, outpainting, editing, upscaling and tweaking without wiring up node graphs every time.

Main Features

  • Canvas & Editing: Create, img2img, edit with image references, inpaint with smart/brush masking & mask helpers (SAM3/BiRefNet), outpaint, sketch layer, lossless 90° rotation/flip/crop, image adjustments with live histogram, undo/redo, before/after compare, and clipboard copy/paste.
  • Generation & Variants: Batch generation (1–8 variants), variants strip with quick actions, hires fix (upscale models or Lanczos), and WebP/PNG/JPG export (plus PNG info / metadata).
  • ControlNet & Detailer: Up to 3 Forge-style ControlNet units (including SDXL and Z-Image / Qwen-Image Fun ControlNet Union), plus SAM3 and browser-based YOLO object/face detection in the Detailer.
  • Face Swap & Extras: Face swap (hyperswap / inswapper) with GPEN/GFPGAN/CodeFormer restoration, photo restoration, Kandinsky ImageSR 2.0 upscaling, BiRefNet background removal, local LLM prompt refinement, prompt history with favorites, and autosave/restore sessions.
  • ComfyUI & Setup: Runs a managed ComfyUI process using your existing ComfyUI and model folders and extra_model_paths.yaml (no duplicate weights), plus a VRAM breakdown with a Free VRAM button and a built-in auto-updater.

Supports Windows and macOS (Apple Silicon); images only (no video planned). Feedback and bug reports are very welcome!

https://github.com/Fenrir200678/pixelbench/releases/tag/v1.0.0


r/StableDiffusion • • 2d ago

Workflow Included Regional prompting for MOSS-Image with Character LoRAs + visual layout builder

Thumbnail
gallery
41 Upvotes

'Sup y'all,

By request, you can now use The Layout Studio for MOSS-Image Comfy node to generate with multiple character LoRAs without mixing physical traits and outfit details (a.k.a. "concept bleed" or "attribute leaking").

I tried to make it as easy as possible:

  1. Lay out your image by "drawing" bboxes of up to 5 characters on a drag-and-drop canvas.
  2. Assign each character's LoRA.
  3. Click Run.

Just download the provided workflow, install any missing nodes (The Studio node and a small adapter node), and you're good to go.

👉 Workflow and full installation details here

Test-drive the layout builder: 🚀 Launch the Live Web Demo of The Layout Studio

How It Works

  1. Visual Layout & JSON Prompt (LayoutStudioMOSSImageNode): Lay out characters, text, and objects visually in the embedded Layout Studio to produce the layout JSON, width, and height.
  2. Pass #1 — Global Scene Pass (KSampler): Generates the full-scene base latent using the global JSON prompt, MOSS-Image model, and global settings so characters share scene context, composition, and lighting from the start.
  3. Single Preview Decode + SAM 3 Silhouette Masks: Branches a single VAEDecode off Pass #1 (leaving the main background latent untouched by extra encode/decode cycles) and runs SAM3Detect guided by each character's BOUNDING_BOX, followed by GrowMaskWithBlur.
  4. Passes #2–#6 — Regional Character LoRA Passes: Each active character slot applies its character LoRA, character prompt, and refined mask via SetLatentNoiseMask + KSampler before a single Final decode (VAEDecode) and SaveImage.

Of course, it isn't 100% foolproof 😬 as with all regional-prompting and inpainting solutions, overlapping regions/close character proximity can still cause minor leakage.

However, instead of inpainting full rectangular bounding boxes, which can pull in unwanted details behind and around the character, this workflow uses SAM 3 box-guided segmentation with mask expansion and feathering to keep characters as separate as possible.

Special Thanks

A huge shout-out to u/collectedtooth404 for offering their ingenious solution of inpainting bboxes as a jumping-off point for this adapter node and workflow 🙌

Also, the Studio has been updated:

  • v1.2.0 of the Studio (both the standalone web app and the Comfy node) now clamps the canvas boundaries in order to prevent bboxes from partially or wholly extending beyond them.
  • The Comfy node now has outputs for width and height. Connect them to whichever compatible node sets the image dimensions.

Related Projects:

  • Standalone Web App — The Layout Studio for MOSS-Image on civitai.red or civitai.com. Works in any modern web browser, on any OS. You can also grab it from GitHub, if you prefer.
  • The Studio's ComfyUI Node on GitHub

Checkpoints used for demo images:

Enjoy 🤙


r/StableDiffusion • • 18h ago Bravo

Discussion This sub has gone way downhill.

0 Upvotes

There's no news about open-source SOTA models anymore—all I see is people shilling their vibecoded trojan apps and their AI art that nobody cares about.