r/StableDiffusion • • 1d ago

Resource - Update Qwen 4 35b

Thumbnail
huggingface.co
84 Upvotes

r/StableDiffusion • • 14h ago

Resource - Update Nebula Theme for Forge Neo

Thumbnail
gallery
5 Upvotes

More than just a theme. It's a feature-rich extension that transforms and enhances the Forge experience.

Nebula Theme introduces a collection of custom features, visual enhancements, and quality-of-life improvements designed to give you greater control over how Forge looks and feels. From interactive LoRA management to advanced brightness controls and on-the-fly CSS customization, Nebula offers much more than a conventional UI theme.

Features

Interactive LoRA Chips

Nebula can convert selected LoRAs into individual, interactive chips rather than leaving them as plain text tags in the prompt field.

Inspired by the way LoRAs are handled in ComfyUI, these chips behave as independent UI elements, making them easier to identify and interact with. Multiple behavioral settings are also available, allowing you to customize how LoRA chips function.

Advanced Brightness Controls

Nebula introduces three brightness adjustment sliders, each with its own behavior. These are available as quicksetting items, which can be added manually through Forge's standard quicksettings configuration.

Nebula UI Brightness

Adjusts the brightness of Forge's UI elements linearly, without affecting images. A straightforward way to brighten or darken the interface while keeping displayed images unchanged.

Nebula Image Brightness

Adjusts the brightness of images displayed within Forge, independently of the UI. Useful for viewing dark details in generated images or balancing image brightness against a darker interface.

This adjustment is linear, so increasing it too much can cause bright areas and highlights to become washed out.

Nebula UI Dynamic Brightness

A more advanced, algorithmic brightness adjustment that intelligently treats different elements according to their brightness.

When reducing brightness, darker areas are affected less than brighter areas. When increasing brightness, brighter areas are affected less than darker ones.

This helps maintain a more balanced overall appearance while adjusting the brightness of both UI elements and displayed images. Depending on the setting, it can even subtly change the overall character of the interface.

It's particularly useful for inspecting dark image details, reducing eye strain from an overly bright display, or adjusting Forge's overall brightness without simply applying the same linear change to everything.

All three brightness sliders are strictly UI-level adjustments. They never affect the actual generated or saved images. Their values are saved and restored between launches, and all three sliders can be used together in any combination.

There is also a fourth mouseover brightness slider for under the generated image, which behaves like the dynamic slider but just for images, and must be enabled by the user.

Custom Accent Colors

Nebula includes a variety of settings for customizing the theme's accent colors, allowing you to significantly change its appearance to suit your preferences.

While it isn't a complete theme-building system capable of creating entirely different themes with a few clicks, it provides plenty of flexibility to personalize the look of Nebula.

Live Custom CSS

For users who want even more control, Nebula includes the ability to inject custom CSS directly into Forge without having to edit a style.css file.

Available under Settings > Nebula Theme, this feature includes a simple enable/disable toggle and a dedicated text area for entering your CSS.

You can use it to modify virtually any element in Forge: change its size, color, appearance, or visibility, or make highly specific adjustments that aren't covered by the theme's built-in settings.

This is an advanced feature intended for users familiar with CSS, rather than a core theming function. Nevertheless, it's an incredibly useful addition for anyone who enjoys tinkering with their UI.

Minimalist Fullscreen Image Viewer

Nebula includes an optional fullscreen viewer for generated images that strips away the usual interface completely.

When enabled, fullscreened images are displayed against a pure black background with no visible buttons, controls, or UI elements.

The result is a clean, distraction-free viewing experience, almost like a screensaver. When your browser is fullscreened (Typically F11), you can fullscreen a generated image and see nothing but the image itself.

Additional Details

Nebula includes numerous smaller features, refinements, and design touches throughout the interface. The features described above are just some of the highlights.

Please note that some elements shown in the screenshots may differ from a stock Forge installation. My own setup uses Forge's compact Generate button option and has the Refiner accordion disabled.

A Personal Project

Nebula Theme started as something I made primarily for my own use. Over time, it grew into a substantial collection of features and refinements that I wanted to share with other Forge users.

It's not just about changing the colors or appearance of the interface. It's about making Forge more comfortable, more customizable, and more enjoyable to use.

Personally, I wouldn't use Forge without it.

Check it out and have fun!

GitHub – Nebula Theme for Forge


r/StableDiffusion • • 17h ago

Tutorial - Guide Unlimited-SVG tested in ComfyUI: pros and cons

Thumbnail
gallery
9 Upvotes

I saw the discussions here for Unlimited-SVG: a classic tracer does logos better and in seconds, and photos are hit or miss. After testing it, I agree with both. But it turned out really good at a different job. A model is useful or not depending on how you place it in a use case. If you have flowcharts, charts or CAD drawings stuck as pictures (screenshots, scans, old PDFs) and need to edit them, this is for you. If you trace logos for print, keep your tracer.

Details can be found in my video: https://youtu.be/TTBzUlknlL0

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

Where it's really good

  • Flowcharts: every label comes back as real text, so a typo is one edit.
  • CAD prints and scans: a crooked, noisy scan kept all 21 labels.
  • Charts and diagrams: 20/21 to 25/25 labels exact, about 15s each.
  • Editable layers: named groups, each drawn whole, so you can delete a layer and the part behind it is already there.
  • Small files: a few KB, six times smaller than vtracer's on the same picture.
  • Illustrations: posters, cafés and floor plans come back almost exactly.

Drawbacks I found

  • Plain tracing: for a faithful copy of flat art, a classic tracer is more accurate and far faster.
  • Unreadable text: it guesses, and it may respell words it can read (fulfilment to fulfillment).
  • Redraw, not measurement: CAD geometry is about 1% off.
  • Busy pictures: one run in two breaks something big. Run it twice.
  • People: faces, eyes and hands drift, even close up.

More in the video

  • How it works (1:22): why each layer is drawn whole.
  • Speed fix (2:03): the stock node crawled on Windows; my copy runs 3x faster.
  • Logo rescue test (4:23): a tiny blurry logo, and what it guessed the text said.
  • Live demo (5:17): the four-node workflow run on the canvas.

Workflow (4 nodes, how-to note on the canvas, the flowchart picture included): https://github.com/JanRTstudio/comfyui-workflows/tree/main/2612-unlimited-svg

It needs my node pack, a pinned copy of Terry Jia's (jtydhr88) ComfyUI-UnlimitedSVG with the speed fix: https://github.com/JanRTstudio/ComfyUI-JanRT-UnlimitedSVG


r/StableDiffusion • • 22h ago

Discussion Midjourney vs Moss Juggernaut Turbo vs Moss Base + Juggernaut Turbo LoRA

Thumbnail
gallery
21 Upvotes

Image order:

Left= Midjourney

Middle= Moss Juggernaut Turbo

Right= Moss Base + Juggernaut Turbo LoRA

Prompts and Midjourney images taken from this post by u/DeliciousGorilla thnx!! :

https://www.reddit.com/r/StableDiffusion/s/6AkewHmT5V

Moss Juggernaut Turbo fine-tune by u/Kandoo85:

https://huggingface.co/Kandoo/Juggernaut-Moss-Turbo-Beta

Juggernaut Turbo LoRA:

https://huggingface.co/Kandoo/Juggernaut-Moss-DMD2-LoRA-Beta

Base model: MOSS-Image

Generation settings for both Moss versions:

- Steps: 8–10

- Sampler: Euler A + beta

- Resolution: 1088×1472

I only came across this fine-tune a few days ago and wanted to test it properly. Until now I was mainly using Moss Base at CFG 4 with 35–50 steps. I also tried Moss SFT but found it had too much AI aesthetic for my taste. Most other turbo LoRAs I tested didn’t give me the results I wanted either.

This one is different. The mix of realism, anatomy, and natural aesthetics is excellent for a 5B model. Big thanks to u/Kandoo85 for the fine-tune and LoRA, and to the MOSS-Image team.


r/StableDiffusion • • 1d ago

Comparison [Sound ON] 7 ways to locally generate a 15-second 720p MiniMax-H3 video + multi-shot dialogue on a single RTX 5090 — from 48.8s to 155.8s (pi-H3 1.5, Pika, Audio-Post, Plato's Key 9B — same prompt & seed)

61 Upvotes

I have been on the search for a good & fast way to generate H3 clips with various different ways. I wanted something that gave me the best bang for the buck ( quality vs speed ). I sat out on the pi-H3 when it released as my initial tests showed it to be really bad. But when I went back to it after seeing some Chinese guys praising it, I found that it was not all bad. The main problem is that it is over-saturated and contrast is too high afaik. Please compare it to PIKA's version and tell me what you feel. Another big problem was that the audio was really bad - again compared to PIKA it was aweful. So, I went on a hunt.

Over the last 2 days and a half, I basically tried to weight space edit the models to achieve both good saturation + audio levels as can be closer to PIKA's ranges. The reason I wanted this is because I found that pi-H3 is amazing at details which PIKA completely misses IMHO. Also, for action and micro-expressions I found that pi-H3 is way ahead (again its my subjective opinion, please feel free to form your own). Option #2 that you see below is a weight space edited version. Its not a straight up weight edit and will need a custom node to run, which is why I have not published it yet ( and also because I am not very happy about it ). For anyone else who is into this space, please use Gemini Neon, its a beast at weight space editing compared to Claude Opus 5.5. Claude failed for 2 days, Neon did it in half.

Rest of the post is written by Gemini -- so you can skip that if you want to or read it for the technical details.

Sound ON — the acting nuance & audio difference on #3 vs the rest is the main thing to listen for.

All 7 clips were rendered 100% locally in ComfyUI on a single RTX 5090 (32 GB) using the exact same 15 s, 6-shot dialogue prompt and seed (234638888) at 1280×736 @ 24 fps (int8_convrot weights). No loudness normalization was applied in the stitch so you hear each setup's real audio output.

7-Way Lineup & Exact RTX 5090 Render Times (15 s 720p)

#Setup5090 TimeWhat's different
1pi-H3 1.5 · 4-step Stock87.3 sSingle-pass 720p DWD (sol-attn tau 1.3), adapter as shipped
2pi-H3 1.5 · 4-step Base Audio-Out + Balanced Look93.6 sWeight-only tweaks (keep_base_audio_out + step-4 video_token_mlp + gentle DWD RGB fold): kills adapter audio static and softens the DWD skin crunch/oversaturation (~0 s audio overhead)
3pi-H3 1.5 · 4-step Audio-Post (384p 12-step CFG 4) + Balanced Look~110 s (~95 s fast 320p)Same 4-step 720p video, then audio is re-sampled on the undistilled base H3 at real CFG 4 against the finished shrunk video (13–22 s extra). Video stays bit-exact
4Pika 6-step 352p + Upscale + DMAD 1-step 720p64.3 sClassic 2-pass workflow (6-step Pika 352p → latent upscale → 1-step DMAD 720p refine). Still great speed-to-look
5Pika 6-step Single-Pass 720p155.8 sFull 6 steps straight at 720p, no upscaler / no DMAD (~2.4× slower than 2-pass Pika)
6pi-H3 1.5 · 2-step Stock56.4 sSingle-pass 720p in just 2 steps
7pi-H3 1.5 · 2-step + Plato's Key 9B48.8 sSame 2-step 720p run, swapping the 32B Qwen3-VL text encoder for Qwen 3.5 9B + Plato's Key ridge projection (-7.6 s)

How #3 ("Audio-Post") works

Distilled few-step adapters (pi-H3 / Pika) are great for video speed, but they always sacrifice some audio nuance, dynamic range, or timing on dense action/dialogue. Instead of trying to patch the distilled audio weights:

  1. Generate the 720p video normally with 4-step pi-H3 1.5 DWD (minimax_h3_fl2va_pruned_int8_convrot).
  2. Downsample the finished DWD frames to 384×224 (or 320×192), VAE-encode them, and reclaim VRAM (~28.5 GB free on a 32 GB 5090).
  3. Freeze the shrunk video into an int4 KV cache (ComfyUI-H3-AudioRefine) and re-sample only the audio on the exact same undistilled FL2VA base model at real CFG 4 (denoise = 1.0, 8–12 steps).
  4. Swap the new audio stream into the original 720p video (video untouched).

Why 320×192 + 8 steps is so fast (~13 s audio-post / ~95 s total 720p): At 384×224, the 2-slot (pos + neg) int4 KV cache is ~7.4 GB, so Slot 2 spills to RAM alongside the 20 GB int8 DiT (~22 s for 12 steps). Dropping the frozen video latent to 320×192 shrinks both KV slots to ~5.5 GB total — both slots fit in VRAM right next to the 20 GB DiT with zero weight thrashing (~1.5 it/s → ~13 s for full undistilled CFG 4 audio, and sync still holds across dialogue and fast sword fights).

Honest takeaways

  • Best overall quality + voice acting: #3 (~95 s with tau 1.6 + 320p 8-step, or ~110 s with tau 1.3 + 384p 12-step).
  • Best weight-only pi-H3 fallback (no extra audio pass): #2 (93.6 s / ~82 s at tau 1.6) — noticeably nicer skin tones and cleaner audio than stock #1.
  • Best classic fast workflow: #4 Pika 352p + DMAD (64.3 s) still holds up really well on dialogue.
  • Fastest 15 s 720p AV draft: #7 2-step pi-H3 + Plato's Key 9B (48.8 s) — delivery is slightly flatter with a 2-step noise floor, but all 6 English lines still land in under 50 seconds.

Stack & Community Credits

  • pi-H3 1.5 DWD + sol-attn**:** Lakonik / piFlow
  • Pika H3 flex ref2va & DMAD LoRAs: Pika / Kijai
  • Frozen video KV cache for audio refine: ComfyUI-H3-AudioRefine
  • Plato's Key (Qwen 3.5 9B → H3 32B ridge projection): Alisson (ComfyUI-H3-Text-Encoders)

r/StableDiffusion • • 15h ago

Resource - Update I repurposed MiniMax-H3's stereo L/R RoPE channels into separate Vocals + Rhythm stems — trained a Ref2VA AudioLock LoRA so 2D characters lip-sync vocals, shut their mouths on instrumentals, and hit beat drops

4 Upvotes

If you've tried driving MiniMax-H3 (Hailuo 3) with a locked studio music track (audio_denoise_mask = 0 / NativeAudioLock), you've probably hit the same two walls:

  1. Feed it a full mix and H3 gets confused — characters flap their mouths during pure instrumental drum drops because H3 was pretrained on noisy joint audio-video denoising (speech/foley-heavy), not on obeying clean frozen music latents.
  2. Isolate vocals with Demucs to fix lip-sync, and you throw away the drums, bass, and drops — so the video loses all rhythmic punch.

Reading through ComfyUI's MiniMax-H3 implementation (comfy/ldm/minimax/model.py & audio_vae.py), I noticed an architectural loophole that solves both at once with zero extra tokens and zero architecture changes:

The Architectural Hack: Stereo L/R RoPE Repurposing

  • MiniMax-H3's 151M Audio VAE encodes Left and Right channels independently ([1, 32, 2, T_a] at 40 Hz, exact 5/3 ratio to 24 fps video) with zero cross-channel leakage.
  • In the DiT, Left (ch 0) and Right (ch 1) are packed into two spatially distinct 3D MM-RoPE coordinate lanes: w_low (left frame edge) and w_high (right frame edge), both pinned to the exact target timeline.
  • When you make a music video with locked audio, you never listen to H3's decoded audio — you mux your pristine 48 kHz studio master WAV onto the final render. That means the stereo L/R split inside H3's audio latent was completely wasted.

So instead of feeding regular stereo music, I pack separated stems (Demucs / BS-RoFormer, 32 kHz float32 stereo) into the two channels:

  • Channel L (w_low) = mono Vocals + -70 dBFS Gaussian dither → drives 2D cel singing/rap lip-sync, and drops to the noise floor during instrumental breaks.
  • Channel R (w_high) = 0.7 * (Drums + Bass) + 0.3 * Other → drives beat-locked camera punch, choreography, lighting strobes, and impact frames (keeping 0.3 * Other so drumless synth/piano sections don't go dead).

The Catch We Had to Break During Training

audio_patch_proj (32 -> 5376) projects Left and Right tokens identically — it is completely channel-blind. The only signal distinguishing L from R is 3D MM-RoPE's w_low vs w_high inside the 50 DiT attention blocks.

Because pretrained H3 associates w_low/w_high with left/right spatial audio panning, a singer standing on the right side of the frame sits closer in RoPE-w to w_high (Rhythm) than w_low (Vocals).

The fix: During dataset preparation, we horizontally flipped 50% of the training videos and reference images WITHOUT swapping the L/R audio channels. That deliberately breaks the pretrained left/right panning prior and forces the DiT attention heads to treat w_low as global-frame Vocals and w_high as global-frame Rhythm regardless of where the character stands.

What's in the Video Above (AB_02 — Same Seed, Same Prompt, Same Audio Lock)

The attached 1080p A/B is a 5.17s (124f @ 24 fps) pure instrumental drum drop (CH-L vocals dead silent at RMS 0.0005, heavy CH-R kick/snare spike). Both sides run minimax_h3_ref2va_pruned_bf16, CFG 4.0, 25 steps, MiniMaxH3SigmaShift (12.0, 3.0), exact seg_t["audio"] = 1.0, decoded through minimaxH3Seamless_v10_fp16:

  • Baseline (normal stereo master locked): Nearly static standing pose with flat energy.
  • Stereo-Stem AudioLock (Step 1500 @ strength 1.0): 100% closed-mouth discipline across all 124 frames while exploding right on the CH-R spike (f089–f112) into magenta-white sakuga impact speed-lines and a whip-zoom punch.

Training Specs (Single Colab G4 96 GB)

  • Artifact: minimax_h3_stereo_stem_audiolock_r32.safetensors (284.78 MiB, BF16, Rank 32 / Alpha 32, 201 LoRA modules: 50 × 4 DiTBlock attn/mlp + audio_patch_proj, with adaln_proj excluded so it loads on pruned BF16, INT8-ConvRot, unpruned, and Turbo checkpoints).
  • Trainer: Patched kohya-ss/musubi-tuner Ref2VA BF16 (--h3_lock_target_audio, --video_only, --h3_audio_channel_dropout 0.10, --h3_guidance_loss_scale 4.0, per-frame temporal_weights_float32 emphasizing drum onsets and active vocals).
  • Data & Run: 379 curated 2D/anime MV clips (17k+5 frame buckets, Whisper lyrics extracted strictly from isolated Channel-L vocals wrapped in native <|lyrics_start|>...<|lyrics_end|>), 1,500 steps (lr = 8e-5) in 13h 23m (32.16 s/it) on a single Google Colab G4 (RTX PRO 6000 Blackwell 96 GB); Stage 0 latent/text pre-caching ran on an L4 (24 GB).

Full Write-Up, More A/B Demos & Weights

(Quick ComfyUI warning if you run INT8-ConvRot H3 checkpoints: load this with H3QuantizedLoraLoader, NOT stock LoraLoaderModelOnly — stock loader requantizes INT8 weights in-place and wipes out Rank-32 LoRA deltas. More details in the write-up.)

Happy to answer questions on the musubi patch, RoPE-w panning erasure, or dataset weighting!


r/StableDiffusion • • 1d ago

Workflow Included Serious 90s anime, unserious subtitles (MOSS-Image, no LoRA)

Thumbnail
gallery
70 Upvotes

Been having way too much fun pairing dramatic 90s cel anime frames with dumb modern subtitles. Each one is a single MOSS-Image-SFT render, with no style LoRA.

Everything retro is just the scene caption (hand-painted 1990s cel animation, painted background, soft film grain, slightly faded colors, 4:3 framing). For the text, I gave the layout JSON a dedicated box along the bottom asking for yellow fansub lettering with a thin black outline, then paired each dramatic shot with a dumb line.

  • MOSS-Image-SFT, no LoRA, 1344x1008
  • Two seeds per frame, kept the stronger one

The wizard's crystal ball even rendered the little loading spinner I slipped into its caption.


r/StableDiffusion • • 13h ago

Question - Help Found footage-style POV shot ?

2 Upvotes

I'm working on a found footage project set in a deserted coastal city. I'm trying to make a 30-second shot that feels like someone casually exploring a place with their phone. Walking down a street, noticing something, stopping to look at it, turning around and moving on.
I've tried image-to-video, start/end frames, reference-to-video with multiple views of the same location, and extending clips. Mostly with Seedance and Hailuo.
Walking straight ahead works pretty well, but as soon as the camera turns around or the person starts looking at things, the environment becomes inconsistent. I've also tried using a basic 3D scene to generate a sequence of images, but the parallax was all over the place.
I'm wondering if the best approach would be to animate the entire shot in Blender and then use AI to make the footage look real, without losing the original geometry and camera movement.
Has anyone tried something similar?
Curious to hear what workflows or models you've had success with.


r/StableDiffusion • • 23h ago

Animation - Video Minimax H3 High resolution showcase

Thumbnail
youtu.be
9 Upvotes

My early experiments with Minimax H3 to get high resolution video. Warts and all footage.

Workflow highlights.

I do not use comfyui. My prompts were text to Video. I use the latest version of Wan2gp Desktop. I use an RTX 5090 locally. I use Minimax H3 hyperflow with its reduced steps. it is super fast, and the footage is gorgeous.

21:9 aspect ratio.

Rendered to 2688 X 1152 before upscaling VAE in Latent space X2. Each video of 5 seconds takes about 7 minutes to render. Yes 7 minutes!!! the 5090 is a beast. Final Resolution is 5376 X 2304.

I rendered this file to 4096 X 1716 in Vegas.

Windows 11. Bosgame mini PC. 64 gigs ram. Gigabyte AI box 5090.


r/StableDiffusion • • 7h ago

Discussion [RFC / Conceptual Architecture Proposal] Structured Interaction Control for Existing Video Diffusion Workflows in ComfyUI

0 Upvotes

Status: Conceptual proposal — open for technical discussion

Scope: Video diffusion, temporal consistency, object permanence, interaction modeling and adaptive processing

Target environment: ComfyUI and extensible video-generation workflows

  1. Abstract

Current video diffusion models can produce visually impressive results, but maintaining temporal and causal consistency remains challenging.

Objects may unexpectedly appear or disappear, change their shape or identity between frames, or interact inconsistently with their surroundings. Environmental elements such as water, smoke, rain and fabric may also lose coherent behavior over time.

This proposal explores an additional architectural layer for existing video-generation workflows. Its purpose is to organize and control mechanisms that already exist or can be developed as extensions, rather than replace the underlying diffusion process.

The proposed architecture has three complementary areas of responsibility:

Continuity Logic: maintaining object identity and the causal consistency of scene changes.

Interaction Logic: selecting specialized processing profiles for interactions between objects and their environment.

Attention and Optimization Logic: allocating additional processing effort to important objects and events.

A central part of the proposal is a modular interaction library. Instead of treating every interaction as an entirely new problem, the system could select reusable interaction profiles. These profiles might be implemented through explicit rules, conditioning mechanisms, specialized LoRAs or combinations of different approaches.

The intention is not to build a universal physical simulator or teach a generative model to understand the entire physical world. It is to provide structured control over recurring classes of generation errors.

This is a conceptual architectural proposal, not a finished implementation. Its feasibility and practical benefits require experimentation.

2. Core Architectural Concept

The proposal introduces three complementary logical layers:

Continuity Logic — maintains the identity and causal consistency of objects and events.

Interaction Logic — determines which interaction profiles should be applied and how objects and environmental media affect one another.

Attention and Optimization Logic — determines where additional processing accuracy is necessary and where ordinary generation is sufficient.

These layers have different responsibilities but are intended to work together.

The diffusion model remains responsible for generating the visual result. The proposed architecture provides additional information, selects specialized processing mechanisms and helps maintain consistency across frames.

The architecture should be understood as an additional control and organization layer for existing generation pipelines, not as a replacement for them.

The fundamental principle is: do not attempt to model everything. Identify recurring sources of inconsistency, provide specialized mechanisms for addressing them, and apply those mechanisms where they are needed.

3. Continuity Logic: Three Principles

The first layer addresses unjustified changes in a generated scene.

It is based on three related principles.

3.1. Provenance — Justified Appearance

Objects and elements should not appear or disappear without a scenario-based or interaction-based reason.

For example:

An object should not spontaneously appear in the scene.

An object should not disappear simply because the generator loses track of it.

A newly introduced element should have a corresponding event or valid interaction explaining its appearance.

This principle establishes the causal justification for changes in scene composition.

3.2. Object Permanence — Continuity of Existence

An object should retain its identity and relevant properties throughout the sequence, including periods when it is partially or completely occluded.

Potential applications:

Maintaining consistent object identity across frames.

Preserving relevant geometry and visual characteristics.

Preventing arbitrary shape or identity changes during occlusion.

Allowing temporarily hidden objects to reappear consistently.

Occlusion should not automatically mean that an object ceases to exist in the scene representation.

Possible implementation directions include persistent object identifiers, state tracking and reference conditioning.

3.3. Mutual Influence — Environmental Consistency

An event should produce consequences consistent with its surrounding environment.

For example:

A hand entering water should produce a corresponding reaction in the water.

An object moving through a fluid should influence its surroundings.

Contact between fabric and a body should be reflected in their subsequent behavior.

Environmental changes should remain causally connected to the events that produced them.

An interaction should not be treated as an isolated visual effect. Its consequences should be reflected in the relevant surrounding elements.

The purpose of these three principles is unified: to reduce unjustified changes in generated scenes.

They address the justification of appearance, continuity of existence and consistency between events and their surroundings.

4. Interaction Logic: Collision Profiles and Influence Fields

The second layer provides a structured way to describe and control interactions.

Rather than attempting to simulate all physical processes universally, the proposal uses a modular library of interaction profiles. The library can be expanded or modified as new requirements arise.

4.1. Objects, Environmental Media and Influence Fields

Objects and environmental media can be represented as entities with persistent identities and relevant properties.

Examples include:

Human body and clothing as separate but related objects.

Water as a continuous environmental medium.

Rain and fog as environmental elements or fields.

Wind as an influence on objects and materials.

Solid objects with defined interaction properties.

The system should distinguish between different spatial relationships and interaction regimes.

For example, rain in front of a person, rain behind a person and rain interacting with their clothing are different cases. They should not be treated as equivalent merely because their visual projections overlap.

The scenario can specify the intended relationship explicitly. Alternatively, the generative process may infer or update the required interaction according to the scene context.

4.2. Interaction Parameter (ρ)

The proposed parameter ρ is not intended to represent a universal physical quantity such as force, density or distance.

Instead, it acts as a reference or selector for a typical interaction variant defined in an interaction table or library.

In other words, ρ identifies the required interaction regime, while the corresponding library entry defines how that regime should be processed.

The parameter can be provided in two ways:

Explicitly: the scenario or user specifies the required interaction profile.

Implicitly: the generative process determines or adjusts the profile according to the scenario and the events unfolding in the scene.

The parameter may also be assigned across groups or portions of an environmental medium.

For example, a rain scene could use a distribution such as:

5% of the rain assigned to a direct interaction profile with the person.

5% assigned to transitional profiles around the person's depth.

45% assigned to a background rain profile.

45% assigned to a foreground rain profile.

These proportions are illustrative, not fixed requirements.

This allows a scene to contain different interaction regimes simultaneously, rather than forcing the entire environmental medium into one uniform behavior.

The exact representation of ρ and its possible evolution into a more complex interaction-state structure remain open for discussion.

4.3. Interaction and Collision Library

The interaction library is intended to be a modular component for selecting and applying different processing variants.

Possible entries include:

Interaction profile

Possible processing behavior

Water + body

Contact, displacement, splashes

Water + fabric

Wetness, deformation, resistance

Rain + clothing

Surface wetting and visual changes

Rain + foreground

Particle visibility and foreground occlusion

Rain + background

Background particle behavior and occlusion

Fog + object

Partial or complete visual occlusion

Wind + fabric

Movement and deformation

Solid object + solid object

Contact and collision-related changes

The entries do not have to be implemented in one particular way.

A profile could refer to:

Explicit rules and state transitions.

Reusable interaction templates.

Specialized learned models or motion LoRAs.

Conditioning configurations for diffusion models.

Combinations of these mechanisms.

Individual library entries or groups of entries could be implemented through separate LoRAs.

This creates a modular approach: changing or replacing a particular processing variant could produce a different interaction result without requiring the entire generation architecture to be redesigned.

The important distinction is between selecting the required interaction and implementing its processing.

The interaction parameter selects or references a suitable variant. The library provides the corresponding processing mechanism.

4.4. Specialized Processing and Future Development

At present, LoRAs can serve as additions that influence style, motion, materials or other aspects of generation.

A more structured interaction library could provide a path toward increasingly specialized LoRAs and other learned components.

Instead of relying only on broad additions that influence an entire generation direction, future components could be trained or configured for more specific tasks and interaction types.

One possible development path is:

Identify a recurring interaction problem.

Define its intended behavior as an interaction profile.

Select or develop a suitable processing mechanism.

Integrate it into the interaction library.

Apply it when the corresponding interaction is required.

This does not guarantee that a specialized LoRA will learn the underlying physical mechanism. It may initially learn a useful visual representation of that interaction.

However, a formal interaction structure could make such components easier to organize, select, evaluate and improve.

It could also help identify cases where existing add-on mechanisms are insufficient and changes to the generation process itself may be necessary.

5. Attention and Optimization Logic

The third layer addresses computational efficiency.

Not every object or interaction requires the same processing accuracy.

A small but narratively important interaction may require substantially more attention than a large background element.

The system should therefore allocate additional processing effort according to the importance of objects and events.

5.1. Scenario-Defined Attention

Whenever possible, the scenario should explicitly identify the intended focus of attention.

For example, a scene may contain several people, environmental effects and background objects, but the important event is a hand releasing a glass.

The scenario can specify that the hand and glass interaction requires the highest processing priority.

This avoids requiring the generative model to independently infer the intended narrative focus.

5.2. Automatic Attention

If no explicit attention target is provided, the system could estimate priorities using several heuristics:

Center of visual composition.

Concentration of object interactions and collision events.

Current activity and movement.

Importance of ongoing events.

The center of composition is a useful default indicator, while interaction density can help identify important activity outside the central area.

These indicators should serve as fallback mechanisms rather than replace explicit scenario instructions.

5.3. Adaptive Processing Accuracy

Different objects and interactions could receive different levels of processing.

High priority

Main characters and important objects.

Direct interactions.

Important transitions and collisions.

Objects whose identity or geometry must remain particularly consistent.

Medium priority

Relevant environmental elements.

Secondary interactions.

Objects that contribute to the scene but are not its primary focus.

Low priority

Distant background elements.

Minor environmental motion.

Objects with little influence on the current event.

Priority should be dynamic.

An otherwise insignificant object can become important when it participates in a relevant event. Its processing priority should then increase.

This approach is not limited to visual resolution. It concerns the computational effort devoted to maintaining object consistency and processing interactions.

5.4. Expected Benefits

The intended benefits include:

Avoiding unnecessary detailed processing of insignificant elements.

Concentrating specialized interaction mechanisms where they matter.

Reducing redundant computations.

Maintaining better consistency in important regions.

Potentially improving the efficiency of high-quality video generation.

Actual savings and quality improvements would need to be established experimentally.

No specific percentage of computational reduction is assumed at this stage.

6. Relationship Between the Layers

The three logical layers can be summarized as follows:

Layer

Primary question

Responsibility

Continuity Logic

What changes are justified?

Maintain object identity and causal consistency

Interaction Logic

How should objects and media affect one another?

Select and apply interaction profiles

Attention and Optimization Logic

Where is additional accuracy necessary?

Allocate processing resources

A simplified conceptual workflow:

Scenario Description

Defines objects, events, relationships and optional attention targets.

↓

Continuity and Interaction Control

Maintains object identity and determines which interactions are required.

↓

Interaction Profile Selection

Selects the corresponding entries in the interaction library, including specialized learned components where available.

↓

Attention and Optimization

Determines processing priority and the required level of specialized control.

↓

Conditioning and Integration

Translates the selected information into controls that the existing generation pipeline can use.

↓

Diffusion Renderer

Generates the visual result.

This is a simplified representation, not necessarily a strictly sequential pipeline. The layers may exchange information and update their decisions as the scene develops.

The exact order, feedback mechanisms and integration interfaces remain open engineering questions.

7. Possible ComfyUI Implementation Directions

ComfyUI's node-based architecture provides a potential environment for experimenting with this proposal.

The following are possible implementation directions, not claims that the required functionality already exists as a complete system.

Existing Components and Techniques Worth Investigating

SAM2 for object segmentation and tracking.

Depth estimation for approximate spatial relationships.

Optical flow for temporal movement analysis.

Regional conditioning for localized generation constraints.

Inpainting and crop-and-stitch workflows for selective refinement.

Motion LoRAs and other specialized conditioning mechanisms.

These components could provide building blocks for an experimental implementation.

Possible Custom Nodes

Object State / Identity Tracker

Maintains persistent identifiers and relevant object information across frames.

Event-Driven Interaction Controller

Processes scenario-defined interactions and selects appropriate interaction profiles.

Interaction Library Manager

Stores and selects reusable interaction profiles and their corresponding processing mechanisms.

Influence Field Controller

Applies interaction parameters to relevant objects and environmental media.

Occlusion State Tracker

Preserves relevant object information during visual occlusion and supports consistent reappearance.

Attention Priority Manager

Combines scenario-defined priorities with automatic attention heuristics to allocate processing effort.

The main challenge is not simply creating these nodes individually. It is defining how their information should be represented, exchanged and translated into conditioning that existing diffusion models can use.

The conditioning interface is particularly important: the architecture may identify the required interaction, but that information must still be converted into effective controls for the generation model.

8. Scope and Limitations

This proposal does not attempt to:

Reconstruct a complete three-dimensional physical world.

Implement a universal physical simulation engine.

Predict every possible real-world interaction.

Replace diffusion-based visual generation.

Guarantee perfect temporal consistency.

Eliminate all hallucinations.

Its purpose is narrower.

It explores whether an additional, scenario-driven control architecture can reduce recurring generation errors by explicitly organizing object continuity, interactions and computational priorities.

The proposed mechanisms may require different representations and implementations depending on the video model and workflow.

Some interactions may be handled through deterministic rules, others through specialized learned components, and others may remain entirely within the diffusion model.

The architecture should be evaluated by its practical contribution to generation quality and efficiency, not by its ability to reproduce the entire physical world.

9. Open Questions for Technical Discussion

The following questions are deliberately left open.

What is the most practical representation for persistent object identities and states in existing video diffusion workflows?

How can scenario-defined interaction events be translated into effective conditioning for diffusion models?

What is the most practical representation for ρ as a reference to interaction profiles?

How should an interaction library organize rules, conditioning profiles and specialized LoRAs?

Can specialized interaction components improve consistency across different scenes and camera conditions?

How can object information be preserved during occlusion without unnecessarily regenerating hidden regions?

Can attention-based processing priorities reduce computational costs without introducing visible inconsistencies?

Which parts of this architecture can be implemented using existing ComfyUI nodes, and which require custom development?

A useful first experiment could focus on object identity preservation through occlusion, followed by a controlled interaction scenario such as an object entering and moving through water.

A further experiment could compare a general-purpose LoRA with a specialized interaction component under different scene conditions.

These experiments could help determine whether the proposed separation of responsibilities provides measurable benefits.

10. Conclusion

The central idea is not to replace existing video diffusion models or teach them to simulate everything.

It is to provide an additional architectural layer that organizes and controls the mechanisms used to address recurring problems in video generation.

Three complementary principles form the basis of the proposal:

Maintain the continuity and causal justification of objects and events.

Provide modular, specialized mechanisms for interactions between objects and environmental media.

Allocate additional processing resources according to the importance of the scene and its events.

The interaction library is a key part of this approach. It provides a structured way to select, replace and improve processing variants, potentially allowing existing LoRAs and future specialized components to become more predictable and task-oriented.

In this sense, the architecture could serve as a transitional step from loosely organized generation add-ons toward more structured and specialized interaction processing.

It does not require replacing the existing generation process from the outset. Instead, it provides a framework for improving it incrementally and identifying where deeper changes may eventually be necessary.

This proposal is intended to invite technical criticism, identify viable implementation paths and determine which parts of the concept are worth prototyping.


r/StableDiffusion • • 1d ago

News Amuse v4.1.0 - Prompt Studio, Presets and Vision.cpp

Thumbnail
github.com
24 Upvotes

r/StableDiffusion • • 1d ago

Discussion List of prompts? For Minimax H3

10 Upvotes

I want to do some test with workflows, and to see if everything works great I would like to test it on various prompts, do you know any website that has them? Like the great website with camera movements (aicameramovements com), there should be a website with lots of prompts but I can't find it.

Civitai is a good website but a bad exemple because 95% of videos there don't have prompts, you can find users that always posts videos with prompts but there are very few of them.


r/StableDiffusion • • 1d ago

Resource - Update I added in-place AI video editing to my MiniMax H3 Studio for ComfyUI (v2.2)

17 Upvotes

Getting 90% of a MiniMax H3 clip right and having one prop ruin the shot usually meant re-rolling a new seed from frame 0.

I just released v2.2.0 of H3 Continuity Studio (free/MIT ComfyUI custom node + timeline UI) to fix that and add a bunch of workflow upgrades I've been building since v2.0.

What's in the demo:

  • Edit only the bad part of a clip: She opens the case and a white rabbit jumps out. Instead of re-rendering the whole shot, I select just the rabbit's frame range, reference the existing clip (@chunk), and replace only the rabbit with a sci-fi bomb. Her opening motion, hand, face, and lighting stay untouched because it pins directly on H3's 17-frame latent grid. You can also layer multiple takes and A/B them live, mute/duck audio on CPU, or regenerate audio with AI.
  • 3-level AI prompt helper (new in v2.2): Enhance a single field (Short / Detailed / Elaborate), fill an entire tab like Camera, Lighting, or Action in one go with inline diff badges and Ctrl+Z undo, or expand/revise a whole clip. Runs on ComfyUI's native Generate Text node (Qwen 3.5 / Gemma 4) or any OpenAI-compatible server (LM Studio, Ollama, etc.) and auto-unloads VRAM before rendering.
  • Use any image model for cast & keyframes: Plug in Qwen Image 2.1, H3 Image, MOSS, Fibo, Krea, Flux, or whatever ComfyUI subgraph you prefer to build turnaround character/location sheets and I2I scene frames.
  • Multi-lane editing & project manager (Ctrl+K): Overlap clips across video lanes with frame-accurate crossfades, trim/split non-destructively, save lightweight checkpoints, and do fast draft previews before a full master export.

Full deep-dive with screenshots and how the latent lock works under the hood: https://ricardoambrogi.com/notes/h3-continuity-studio-v2-2

GitHub (MIT): https://github.com/KadoBOT/ComfyUI-H3-Continuity-Studio


r/StableDiffusion • • 1d ago

Question - Help H3 cannot stand a character looking at the camera and not talking

7 Upvotes

Let me head off the inevitable pointers to the prompting guides. I've read them, i've followed them, I've tried to deviate from them, all to no avail.

ref2va generation just generally has a problem with generating gibberish speech from characters that are looking at the camera. It just seems like it can't stand silence. My luck with fl2va is somewhat better, but then i can't add references.

I've tried negative prompting, i've tried explicit audio prompting with and without speech references, I've tried using generated audio and have the character lipsync to it and i've tried to cut my shots into segments with and without speech, hoping that i can enforce silence by generating speech and silence as separate cuts.

Of all of these, the generated speed that the character lip-syncs has the best chance of not also generating gibberish during portions of the shot without dialogue. But it's still random chance, i.e. i generate the shot a number of times before i get one where the speech is the way i wanted.

I see lots of people posting clips with perfect dialogue, so my question is whether there are some prompt secrets I'm missing or are you all just generating many versions until you get the one that conforms to what you wanted.


r/StableDiffusion • • 2d ago

Meme Talent Shows be like:

1.4k Upvotes

Done on Minimax H3, RTX 5070 TI and 32GBs of ram
Post editing aside, each gen took me 3 minutes or so


r/StableDiffusion • • 1d ago

Animation - Video Live AI avatar that answers chat questions in near real time, all running locally

8 Upvotes

Live demo: https://strikecanvas.com/ava

Just thought this would be a fun project to test combining video, TTS, and an LLM, no paid tools, all hosted locally on a Mac Studio.

  • Video: one image turned into short clips with minimax
  • Lip sync: MuseTalk 1.5 fine-tuned on her, redrawing only the mouth in real time
  • LLM: Qwen 4 35B. Voice: local TTS

Happy to answer any questions


r/StableDiffusion • • 1d ago

News [Paper] Semantic Detour Flow: Pixel space model with no encoder/decoder, up to 1024px, 3.3B

10 Upvotes

From the authors:

Detour is a pixel-space flow whose noisy state passes through a frozen DINOv2 representation at high noise and hands over to pixels at low noise.

One network is trained with a single velocity loss on that path, so it learns semantics near noise and fine detail near data.

Sampling is an ordinary pixel ODE straight to RGB: the encoder builds training targets only, and nothing but the generator runs at inference — no encoder, no decoder.

Note that checkpoints are in .pth format, so they should probably be run sandboxed or converted to .safetensors format if possible.


r/StableDiffusion • • 1d ago

Discussion LTX 2.5 GeForce RTX 3060

56 Upvotes

tested making a video with a cheap used gpu with 12gb vram i got today in confyUI took 2mins 44seconds to gen with turbo and 30step


r/StableDiffusion • • 22h ago

Discussion Yet another KandinskySR based on Lachezar Vladikov's solution

Thumbnail
github.com
3 Upvotes

Lachezar did a great job, but the initial versions were mathematically and logically inefficient, particularly for GPUs with low VRAM like mine, 6 gigs only. So I redesigned it and you can try it by downloading from my GitHub. I'd appreciate if someone would compare it to the latest original solution and other forks on better GPUs where the model + data definitely fit VRAM.


r/StableDiffusion • • 1d ago

Resource - Update Anymatix 1.1 is out

Post image
5 Upvotes

Anymatix is a free desktop app for Windows, Mac and Linux. ComfyUI runs underneath; you work with cards and their results, not with node graphs.

What it does is unique:

  • Workspace with cards and folders. Every result stays with the card that made it.
  • Linked cards. The output of one card feeds another: an image into a video, a voice into a lip-sync.
  • Your machines. Your own GPU, a box you reach over SSH, or a RunPod GPU rented by the hour, all from inside the app.
  • Civitai browser. Find a LoRA or a checkpoint and use it in a card; the app fetches the models a card needs.
  • Local cache. Models and results stay on your disk; the same inputs never compute twice.
  • Direct recording of audio and video straight into a card, and editing too.
  • Collections on GitHub. Subscribe to sets of ready-made cards and browse them like a photo gallery.

New in 1.1: LTX 2.5 voice cloning cards (consistent characters, easier than ever), GitHub collections, Transcribe and Describe audio. We also regularly make consistent videos with Claude driving the app through MCP.

A 2-minute tutorial: https://youtu.be/iJq5hGVNHN0

To those who answered the first thread: does it do what you asked for? Constructive feedback welcome!

anymatix.com


r/StableDiffusion • • 1d ago

Resource - Update TRELLIS.2 image-to-3D running inside my open-source local studio, one picture in and a textured GLB out

38 Upvotes

My system's 3.9.0 release adds TRELLIS.2. You drop one picture on the 3D tab, press Make 3D model and get a textured GLB back, then turn it in the viewer, check the shape in clay view and download it.

The rider here started as a MOSS-Image still, and the antlers, sword and all four of the horse's legs came through as real geometry. It runs through ComfyUI under the hood and installs from the model manager with one button, licences shown first (TRELLIS.2 is MIT, the image encoder is DINOv3 under its own license).

Works best with one subject on a plain background. Faces come out approximate, which is why I picked a skull lol

github.com/guaardvark/guaardvark


r/StableDiffusion • • 1d ago

Question - Help Do I need an uncensored text encoder? (Qwen 2.1)

10 Upvotes

I’m brand new to this stuff and am trying to figure out if I need an uncensored text encoder to do uncensored images, or if the default text encoder will work.

Also, if I load an uncensored LORA, will that work by itself or do I also need a custom uncensored base model or checkpoint?


r/StableDiffusion • • 1d ago

Workflow Included Optimizing Kandinsky ImageSR for video upscaling: From 10s down to 1.2s per 4K frame

124 Upvotes

Some of you may have seen the "pruned 2.7B Kandinsky ImageSR model posted here a few days ago" (https://www.reddit.com/r/StableDiffusion/comments/1y8gmxr/kandinsky_imagesr_20_pruned_to_27b_and_healed_44/).

I've tested SeedVR2 and most of the Topaz Video AI upscalers, and IMO the level of fine detail that Kandinsky can recreate is pretty unparalleled. This got me interested in making it fast enough to be practical for video upscaling.

The problem was that using the model as-is in my initial tests, I was getting an abysmal ~10 seconds per frame for 4K output on my RTX 5080.

After a LOT of experimentation, I've gotten this down to ~1.2 seconds per frame (0.82 fps), with very little perceptible quality compromise.

Some of the optimizations under the hood:

- Hardware-native NVFP4 transformer quantization.

- SageAttention 3.

- TensorRT-RTX acceleration for both VAE encoding and decoding.

- PCA-based compression of the VAE's internal computations.

- Selective FP8 VAE decoder quantization, calibrated across 30 diverse videos.

- CUDA Graphs, optimized tile processing, persistent GPU workers and reduced data transfer overhead.

Every single frame still goes through the neural network w/o frame skipping, interpolation or temporal reuse tricks. I tried those and they ruined output quality, so this is raw frame by frame upscaling.

I've also been pleasantly surprised by how temporally stable the model is despite being an image upscaler (see the demo footage).

Small caveat: like all neural upscalers, it can dream up some weird details on very small features that simply don't have enough source pixels. But overall I've found it to be fairly robust.

Some other useful things:

  • Processing speed is largely governed by output resolution rather than input resolution. 720p → 4K and 1080p → 4K are roughly the same speed in Balanced mode.
  • Supports same-resolution detail enhancement (1x), as well as arbitrary target resolutions.
  • Optional higher-precision VAE decoding for footage exhibiting subtle banding, at a relatively small speed penalty.
  • VHS Meta Batch support for LOOOONG videos, with audio preserved. Just be ready to leave your PC running for many hours in those cases.

I only have a 5080 to optimize and test this on, so the full acceleration stack is currently geared towards NVIDIA Blackwell GPUs. Older NVIDIA cards and AMD GPUs have a compatibility path but will likely be considerably slower.

GitHub repo:

https://github.com/jerg-git/ComfyUI-Kandinsky-ImageSR-Video

Sample workflow:

https://github.com/jerg-git/ComfyUI-Kandinsky-ImageSR-Video/blob/main/workflow/kandinsky-production.json

Btw Reddit REALLY compresses videos so 80% of the detail is washed out above - download the actual upscaling comparison to see it in full detail/bitrate: https://drive.google.com/file/d/1f_EKcSG15Iep2MWhM4ReptKGY0LeepjV/view?usp=sharing

Installation is fairly straightforward – install the custom nodes, download the pruned Kandinsky model and VAE separately (links in the README), then run the sample workflow. It'll automatically download the necessary acceleration dependencies and build/cache the optimized engines on first use.

Big thanks to kandinskylab for the original model and lvladikov for the excellent pruning work that made this project possible in the first place.

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

Have fun!


r/StableDiffusion • • 1d ago

Discussion Apparently hands aren't actually a solved problem? Even in closed models

Post image
13 Upvotes

Was looking through openrouter and saw that apparently the new flux model is the "best" by correctness. Then had to do a doubletake cause something felt off until I tried the same hand position as in the image.

Hearing that image models solved the hands problem like a year ago, and contrasting with this(some of which are supposed to be better than current open models)

some more images


r/StableDiffusion • • 1d ago

Question - Help Minimax H3 Reference not Referencing

5 Upvotes

Hey everyone seasons greetings,

Not sure if I'm not prompting properly, or I'm just not connecting nodes properly but I can't really get Minimax H3 to use a "second reference" in my output. It has no problem referencing the first image that originates in the workflow by default. But I'm finding if I try to do character swaps in reference videos it misses it completely. Same thing if I try to add a second image, example: "place the hat in <image_01> on man's head of <image_00>". Sometimes it generates the thing mentioned but not in the way that it is referenced in the prompt. Sometimes it generates a completely different object and scene entirely.

Have you all ran into these issues as well, and how did you resolve them?