Nodes/comfy-ninfer-api/NInfer - Client
ComfyUI Node

NInfer - Client

Connection to a local NInfer server. Starts the server on first use and lets it shut down again once the queue has been idle.

By kaerozhi·Created 2 days ago·Updated 2 days ago· 1
NInfer - Client
    • Client
    ◄base_urlhttp://127.0.0.1:8080/v1►
    ◄auto_starttrue►
    ◄model_fileHuihui-Qwen3.8-27B-abliterated-Swift-1.5-GSQ-RCO-IQ3_S-mtp.ninfer►
    ◄idle_seconds120►
    ◄keep_alivefalse►
    ◄api_keyninfer-local►
    ◄max_retries1►
    ◄timeout900►
    CategoryNInfer

    Inputs (8)

    NameTypeDefaultDescription
    base_urlSTRINGhttp://127.0.0.1:8080/v1NInfer's OpenAI-compatible endpoint
    auto_startBOOLEANtrueStart the server if it is not running. Turn this off to use a server you launched yourself with infer.ps1.
    model_fileCOMBOHuihui-Qwen3.8-27B-abliterated-Swift-1.5-GSQ-RCO-IQ3_S-mtp.ninferArtifact to load when this node starts the server
    idle_secondsINT12030–3600Stop the server after this long with no request. NInfer cannot unload a model, so stopping the process is the only way to give the VRAM back to ComfyUI.
    keep_aliveBOOLEANfalseNever shut down automatically
    api_keySTRINGninfer-localNInfer itself ignores this header entirely, so the default placeholder is fine locally. It is here so the same nodes can talk to any OpenAI-compatible endpoint that does check credentials. Never leave it empty: an empty api_key makes the openai client fail to connect.
    max_retriesINT10–10Retries on connection errors and 5xx responses
    timeoutINT9001–3600Whole-request budget. Generations here run for minutes, so keep this generous.

    Outputs (1)

    NameTypeDescription
    ClientNINFER_CLIENTPass to a NInfer chat node