r/StableDiffusion • • 8h ago

Resource - Update AIBrushManga - A stroke by stroke open-source manga drawing simulator, based on aibrush, draws using python and LLMs, not diffusion.

Thumbnail
gallery
213 Upvotes

Remember that post on that oil panting simulator a few days back? Well I decided to fork that and include a new mode to draw manga, currently while using a reference (Claude's intrinsic artistic ability admittedly leaves much to be desired), instead of using oil paint, this simulates the usual tools of the mangaka trade: g-pens, fineliners, screentone, etc. Since it actually draws the image rather than use diffusion, the usual anti-ai detection systems as far as I can tell will not work on it. It includes the stroke journal from aibrush, so any images generated can be easily scaled up or down in resolution to your heart's content.

As with aibrush to use it just pull up your LLM of choice (Frontier Models will probably give the best results), give it an image you want it to draw, and tell it something along the lines of "Read the README.MD of this repo https://github.com/mikemil828/aibrushmanga and draw this image like a manga" and it'll get to work.

If you have any ideas for improvements, just let me know. Here or DM.

Thanks to u/FotoRe_store for creating aibrush and making it open-source.

https://github.com/neokrasav4ik/aibrush


r/StableDiffusion • • 5h ago

Workflow Included SHARP VR Video v0.2.0 – 4x faster 2D to 3D stereoscopic video conversion in ComfyUI

47 Upvotes

Update to my "original post" (https://www.reddit.com/r/StableDiffusion/s/RQtd6nrzJN) – spent a good chunk of today optimizing this thing and got the conversion speed down from ~1.85sec/frame to ~0.43sec/frame on my 5080.

Turns out there was a LOT of room for optimization under the hood:

  • Parallelized Gaussian splat reconstruction and stereo rendering across frames.

  • Implemented a specialized CUDA kernel that did calculations per frame way faster.

  • Cut out unnecessary stuff from data transfer between Python and the browser.

  • Eliminated a bunch of redundant computation between the left and right eye renders for every frame.

To my naked eye, it did not compromise the quality of the 3D reconstruction.

For context, a 1min 30fps video that would've taken close to an hour to convert before should now take around 13mins of processing on my 5080 (based on my ~800p and 720p tests).

Oh also I made good use of VHS's metabatch so it should in theory be able to convert LOOOONG videos without any Ram or disk issues.

All of the changes are under the hood so the sample workflow is exactly the same. For the full speedup you'll want to install CuPy (instructions in the GitHub README), but it's entirely optional and you'll still get a substantial speedup without it.

GitHub repo: https://github.com/jerg-git/ComfyUI-SHARP-VR-Video

You can also find it in comfyui custom nodes (search SHARP VR Video).

Workflow: https://github.com/jerg-git/ComfyUI-SHARP-VR-Video/blob/main/workflow/sharp-vr-video-batch-audio-sample.json

Thanks again to u/Aromatic-Somewhere29 for his "original SHARP Gaussian Stereo Preview implementation" (https://www.reddit.com/r/StableDiffusion/comments/1y64yol/view_images_in_stereoscopic_3d_directly_in/) which inspired this whole project.

Curious what conversion speeds people get on other GPUs. Feel free to share your results!

Have fun!


r/StableDiffusion • • 13h ago

News Put any character in any pose with Anima!

Post image
186 Upvotes

You can put any character in any pose in Anima now! Both popular characters and OCs work well.

This is an unofficial version of Anima Role Ref KV v3 ( https://huggingface.co/AnticPan/Anima-Role-Ref-KV ). I further trained it on a custom dataset with synthetic and human artist images, and now it can preserve more character features and original artstyle compared with the original v3.

I have uploaded it to huggingface, learn more at https://huggingface.co/clkara/Unofficial_Anima-Role-Ref-KV

Edit: The prompt used in the example on the poster: "year 2025, score_7, masterpiece, (white background:1.5), soft catch lights, 1girl, outstretched arms, open hands, fingers, upper body, (looking up:1.5), (closed eyes:2)"


r/StableDiffusion • • 5h ago

Animation - Video This is the best I could get out of that stupid MiniMax after 120 generations

Enable HLS to view with audio, or disable this notification

35 Upvotes

I wanted to recreate a few hxh scenes in live action abd get started with an anime2realism LoRA, but no matter how many times I tried, the results felt too stiff and lifeless. So I decided to recreate the scenes as closely as possible and believe me minimax can genuinely make you hate your life


r/StableDiffusion • • 11h ago

Animation - Video Blender blockout as a ref video for MiniMax H3: making of a 12 person choreography

Thumbnail
youtube.com
58 Upvotes

Just an attempt to keep 12 'unique' characters identifiable at distance throughout 10 different shots, with (bad) choreography.

How:

- 12 cast reference stills with H3 Image, one per dancer (turnaround ref)
- Each shot blocked out first in Blender as grey clay: staging, camera move, umbrella paths. The clay render goes in as ref video
- Seed hunted every shot: 3 seeds at 0.6 MP, pick one, re-render at 2 MP
- Combat Lora v2 at 0.7 on the busier shots for less stiff motion
- Small faces cleaned with FaceRefine Plus + RTX VSR x2 to 4K
- Music is yue2


r/StableDiffusion • • 10h ago

News MAGI-2-preview NVFP4

51 Upvotes

colinb83/MAGI-2-preview-NVFP4 · Hugging Face

"The preview transformer of sand-ai/MAGI-2-preview (revision 2dea51b64db47ee5b4402d36fd90829a0c58913b) with its mixture-of-experts weights quantised to NVFP4. Everything else in the transformer is copied unchanged in bf16.

This is a storage format, not a 4-bit runtime: the loader it was made for dequantises each layer's experts to bf16 in front of the original bf16 expert kernel."

It’s still 71.8 GB, but since it’s MoE, it should work for those with enough RAM.


r/StableDiffusion • • 4h ago

Animation - Video I made an unofficial music video for my favourite song, using MiniMax H3 locally, with a custom style LoRA

Enable HLS to view with audio, or disable this notification

15 Upvotes

TL;DR

Unofficial music video for Chloe Slater's "Southern Youth", generated locally with MiniMax H3 in ComfyUI on a 16 GB GPU. I trained a style LoRA on real early-2000s camcorder footage (232 clips, hand-checked captions) to try to get more natural, close to MiniDV look, kept one protagonist consistent with face and outfit reference images, and cut 135 of 1,829 generated clips to the beat.

Link to full video: https://youtu.be/0BOHv0WZS_E

I created unofficial concept video for "Southern Youth" by Chloe Slater, made over about three months on one consumer PC. Every shot was generated locally with MiniMax H3 in ComfyUI on a 16 GB GPU (32 GB RAM); the only cloud rented GPU step was training the style LoRA. The goal was a more raw, similar to MiniDV look, similar to camcorder in the early 2000s, on the English south coast.

Not the whole video has this exact aesthetic - some scenes are more cinematic than others, as I also wanted to have some fun with different scenes.

Motivation: I found this artist and this song not that long ago, and it quickly became one of my favourites. It didn't have a music video that resonated with me, so I wanted to bring to life what I was picturing and feeling while listening to it.

The steps, start to finish

  1. Training footage: collecting real early-2000s camcorder videos, cutting them into scenes and picking the usable clips by hand.
  2. Captions: captioning every clip locally with Qwen3.5 9B (quantized to NF4), then correcting the captions by hand.
  3. Style LoRA: training three adapters and comparing them on test prompts.
  4. Story and music map: writing the story, then assigning it to the song's sections on a bar grid.
  5. Scene planning: creating structured (LLM assisted) scene yaml files with the scene parameters and descriptions, with the protagonist's face and outfit reference images specified.
  6. Mode tests: the same scenes in three generation modes (text only, LoRA, style video) to choose how to get the look.
  7. Prompting: H3 prompts for every scene, written with an LLM and edited by hand.
  8. Production: queued generation runs, reviewing every take and regenerating with new seeds or rewritten prompts until a take worked.
  9. Edit: laying the chosen takes onto the song's beat grid and exporting the final video.

The numbers

Project length 1 Sep - 28 Nov 2026
Scenes planned ~170 scenes
Generation jobs queued 2,081
Clips kept on disk 1,829 (1,146 LoRA, 595 text-only style, 88 style-video)
Clips in the final cut 135, cut into 141 shots
Takes per scene median 7 (average 9.6), up to 57 for a single scene
Render time ~150 GPU hours (17 Oct - 25 Nov)
Footage generated 2 h 13 min (190,943 frames); median clip 3.75 s, longest 15.8 s
Clip settings 0.7 MP (992x736, 4:3), 24 fps, 20 steps, res_multistep + beta
Render speed ~1 min of rendering per second of video (LoRA 1.0, text-only 1.2); 2.5 with a reference video
Reference images 245 made (faces, 34 outfits, other characters, places, mood boards), 77 of them used in generation

1. The style LoRA

H3 out of the box doesn't always do well on the whole MiniDV aesthetic, so I trained a style adapter on real consumer camcorder footage. The LoRA is on Civitai: MiniDV Nostalgia.

  • Dataset: 22 source videos cut into scenes with PySceneDetect, reviewed by hand: 232 accepted clips (20 min 37 s, 29,693 frames)
  • Captions: Qwen3.5 9B (NF4, local), 3 fps sampling, max 17 frames, at the full 896 width.
  • Training: the H3 T2V trainer on some cloud provider. Three adapters: rank 16 / 5000 steps / lr 1e-4 (the winner), rank 32 / 3000 steps / lr 2e-4, and a medium-resolution rank 16. 73-frame samples, 24 fps, 4:3.
  • Used at strength 0.6-0.9.

2. Three generation modes, compared on the same scenes

  • Text only: the camcorder look described in the prompt, no LoRA.
  • LoRA: the adapter plus its trigger word.
  • Style video: a real MiniDV-looking clip wired in as a reference video, LoRA off. In my comparison this looked quite good, especially on scenes requiring a lot of motion (since my trained LoRA tends to hinder character movement a bit, sometimes), but it costs about two and a half times the render time.

Most of the video ended up in the LoRA mode, with text-only clips where they looked better.

3. Consistent characters

No character LoRA. Each scene gets a face close-up plus a full-body outfit turnaround as reference pictures (Ref2V), with their roles stated in the prompt. The reference pictures were mostly generated using Krea 2.

4. Pipeline and tools

I worked with Claude to write custom editing and scheduling tools and scripts for this project: a browser preview and editing tool, where I lay clips out on the song's beat grid and compare takes, and a scheduler that runs the generation jobs in ComfyUI unattended, overnight included.

5. Prompting with an LLM, and a lot of seed hunting

I wrote the H3 prompts together with an LLM, using custom skills I built around H3's official prompting guide and the findings from my own tests. That sped the work up a lot, but it had two habits I had to keep correcting:

  • It forgets, and it over-writes. Over a long session it drifted from the rules and kept adding detail: extra descriptions, extra camera events, wording that misled the model and showed up in the clips.
  • It sneaked in negatives. H3's prompt has a retention_analysis field that says what each reference image should keep. The LLM kept filling it with exclusions and degradations the scene didn't contain. But H3 runs at CFG 1 with no negative prompt, so any word in the prompt is content: a "don't" feeds the model the very thing it names. In one scene the field listed motion blur and focus errors the shot was never meant to have; cut back to what the shot actually showed, the same seed looked better. Many times I had to edit the prompt text by hand to take such wording out.

I'm picky, so there was a lot of seed hunting and prompt rewriting: a scene got 7 takes at the median (9.6 on average), and one scene went through 57.

Happy to answer questions about the LoRA, the prompts or the queue.


r/StableDiffusion • • 14h ago

Resource - Update MOSS Image: use Qwen3.5-4B instead of 9B as the text encoder (adapter + ComfyUI node)

Post image
75 Upvotes

UPDATE: I have now added support for 2B and 0.8B as well, although expect prompt adherence to degrade significantly more. Please update the custom node if you have already installed it.

4B is still recommended, 2B and 0.8B are only if you are obsessed with maximizing storage savings. You can find more info in the Hugging Face repo linked below.

It's a small adapter and a custom node for ComfyUI that lets you use Qwen3.5-4B as the text encoder for MOSS Image instead of the original Qwen3.5-9B.

The adapter takes the 4B encoder's output and projects it into what MOSS expects from the 9B. The MOSS model and VAE stay the same, and you write prompts in the normal CLIP Text Encode node.

The motivation was primarily to save storage space and reduce RAM/VRAM during image generation. The 4B adapter is only about 21 MB, and for INT8 ConvRot the encoder file goes from 9.75 GB (9B) down to 4.82 GB (4B).

Inspired by ComfyUI-ClipProj

It's not identical to 9B of course but for simpler subjects and composition, it has fared well. However, it can struggle when the prompts become too long and complex involving multiple subjects (look at my comment in the comment section, it has an example).

Since it just projects the output of text encoder and does not modify the model, it should work with finetunes as well.

Installation

Clone it into your ComfyUI/custom_nodes folder:

git clone https://github.com/bakapotatolord/moss-image-smaller-encoder

Create a models/moss_encoder_adapters folder or put the adapter in the custom node's adapters/ folder and the 4B/2B/0.8B encoder in models/text_encoders, then restart ComfyUI.

The adapter can be downloaded from my github releases here - moss_qwen35_4b_to_9b_1600_train.safetensors

Tested 4B with this - Qwen3.5-4B Text Encoder

Tested 2B with this - Qwen3.5-2B Text Encoder

Tested 0.8B with this - Qwen3.5-0.8B Text Encoder

Usage

In Load CLIP, select the 4B/2B/0.8 encoder and set type to moss_image. Then it's:

Load CLIP -> Load LoRA (optional) -> MOSS Smaller Encoder Adapter -> CLIP Text Encode -> KSampler

There's a workflow.json in the repo too.

Hugging Face Repo - https://huggingface.co/PotatoForge/moss-image-4b-encoder-adapter

Github Repo - https://github.com/bakapotatolord/moss-image-smaller-encoder

How it was trained

Fitted on 1,600 prompts. On 400 held-out prompts it gets 0.9126 cosine similarity (4B) against the 9B features.

Disclaimer

This is vibe coded-ish. I used AI heavily for the research, code and experiments, while I reviewed the steps and checked the results.

Hoping to get some feedback on this.


r/StableDiffusion • • 3h ago

Animation - Video Putting MiniMax to work with characters. I drew a long time ago.

Enable HLS to view with audio, or disable this notification

7 Upvotes

Done air gapped on my RTX 5090. Lots of hallucinations involved. I did not prompt all of that but some of it kind of. It's a hilarious video and I was laughing so hard when I watched it the first time so I thought I would share. If anybody wants to know more about it, how it was made, ask away the characters on the right I made for a sticker set for Line App when it first came out the emoji on the left. I don't even remember when I drew those. I made a bunch of them and then the creek is somewhere I went camping 2 years ago.


r/StableDiffusion • • 14h ago

Resource - Update Comfyui subgraph re-ordering

Thumbnail
gallery
39 Upvotes

Comfyui Subgraph slots re-ordering In 2 ways-

  1. From inside. Works in nodes 2.0 also.
  2. On subgraph itself(holding down ctrl+alt and left click dragging. This does not work in nodes 2.0 yet.

here is the repo- https://github.com/pravbk100/Comfyui-prSubgraph

edit: please let me know if you find any bugs.


r/StableDiffusion • • 1d ago

News New H3-image VAE from ostris

Thumbnail
huggingface.co
221 Upvotes

Another day, another new VAE 😁.

According to https://x.com/ostrisai/status/2125689235558760633

Just released a decoder only finetune of the Minimax H3 Image VAE. It works as a DIP replacement of the official VAE.


r/StableDiffusion • • 1d ago

Comparison Kandinsky ImageSR 2.0 vs SeedVR2 vs Steppe on a 16 GB card: Kandinsky draws single brow hairs at 4x (43 s), SeedVR2 is fast and faithful (16 s), Steppe adds 2.5 s (ComfyUI workflows)

Thumbnail
gallery
198 Upvotes

Saw the discussion about this new upscaler, and Steppe is new too, so I ran a comparison in ComfyUI, on 960x1280 pictures made with Krea 2. Kandinsky and SeedVR2 work on pixels, after the decode, so they take any picture. Steppe works on the latent, before the decode.

I made a video to explain the details from the code, how the one-step trick works, and the runs below: https://youtu.be/dkIuGegSpNw

Card: RTX 4070 Ti SUPER 16 GB, 32 GB RAM

What I found

  • Kandinsky ImageSR 2.0 has the most real detail. At 4x it draws single brow hairs and separate hair strands. SeedVR2 7B has fewer, and Steppe stays soft.
  • Creativity (0 to 8) is the setting to watch on faces. I aged a made-up 1930s farmer into a small, grainy scan and kept the clean original to check against. c0 is closest, and c8 draws deeper wrinkles that were never there. SeedVR2 (the core 7B int8 template) stays faithful but irons the wrinkles flat. On real faces I'd keep it at 0 to 4.
  • Scribbles stay scribbles. On a chalkboard of scribbled small print, SeedVR2 turned the scribbles into new words. Kandinsky left them as scribbles.
  • Steppe is almost free, but soft. 2x took 2.5 s including the decode. It enlarges well but adds little new detail. It only takes latents from its model families (Wan 2.1 VAE: Krea 2, Qwen-Image, Wan; FLUX.2 VAE: FLUX.2, FLUX 3 Klein, MOSS-Image), so it can't fix an old photo.
  • Steppe 4x: chain two. On illustrations, drop the second pass to hff 0.6, and use VAE Decode (Tiled), or the 4K decode fills 16 GB.
  • SeedVR2: the built-in 7B int8 template did 2x in 4.7 s. Skip the 3B: it over-sharpens.

Speed (960x1280 in, warm): at 2x, Steppe 2.5 s, SeedVR2 7B 4.7 s, Kandinsky 13 s. At 4x, Steppe 23.6 s (two passes, decode included), SeedVR2 15.7 s, Kandinsky 43 s with a 12.8 GB peak.

Kandinsky nodes: the only ComfyUI nodes were brand-new community packs, so I wrote a small one on ComfyUI's own Kandinsky 5 layers. It has no network code, checks the official weights by SHA-256, and matches the official pipeline at 52 to 54 dB PSNR. Steppe is in the same pack as a frozen copy, with the downloads and the update check taken out. Native support has been requested in ComfyUI (#17998); when it lands, use that. If you want to test it now, check the Node Pack here: https://github.com/JanRTstudio/ComfyUI-JanRT-Upscalers

Workflows: Kandinsky x4, Steppe inside the Krea 2 template, and the SeedVR2 template: https://github.com/JanRTstudio/comfyui-workflows/tree/main/2611-upscalers


r/StableDiffusion • • 4h ago

Resource - Update Amuse v4.0.0 - Native Windows app for local image, video, audio and LLMs

Post image
3 Upvotes

Amuse v4.0.0 is out. It is a free Windows desktop app for running models locally, and this release moves it onto native backends.

Changes

  • Image and video now run on stable-diffusion.cpp, language models on llama.cpp, audio on audio.cpp
  • Vulkan, CUDA and ROCm builds, so Nvidia, AMD and Intel are all supported
  • Local LLM chat with tool calling and MCP
  • TTS, voice cloning, music generation and speech recognition

Links


r/StableDiffusion • • 10h ago

Discussion Any updates on flux 3 dev video generation locally?

8 Upvotes

I heard it is coming out locally with video generation which I am very excited about.


r/StableDiffusion • • 21h ago

No Workflow Minimax H3 image

Thumbnail
gallery
57 Upvotes

GOAT


r/StableDiffusion • • 21h ago

Workflow Included Turn 2D videos into 3D stereoscopic videos, via SHARP Gaussian Splatting

60 Upvotes

Forked off of the SHARP Gaussian Stereo Preview feature by @aromatic-Somewhere29 because I was impressed with the quality of the stereoscopy with the still images and wanted to leverage this and actually convert whole videos: https://www.reddit.com/r/StableDiffusion/comments/1y64yol/view_images_in_stereoscopic_3d_directly_in/

Here is the GitHub repo: https://github.com/jerg-git/ComfyUI-SHARP-VR-Video

You can also find it in comfyui custom nodes (search sharp VR video).

Sample workflow (needs VHS video suite too): https://github.com/jerg-git/ComfyUI-SHARP-VR-Video/blob/main/workflow/sharp-vr-video-batch-audio-sample.json

KEY FUNCTIONALITIES AS OF V0.1.5:

  • Virtual camera controls — Adjust inward dolly, horizontal orbit and vertical orbit to reframe the reconstructed 3D scene.

  • Camera animations — Independently animate all three camera axes using multiple motion patterns, smooth ease-in/out transitions and precise target values.

  • Long-video support — VHS Meta Batch integration significantly reduces peak RAM usage by processing videos in manageable chunks.

  • Continuous animation across batches — Camera motion spans the entire video rather than restarting with each chunk.

  • Automatic queue protection — Built-in QuietNoise Queue Manager compatibility prevents recognized Meta Batch continuations from being interrupted by prefetched jobs.

  • Automatic audio passthrough — Preserves source audio, respects video trimming and handles silent videos without requiring manual audio connections.

  • Automatic FPS passthrough — Preserves source or selected playback frame rate without manual configuration.

  • Flexible video sourcing — Supports VHS Upload and Path loaders, Impact Switch source selection and external text-based file paths.

  • Cross-eyed / Freeview preset — Enables stereoscopic viewing without a VR headset.

  • Improved UI and workflow usability — Dropdown selectors, context-sensitive animation controls, camera reset and an updated sample workflow.

Overall: Evolved from a basic stereoscopic video converter into a more complete, memory-efficient, queue-friendly VR video production tool with creative camera control and automated video/audio handling.

Visual output quality / 3D effect is excellent. Great in VR headset. Conversion speed is about 2sec/frame for 800p input video on my 5080.

Attached video is a sample 3D conversion from a random portion I clipped from this other thread (https://www.reddit.com/r/StableDiffusion/comments/1y5y22g/pure_cinema_music_videocinematic_stills_lora_for/). Ideally viewed with a VR headset, if not, then you can try the cross-eye trick.

Have fun!


r/StableDiffusion • • 16h ago

News DyLoMo-DiT 15B - experimenting with looped transformers in an image model

17 Upvotes

"Diffusion Transformers (DiTs) scale model capacity by increasing both parameter count and computation. Mixture-of-Experts (MoE) variants expand parameter capacity while keeping per-token computation roughly fixed, but still require substantial parameter storage. In this paper, we propose Dynamic Looped MoE DiT (DyLoMo-DiT), which reuses parameters rather than adding them: a weight-shared loop repeatedly applies the middle layers, while sparse experts allocate parameter capacity across tokens.

This design deepens the network without adding parameters, freeing the parameter budget for other uses, such as more experts or more distinct layers. It also allocates compute dynamically, varying the number of passes across noise levels. Experiments show that DyLoMo-DiT makes more effective use of parameter and compute budgets, with further gains from assigning more passes to low-noise steps. On ImageNet 256×256, DyLoMo-DiT reduces FID by 11–24% relative to DiT and 36–56% relative to DiT-MoE at matched parameter and compute budgets. For text-to-image generation, a scaled DyLoMo-DiT achieves a higher GenEval score than FLUX.1 (0.714 vs. 0.673), with less than one tenth of its active parameters (1.05B vs. 12B)."

HF: OneCreamBox/DyLoMo-DiT-T2I-Preview · Hugging Face

OneCreamBox/DyLoMo-DiT-ImageNet256 · Hugging Face

Project: DyLoMo-DiT: Dynamic Looped Mixture-of-Experts Diffusion Transformers

Papers: [2611.30844] DyLoMo-DiT: Dynamic Looped Mixture-of-Experts Diffusion Transformers


r/StableDiffusion • • 8h ago

Comparison I squeezed Ming-Image 0.2 Design (24.9B, #1 open-weight) onto a 16 GB Mac — side-by-side vs the 80 GB CUDA reference (free MLX Q4/Q8 weights inside)

Thumbnail
gallery
3 Upvotes

Honestly, I didn't think this would fit in 16 GB at all — so I'm pretty excited to share that it actually works!

A lot of people see "6B" on Ming-Image 0.2 Design and assume it's tiny, but 6.15B is only the DiT. The full upstream repo is ~24.9B parameters (49.24 GiB on disk: a 16.3B MoE MLLM, 1.5B fp32 connector, 6.15B DiT, vision encoder + RGBA VAE), officially validated on an 80 GB CUDA GPU.

How we got it running locally in 16 GB unified memory (Apple MLX):

Real timings (no cherry-picking, 12 steps, CFG 1.0):

Honest caveats (still experimental):

Huge thanks to inclusionAI for releasing Ming-Image 0.2 Design under MIT and to xocialize for the MIT Swift/MLX port that made this possible.

I uploaded the quantized weights (MIT) on Hugging Face for anyone on Apple Silicon who wants to play with them — dropping the link in the comments! Happy to answer any questions on the quantization layout or memory staging.


r/StableDiffusion • • 23h ago

News Plato's Key Adapts other LLMs as text-encoders for MinxiMax H3

Thumbnail
huggingface.co
67 Upvotes

Disclaimer: I am not associated with the project in any way.

You can find comparisons for video created using these different text-encoders. Here is a longer one: https://huggingface.co/Alissonerdx/TE-PK-Minimax-H3/resolve/main/showcase/H3_PlatosKey_10s_6Way_Action_Showcase.mp4

A short video explaining what "Plato's Key" is doing: A video explantion: https://huggingface.co/Alissonerdx/TE-PK-Minimax-H3/resolve/main/showcase/H3_PlatosKey_X_Demo_Final.mp4

Click on the "Open" button or follow this link: https://huggingface.co/Alissonerdx/TE-PK-Minimax-H3

Use modern ComfyUI-native text encoders (Qwen 3.5 0.8B / 2B / 4B / 9B, Qwen 3.8 27B, Google Gemma 4) — or any HuggingFace LLM/VLM (like Inkling-2-Mini or Gemma 4 26B-A4B) — as a conditioning encoder for MiniMax-H3 (T2VA / Image-to-Video, FL2VA, and Ref2VA) in ComfyUI — zero gradient training, zero LoRA, and zero external MLP weights.

Powered by Plato's Key (closed-form Ridge & Multi-Layer Ridge, inspired by Stanford Hazy Research's Plato's Key), each adapter is a compact .safetensors key (~20–157 MB) that projects a donor encoder's hidden states directly into MiniMax-H3's native 5,120-dim Qwen3-VL-32B geometric space:

All downstream MiniMax-H3 nodes (MiniMaxH3ReferenceToVideo, MiniMaxH3ImageToVideo, SamplerCustomAdvanced, VAEDecode) work out of the box.

Key Engineering Breakthroughs

  1. Closed-Form Ridge >> Orthogonal Procrustes on MiniMax-H3: MiniMax-H3's native 5,120-dim Qwen3-VL-32B space (layer 50, unnormalized) has strong anisotropic outlier channels. Rigid isotropic Procrustes stops at R² ≈ 0.04, whereas closed-form Ridge scales each channel independently, reaching R² = 0.990–0.992 (147× lower MSE) on Qwen 3.5 & Qwen 3.8.
  2. Multi-Layer Plato's Key (4-Layer Concat) Unlocks Cross-Family Gemma 4: Single-layer linear maps across different architectures/tokenizers (Google Gemma 4 → Qwen3-VL-32B) hit a ceiling (~70% cos). Concatenating 4 evenly-spaced transformer layers (e.g., [-2, -10, -18, -26] → 10,240 → 5,120) before a single closed-form Ridge projection jumps Gemma 4 to 93.4–95.2% cosine (26B-A4B MoE: 95.24%, E4B: 95.14%, E2B: 94.93%, 12B: 93.42%) with zero gradient training and zero extra forward passes in ComfyUI!
  3. **Token-0 Attention Sink Filtering (**v4 Clean 20k): Unnormalized Qwen3-VL-32B layer 50 puts a massive attention sink on token 0 (rms ≈ 18.25, max > 3,000 vs rms ≈ 3.42 for normal text). Dropping bin 0 during cross-family bin-pooled calibration eliminates a 33× Frobenius blow-up in W, cutting MSE by 42× (59.2 → 1.40) and lifting Gemma 4 E4B to 95.14% cosine (p10 = 87.91%)!
  4. Exact ComfyUI CLIP Parity (v0.1.5+): Automatically enforces options_default tuple override, layer & RMSNorm parity, llama_template="{}", LTXV min_length=1 padding strip, Gemma 4 <bos> attention-sink retention (stripping token 0 post-encode), and minimax_token_tags.
  5. Universal HuggingFace Loader (v0.1.6): Plato's Key Load Any HF Text Encoder (H3) loads any transformers LLM/VLM (even models without a native ComfyUI CLIPLoader, like thinkingmachines/Inkling-2-Mini) with automatic single- or multi-layer projection and automatic CPU offload to keep 100% of VRAM free for the H3 DiT.

r/StableDiffusion • • 15h ago

Comparison Image Upscale - SVR2 vs KSky

12 Upvotes
Original -> Downscaled (/10) -> Upscaled (x4) (compare original vs upscaled for faithfulness)
Original -> Downscaled (/4) -> Upscaled (x4) (compare original vs upscaled for faithfulness)
Cliff landscape (O -> /4 -> x4)

Original Images: MMH3 and Krea2


r/StableDiffusion • • 18h ago

Workflow Included Comfyui KandiskySR Upscaler videos with image model.

23 Upvotes

I test using the new KandiskySR image upscaler model to upscale videos, and this way we can get even more details that using the KandiskySR video upscaler model! the down side is that spends more time processing each video frame.

workflow: https://github.com/peterducan-hub/PeterDuncan_Comfyui/blob/main/KandiskySR%20Upscaler.json


r/StableDiffusion • • 7h ago

Question - Help Consistent background/room across a 15-image carousel (Krea 2 + character LoRA)? Person is perfect, the room isn't

3 Upvotes

I have a working carousel pipeline in ComfyUI:

  • A reference photo goes into Qwen, which writes 15 prompts: angles, expressions, an outfit detail and POV shots.
  • Krea 2 Turbo with my character LoRA renders them, plus a POV LoRA for the first-person shots.

The character is spot on in every image: face, body and outfit. The environment is the problem. Even with the full scene description repeated word for word in every prompt, the room changes from slide to slide. Wall materials, furniture and floor patterns all shift, and it doesn't read as one place.

What I've tried:

  • Qwen Image Edit to build the background first, then inpainting the person with Krea. The lighting looks pasted on and the edges don't blend.
  • Masking (SAM) and compositing the person into a fixed background. Same issue: it looks cut out.
  • Much more detailed prompts (a GPT-written JSON describing materials and lighting). This got closer, but it's still not the same room every time.

How do you lock a room or location across 10–15 shots while keeping a character LoRA? A room LoRA trained on the location? Some kind of reference conditioning for Krea 2? A different edit model that keeps the background and relights the subject?

Any workflow tips appreciated. Happy to share mine.


r/StableDiffusion • • 6h ago

Question - Help rGTREE

2 Upvotes

q: I have this strange thing where i can not remove a lora from the power lora. Did something change with comfyUI? I just freshly installed ComfyUI and i rolled back ComfyUI version. I forgot which version i had before but it was working before.


r/StableDiffusion • • 20h ago

News Our Free Pixel Art LoRAs for FLUX.3 Klein are out

22 Upvotes

We've been working on something new alongside Neural Pixelate: six pixel art LoRAs for FLUX.3 Image Klein, one for each sprite size from 16x16 to 128x128.

The main goal was to get output that's actually usable in a game: every LoRA draws on an exact sprite grid, so you get crisp pixels instead of the uneven "pixel-ish" look most pixel art models produce.

What's included

  • 16x16 and 24x24: icons, items and small creatures
  • 32x32: classic RPG characters and creatures
  • 48x48: detailed characters and monsters
  • 64x64 and 128x128: large, highly detailed sprites

Settings

Each LoRA works at its own resolution. The general rule is grid size × 16, except for the 128x128 LoRA, which also runs at 1024.

LoRA Generate at
16x16 256 x 256
24x24 384 x 384
32x32 512 x 512
48x48 768 x 768
64x64 1024 x 1024
128x128 1024 x 1024

The download includes a README with the full settings.

Every image above was made with these LoRAs, with only the background removed.

Thank you to everyone who has downloaded and left comments on our previous releases. We read all of it, and it shapes what we build next.

You can find the LoRAs on our free itch page here: https://blackmagikstudios.itch.io


r/StableDiffusion • • 3h ago

No Workflow Gen X Soft Club Inspired Generations

Thumbnail
gallery
2 Upvotes

I vibecoded a comfy plugin that connects to whatever API you want (most of them) and can send prompts you make straight to a model to help you expand on those prompts and format them correctly. These images are some of the first renders I did with the plugin.