ComfyUI Node

T8 LLM Provider Config

One knob for all three T8 prompt enhancers

By T8mars·Created 22 days ago·Updated about 17 hours ago· 180
T8 LLM Provider Config
    • provider_config
    providerSeedance NZ
    temperature_policyAUTO(兼容策略)
    local_modelQwen3.8-27B-Q4_K_M.gguf
    local_mmprojAUTO(自动匹配)
    local_context_size32768
    local_max_tokens4096
    local_think_mode关闭(推荐,速度优先)
    local_reasoning_effortmedium
    local_video_sample_fps2.00
    local_unload_policy执行后卸载(推荐)
    local_comfy_memory_policyAUTO(显存不足时释放)
    credential_alias
    openai_base_url
    custom_model
    ai_workshop_modelgemini-3.5-flash
    extra_parameters_json

    The three T8 enhancer nodes - MiniMax H3, Seedance 2.0 and Music 3 - each carry their own API mode, model picker, local GGUF settings and temperature strategy. If you run all three in one workflow, that's a lot of duplicated dropdowns to keep in sync. This node is the shared control: set the channel once, wire the single provider_config output into any or all of the enhancers' matching green socket, and they all run on that channel until you disconnect.

    It's purely optional. The enhancers work completely standalone; nothing here changes their behavior until you connect the wire.

    How it works

    provider selects the shared channel - Seedance NZ (the author's gateway, default), Local Qwen, the AI Workshop, or an OpenAI-compatible endpoint. Pick cloud and the relevant model fields appear (ai_workshop_model, custom_model, openai_base_url). Pick Local Qwen and you get the full local stack: local_model and local_mmproj (scanned from ComfyUI/models/LLM), local_context_size, local_max_tokens, think mode, unload policy, and VRAM policy - all of which override whatever the enhancer nodes had set individually.

    temperature_policy is where the shared config gets opinionated. The pack normally sends temperature with requests, matching its 1.2.0 behavior; the AUTO policy is what omits it for the one known Kimi Coding Plan endpoint that chokes on the field, and you can force send or omit explicitly. extra_parameters_json accepts only a whitelist of parameters - it cannot override model, messages, auth, media or streaming. credential_alias is the genuinely nice feature: you store a real key once in the ComfyUI user directory under a name, and workflows save only the alias. The real key never enters the graph JSON.

    Credential priority when both exist: a key wired directly into the enhancer's api_key socket wins, then the credential alias, then the node's environment-variable fallback.

    The trap

    The green "共享 LLM 渠道配置" socket is not a STRING. It only accepts this node's provider_config output. The README calls this out because it's the first thing beginners hit - they try to run a plain text or API-key node into it and nothing happens. Add this node from the search list, connect its right-side output to the enhancer's same-named input, and disconnect it to instantly restore each enhancer's own widgets.

    Install

    It ships in the same pack, so the steps are identical: Manager search "MiniMax H3 / Seedance 2.0 / Music 3 Prompt Enhancer (T8)", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/T8mars/comfyui-minimax-h3-prompt-enhancer-T8.git
    

    Restart and hard-refresh with Ctrl+F5. There's an example workflow (basic_workflow_multi_task_connections.json) that wires one shared config into all three enhancers with only pack-internal nodes.

    Where people get burned

    • Forgetting it's a special socket type and trying to feed it text.
    • Expecting the shared config to store the API key - it routes credentials via alias; the key still lives in the ComfyUI user dir, which is the point.
    • Mixing local vision settings for H3/Seedance with Music 3: Music 3 ignores the projector entirely, so an AUTO mmproj match there is harmless but meaningless.
    CategoryT8/Utilities

    Inputs (16)

    NameTypeDefaultDescription
    providerCOMBOSeedance NZ4 options: Seedance NZ, T8 AI Workshop, OpenAI Compatible, Local Qwen
    temperature_policyCOMBOAUTO(兼容策略)3 options: AUTO(兼容策略), 发送 temperature, 省略 temperature
    local_modelCOMBOQwen3.8-27B-Q4_K_M.gguf1 options: Qwen3.8-27B-Q4_K_M.gguf
    local_mmprojCOMBOAUTO(自动匹配)2 options: AUTO(自动匹配), mmproj-F16.gguf
    local_context_sizeINT327688192–65536
    local_max_tokensINT4096256–8192
    local_think_modeCOMBO关闭(推荐,速度优先)2 options: 关闭(推荐,速度优先), 开启(质量优先)
    local_reasoning_effortCOMBOmedium3 options: low, medium, xhigh
    local_video_sample_fpsFLOAT2.000.25–8
    local_unload_policyCOMBO执行后卸载(推荐)3 options: 执行后卸载(推荐), 保持驻留, 空闲10分钟后卸载
    local_comfy_memory_policyCOMBOAUTO(显存不足时释放)2 options: AUTO(显存不足时释放), 不主动释放 ComfyUI 模型
    credential_aliasoptSTRING
    openai_base_urloptSTRING
    custom_modeloptSTRING
    ai_workshop_modeloptSTRINGgemini-3.5-flash
    extra_parameters_jsonoptSTRING

    Outputs (1)

    NameTypeDescription
    provider_configT8_LLM_PROVIDER_CONFIG