Nodes/ComfyUI-Binyuan-Sampler/🛡️ Binyuan采样器 V5.5
ComfyUI Node

🛡️ Binyuan采样器 V5.5

One Node to Replace Your Whole Loader-to-Decode Stack (If You Can Read Chinese)

By yjitiu·Created 4 months ago·Updated 2 months ago· 9
🛡️ Binyuan采样器 V5.5
  • 外部模型
  • 外部CLIP
  • 外部VAE
  • 外部Latent
  • 外部正面条件
  • 外部负面条件
  • 上游图像_1
  • 上游图像_2
  • 上游图像_3
  • 图像
  • 模型
  • CLIP
  • VAE
  • Latent
  • 正面条件
  • 负面条件
加载模式整包Checkpoint
CheckpointNone
扩散模型None
CLIP_1None
CLIP_2None
CLIP_类型flux
VAEbaked_vae
权重精度default
串联模式继承上游模型
上游图像处理重新VAE编码
Latent输入源上游图像优先
正面提示词masterpiece, best quality, 1girl
负面提示词
尺寸助手自定义
宽度1024
高度1024
生成数量1
seed0
步数20
CFG1.0
Flux引导3.5
采样算法euler
调度器simple
重绘强度1.00
lora_json[]
LORA_LIST
自动清理显存false

This node ("🛡️ Binyuan采样器 V5.5") wants to eat your whole graph. Where most workflows are a checkpoint loader, a dual CLIP loader, a VAE loader, two text-encoders, an empty-latent node, a KSampler and a decoder wired together across half the canvas, this is one box that does all of it: load the model, encode both prompts, make the latent, sample, decode, and hand you the finished image. It's the same "pipe" family as Efficiency Nodes' Efficient Loader - one fat node instead of a noodle plate - just taken further.

Here's the thing you should know up front: this is a genuinely obscure pack. Zero search impressions on comfy.icu, basically no English Reddit discussion, and the entire interface is in Chinese. It's the personal project of one GitHub user (yjitiu), not a Comfy Org staple. That doesn't make it bad - the code is thoughtful, and the README is well-written in both languages - but you're a bit of a pioneer if you use it, and the next section of this page is basically your map.

How it works

Under the hood it's a single BinyuanUltimateSamplerV9 class that leans entirely on ComfyUI's stable public API: load_checkpoint_guess_config, DualCLIPLoader, common_ksampler. No exotic dependencies (the pyproject declares none), which is refreshing for a node this ambitious.

The two modes in 加载模式 (load mode) matter. 整包Checkpoint loads a single .safetensors checkpoint and reads the VAE from it. 分离式 (split) lets you pick the diffusion model, CLIP_1/CLIP_2 and VAE separately - which is how you run Flux, SD3, Wan, Qwen-Image, Krea2, Z-Image, LTXV and friends. The CLIP_类型 dropdown must match your model's real architecture, or the load/encode blows up; the code even canonicalizes quirky names (pid/pixl → pixeldit) so you don't have to.

The cleverest bits are invisible. It reads the loaded model's latent format to build a correct empty latent (right channel count, right downscale ratio, even 3D latents for video models like Wan). It validates that your VAE's latent channels match the model before sampling, which saves you from the classic "sampled fine, decode failed" disaster. And if you feed it a video VAE it flattens the 5D output to standard 4D IMAGE so SaveImage doesn't choke.

The inputs that actually matter

  • 串联模式 (cascade mode) - set to 继承上游模型 (inherit) and wire your own loaded stack into 外部模型 / 外部CLIP / 外部VAE, and this node becomes a pure sampler again. That's the safest way to use it: you keep your normal loaders, it just does the encode→sample→decode.
  • 权重精度 - fp8_e4m3fn / fp8_e5m2 / bf16 / fp16 / nvfp4 for the diffusion model, on top of the load. nvfp4 is Blackwell-only; on a 30-series card it won't help you. Note that picking a .gguf file sidesteps this entirely - GGUF is self-quantized.
  • Flux引导 (guidance) - Flux-family models don't do classic CFG, so this injects a guidance scale into the conditioning instead. 3.5 is the default and most people quietly run less; the KB notes the community argues 3.5 is too high for a lot of prompts.
  • 上游图像_1/2/3 + 重绘强度 - feed images in for img2img; there's even a 上游图像拼接 mode that stitches multiple images into one canvas.

Outputs: 图像 goes to SaveImage. The rest - 模型, CLIP, VAE, Latent, 正面条件, 负面条件 - are all exposed so you can wire this monster into downstream nodes (ControlNet, hires, whatever).

Install

Easiest via ComfyUI Manager (search "Binyuan Sampler"), or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/yjitiu/ComfyUI-Binyuan-Sampler.git binyuan_sampler_plugin_v5.5

Then restart ComfyUI. There are no pip dependencies. One real dependency: if you pick a .gguf model, the code dynamically loads ComfyUI-GGUF (city96's pack) from custom_nodes/ComfyUI-GGUF - install that too or GGUF files will raise an error.

Where people get burned

The CLIP_类型 mismatch is the number one failure - always match it to the model family, and keep the VAE from the same family (Wan/Qwen need the wan2.1 VAE). The node tries to help: on any error it prints [错误] to the console and returns a blank 64×64 image instead of crashing, so a black output you didn't generate means go read the console. And remember everything is labeled in Chinese - if you're swapping between this and English packs, you'll be translating widget names in your head for a while. Fair warning, not a bug.

CategoryBinyuan

Inputs (36)

NameTypeDefaultDescription
加载模式COMBO整包Checkpoint2 options: 整包Checkpoint, 分离式(Flux/SD3/扩散)
CheckpointCOMBONone1 options: None
扩散模型COMBONone1 options: None
CLIP_1COMBONone1 options: None
CLIP_2COMBONone1 options: None
CLIP_类型COMBOflux29 options: ACE, boogu, chroma, cogvideox, cosmos, flux, +23
VAECOMBObaked_vae1 options: baked_vae
权重精度COMBOdefault9 options: default, fp8_e4m3fn, fp8_e4m3fn_fast, fp8_e5m2, nvfp4, pid, +3
串联模式COMBO继承上游模型3 options: 使用自身模型, 继承上游模型, 自动检测
上游图像处理COMBO重新VAE编码3 options: 重新VAE编码, 直接作为Latent, 自动选择
Latent输入源COMBO上游图像优先4 options: 空Latent, 外部Latent优先, 上游图像优先, 上游图像拼接
正面提示词STRINGmasterpiece, best quality, 1girl
负面提示词STRING
尺寸助手COMBO自定义25 options: 自定义, 512x512, 512x768, 768x512, 768x768, 768x1024, +19
宽度INT102464–8192
高度INT102464–8192
生成数量INT11–100
seedINT00–18446744073709550000
步数INT201–100
CFGFLOAT1.00–20
Flux引导FLOAT3.50–10
采样算法COMBOeuler44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
调度器COMBOsimple9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
重绘强度FLOAT1.000–1
lora_jsonSTRING[]
LORA_LISTCOMBO1 options: None
自动清理显存BOOLEANfalse
外部模型optMODEL
外部CLIPoptCLIP
外部VAEoptVAE
外部LatentoptLATENT
外部正面条件optCONDITIONING
外部负面条件optCONDITIONING
上游图像_1optIMAGE
上游图像_2optIMAGE
上游图像_3optIMAGE

Outputs (7)

NameTypeDescription
图像IMAGE
模型MODEL
CLIPCLIP
VAEVAE
LatentLATENT
正面条件CONDITIONING
负面条件CONDITIONING