SolarRenderer Conditioning (Structure to Video)
Feed It a Flat-Colour Segmentation Clip, Get a Rendered Shot Back
- clip
- vae
- structure_video
- first_frame
- positive
- latent
SolarRenderer is a research paper with a ComfyUI skin on it - "Few-Step Generative Reference Rendering" from Guian Fang and friends, built on MiniMax's H3 video model. This node is the front door: you hand it a structure clip (the paper's own demo uses per-class flat-colour segmentation), an optional first frame, and a six-part caption, and it hands back the conditioning plus the empty latent for a 158-frame, 24fps, audio-included shot.
Why you'd want that: it's a third thing, next to ControlNet and image-to-video. Not a control signal bolted onto a text-to-video model, and not one still frame stretched into motion. The structure clip is what the model calls an aligned observation - laid over every target frame, structurally, while the prompt and the first frame decide what everything is made of. If you've been fighting to get a specific camera move out of a video model, this is the shape of the answer.
What it actually does under the hood
The source is short, so let's follow it. Your structure_video gets centre-cropped to the canvas aspect and LANCZOS-resized to width × height (_resize_to_canvas, which the author notes mirrors SolarRenderer's own aligned_image). The frame count snaps up onto H3's 17k+5 grid - that's why length steps by 17. Then the structure clip and the optional first frame are encoded with the H3 video VAE and attached as minimax_keyframes at frame index 0, which is how ComfyUI's packed layout pins them to the target's own rotary timeline and spatial grid. That's the "aligned" part: the structure isn't a separate guidance stream, it rides the same latent timeline the video gets denoised on.
The prompt side is the part people miss. Your text is tokenized with <Video 1> and <Video 2> reference items and sent to Qwen3-VL - the structure at 2 fps with timestamps, the first frame held for about half a second. So the model reads your structure clip as a video it was shown, not as an edge map. Write the prompt as a description of those two references, because that's literally the input format.
The latent it returns is zeros, not noise: a nested AV pair, video at [1, 24, T, h/16, w/16] and audio at [1, 32, 2, frames/fps*40]. RandomNoise supplies the actual starting noise downstream.
Inputs worth setting, and the two outputs
Wire clip from a CLIPLoader set to type minimax with the Qwen3-VL text encoder, and vae from a VAELoader with the video VAE (minimax_h3_video_vae_fp16.safetensors in the shipped example). The audio VAE is a separate file and a separate decode - don't plug it in here.
prompt is a six-part structure, and the example workflow lays it out: subject_definitions, summary, retention_analysis, detailed_description, overall_soundscape, non_diegetic_music. The retention section is the one that earns its keep - it's where you say what must survive from which reference. In the example, <Video 1> gets attribute_transfer (keep the layout, don't keep the flat colours, which is exactly right) and <Video 2> gets fully_preserved.
length defaults to 158 frames - the training length, 6.6 seconds at 24 fps. width/height default to 1344×768. first_frame is optional and is the look anchor: feed it a frame in the target style, not a frame of your blockout, or you're asking the model to preserve a grey cube.
Outputs are positive → a BasicGuider (no negative in the reference workflow; CFG is baked into the distilled model), and latent → SamplerCustomAdvanced's latent_image.
Installing it
ComfyUI Manager, search "ComfyUI-SolarRenderer", or:
cd ComfyUI/custom_nodes
git clone https://github.com/smthemex/ComfyUI-SolarRenderer
Restart. No requirements.txt, no install script - three Python files riding entirely on ComfyUI's own H3 stack, so what you actually need is a ComfyUI recent enough to have native MiniMax-H3 support (H3 opened up in August 2026). Then the weights: base H3, the Qwen3-VL encoder, video VAE, audio VAE, plus two LoRAs from smthem/SolarRenderer - a control LoRA and a 4-step LoRA. The example workflow expects the _comfyui suffixed LoRA files and the int8 ConvRot quantised base model, which is how a 33B video model fits on a consumer card at all.
Where people get burned
The structure clip must be long enough. The node raises a ValueError with both counts if structure_video has fewer than the snapped length frames. The shipped workflow solves this elegantly with a math expression that computes round(seconds * 24) and snaps it to the grid, so length follows your source clip instead of the other way round. Copy that.
Aspect mismatch silently crops. The resize is a centre-crop, not a letterbox. Render your blockout at 1344×768 if that's what you're targeting, or you'll lose the edges of your composition and wonder why the framing drifted.
The LoRA conversion script doesn't exist in the repo. The pack's own __init__.py points at convert_solarrenderer_lora.py for a one-time key conversion; that file isn't shipped. Use the pre-converted ..._lora_comfyui.safetensors files from the author's HuggingFace repo through a plain LoraLoaderModelOnly - that's what the example workflow does.
Read the licence before you get attached. MiniMax H3's community licence excludes the US, EU, UK and South Korea from its Applicable Territory, so the local weights aren't licensed for use there. Nothing to do with smthemex, who just ported it - it's the base model's terms.
One last calibration: searching Reddit for "SolarRenderer" returns nothing at all. You are early. The example workflow in the repo is better documentation than any thread, so open it and read the note node before you start guessing at prompts.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | — | |
| vae | VAE | MiniMax H3 video VAE (e.g. minimax_h3_video_vae_fp16.safetensors) | |
| prompt | STRING | Six-part SolarRenderer prompt (skills/solarrenderer-caption). References <Video 1> (structure) / <Video 2> (first frame). | |
| structure_video | IMAGE | Structure clip frames at 24 fps, at least `length` frames; frame-aligned with the video being rendered. | |
| width | INT | 134432–16384 | — |
| height | INT | 76832–16384 | — |
| length | INT | 1585–3600 | Frame count at 24 fps, snapped up to the 17k+5 grid (158 = 6.6 s, SolarRenderer's training length). |
| fps | INT | 245–120 | Frames per second for the video being rendered. |
| first_frameopt | IMAGE | Optional first frame in the target look (<Video 2> of the prompt). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| positive | CONDITIONING | — |
| latent | LATENT | — |