Repository navigation
Releases
Releases · designloves2/ComfyUI-TJ_NODE
v2.31.0
Added
- Reference Asset Library: categories can be added, renamed, deleted and reordered through
/tj_node/reflib/categories*routes.etcis fixed. - Floating TJ menu: RTX Deblur (TJ), Moss Image ONE STUDIO (TJ), Vertex Image ONE STUDIO (TJ).
Changed
- LLM (TJ) / Scene Maker, GGUF backend:
n_ctxis now a minimum and grows automatically when the system prompt, images and answer need more (fixesYou MUST increase n_ctx). Larger values use more VRAM.
Docs
- README and REFERENCE_LIBRARY updated; notes added for v2.29.0 - v2.31.0.
v2.30.0
Added
- LLM (TJ):
model_formatentriesH3 Image T2IandH3 Image R2Iwith the full official MiniMax H3 Image prompts. They are sent as written (no extra language / output-only lines), and the node returns onlyexpanded_captionfrom the model's JSON answer. With R2I and reference images the result reads likeThe face in <Picture 1> is <Subject 1>. .... - LLM (TJ): when the system prompt asks for "Reference Media" parts (H3 Image R2I), each image is sent after a
Reference Media: <Picture N>, aspect_ratio W:Hline, and the instruction is sent asUser Editing Instruction (JSON string)withUser Aspect Ratio Selection: adaptive. Other prompts send the images unchanged, followed by the prompt.
Note: the aspect ratio is that of the image batch as it reaches the node (a ComfyUI batch shares one size). The answers can be long; raise max_tokens if the JSON is cut off.
v2.29.0
Added
Create SCAIL-2 Colored Mask (TJ): runs the coreSCAIL2ColoredMaskand addspose_mask_offset/reference_mask_offset(grow or shrink the subject edge by N px, round, PyTorch only).-1trims leftover background around the person in either replacement mode.Mask Color Fill (TJ): paints a MASK with a color into an IMAGE, withmask_offset,featherand a SCAIL-2 style black/white background.- LLM (TJ): the API key is saved to
customLLM/.env(git-ignored) when you press Connect & test, and read back automatically on every run and after a restart. Node_Update.bat: double-click to update the pack (runsgit pull, shows what changed, offers to install new Python packages).
Fixed
- Reference Asset Library: a missing
soundfileno longer stops the whole pack from loading on a clean install;soundfileis added torequirements.txt. - Wan SCAIL Extend Sampler (TJ):
width/heightare rounded to a multiple of 32 (other sizes caused "size of tensor a (28) must match size of tensor b (29)"). - Wan SCAIL Extend Sampler (TJ): the frame readout follows
target_total_framesand the other frame inputs fed by another node (computed values update when the sampler starts), and its text wraps inside the node. - Wan SCAIL Extend Sampler (TJ): replacement mode warns when
pose_video_mask/reference_image_maskare missing or have the wrong background.
Changed
- LLM (TJ), Image to Prompt, Prompt Enhancer, TQD Score: the "no model found" error now says the GGUF / TextGenerate backend needs a local model and points to Open Router / Connect Custom, which need none.
v2.28.0
Fixed
- LLM (TJ):
Interruptnow stops a running GGUF / llama.cpp generation (the streaming loop checks it every token). - LLM (TJ): with images, the llama.cpp batch size is capped at 2048 instead of
n_ctx. A largen_ctxmade the compute buffer grow past VRAM and slowed generation to about 1 tok/s. - Gemma 4 thinking-channel tokens (
<|channel>thought, a lone<channel|>) are removed bystrip_thinking.
Changed
- LLM (TJ) / Scene Maker: the
chat_handlerdefault is nowQwen2.5-VL. Auto-detect picked LLaVA 1.5 for Gemma and garbled the output; Auto-detect now also picksQwen2.5-VLfor file names containinggemma. Saved workflows keep their value. /extensions/*.jsis sent withCache-Control: no-cacheinstead ofno-store, so browsers revalidate (304) instead of downloading every file on each load.
Known limit: Gemma 4 + image can still produce only thinking-channel tokens on some seeds (about 1 in 5 in testing); the node then reports "The model returned no text."
v2.27.0
Added
- LLM (TJ):
model_format,aestheticandvision_taskinputs. The entries fromnodes/llm/data/*.jsonare appended to the system prompt (vision_taskonly when images are connected). - LLM (TJ): live progress. GGUF / llama.cpp streams; every backend sends
tj_llm_progresswebsocket events (phase, tokens, speed, finish reason) and prints a[TJ_LLM]summary line.LLMSession.generate(..., call_id="")returns the same fields inusage.
Fixed
- A reply with a closing
</think>but no opening tag now keeps only the text after the last</think>.
Known limit: Open Router, Connect Custom and ComfyUI TextGenerate send only start and end events; input token counts for Qwen-VL image input are underestimated.
v2.26.0
Fixed
- LLM (TJ): GGUF with image input no longer crashes the backend on gemma models (n_ubatch raised to n_ctx when an mmproj is loaded). (2.25.0)
- Reference library: spaces and hyphens in asset names and aliases are converted to
_, so@mentionsresolve. Existing assets keep their names until edited.
v2.24.0 — mtp switch, Qwen3.5 MTP recovery, Result pipe fixes
mtp switch, Qwen3.5 MTP recovery, Result pipe fixes
mtpswitch on LLM (TJ) and Scene Maker (TJ): an on/off toggle (default on), shown only for the ComfyUI TextGenerate backend. On = speculative decoding for Qwen3.5 models that ship MTP weights (faster); off = skip that path.- Qwen3.5 MTP recovery: in ComfyUI 0.41, cancelling a generation can make every later run fail with
cannot unpack non-iterable MTPHead objectuntil a restart. LLM (TJ) now clears the stale prefetch queue and retries once. If it still fails, switchmtpoff or restart ComfyUI. - Scene Maker Result - pipe(TJ): fixed the node losing its size (and leaving an invisible area below it) after it was moved off the canvas and back; nonsensical saved field heights are reset.
Full list: CHANGELOG.md
v2.23.0 — PromptDBSave JSON input, Scene Maker reference suggestions
PromptDBSave JSON input, Scene Maker reference suggestions, pipe node fixes
- PromptDBSave(TJ)
json_input: link thesettingsJSON from the STUDIO_ONE image nodes and the model / seed / steps / cfg / sampler / scheduler / positive / negative widgets are disabled; the JSON values are saved instead.{}or an empty value is skipped, invalid JSON reports an error. - PromptDBSave(TJ) status box: every run shows
saved N rows -> file,not saved: reason(BYPASS, empty JSON) or the error, in green / yellow / red on the node. - Scene Maker (TJ) reference suggestions (
suggest_references, default on): plans the references each shot needs (provided image / existing / missing), writes generation prompts for the missing ones and tags them as@Namein the keyframe prompts. New inputs/outputs:existing_references,Reference plan,Reference plan JSON,Reference prompts. - Scene Maker Result - pipe(TJ): fields fold like an accordion and each field has its own height; fixed the node that could grow but not shrink and the last field being cut off.
- TJ launcher: 22 missing nodes registered (MiniMax H3 nodes, LTX Director set, ONE STUDIO panels).
Full list: CHANGELOG.md
v2.22.0 — Scene Maker uses LLM (TJ) backends
Scene Maker (TJ) now uses the LLM (TJ) model section
- Backends: GGUF / llama.cpp, ComfyUI TextGenerate, Open Router, Connect Custom, with the same settings, API key field and "Connect & test" as LLM (TJ). The old
Model_Type/clip_nameinputs are gone; re-pick the model in saved Scene Maker workflows. - Fix: calling gemma several times in one Scene Maker run no longer crashes the backend (the model is released between calls).
- Shared code:
LLMSession(custom_llm.py) andweb/tj_llm_model_ui.js.
Full list: CHANGELOG.md
v2.21.0 — LLM (TJ) text encoder name fix
Fix: LLM (TJ) text encoder not found
- LLM (TJ) / ComfyUI TextGenerate: a text encoder name without its sub-folder (for example the default
gemma4_e4b_it_fp8_scaled.safetensors, or a name saved by another install) now loads. The file is matched by file name insidetext_encoders. Before, a model stored in a sub-folder such asLTX\failed with "filename not found".
Full list: CHANGELOG.md