Nodes/ComfyUI-llama-multimodal/[llama.cpp] Media Sequential Generate
ComfyUI Node

[llama.cpp] Media Sequential Generate

Loads llama.cpp once, resets context before every independent item, runs the input list sequentially, and unloads once after the sequence.

By craftingmod·Created 2 months ago·Updated 5 days ago· 3
[llama.cpp] Media Sequential Generate
  • model_profile
  • prefill_profile
  • hardware_profile
  • reasoning
  • speculative
  • images
  • audio
  • video
  • response
  • response sequence
  • thinking
  • raw JSON
  • metrics
  • media diagnostics
◄model_path[no GGUF models found]►
◄mmproj_path[none]►
◄system►
◄prompt►
◄n_ctx8192►
◄max_tokens512►
◄seed-1►
◄stop►
◄video_with_audiofalse►
◄verbosefalse►
Categoryllama_cpp/compact

Inputs (18)

NameTypeDefaultDescription
model_pathCOMBO[no GGUF models found]1 options: [no GGUF models found]
mmproj_pathCOMBO[none]1 options: [none]
model_profileOLLAMA_IMAGE_LIST_LLAMA_CPP_MODEL_PROFILERequired output from [llama.cpp] Model Profile.
prefill_profileOLLAMA_IMAGE_LIST_LLAMA_CPP_PREFILL_PROFILERequired output from [llama.cpp] Prefill Profile.
systemSTRING—
promptSTRING—
n_ctxINT8192512–1048576—
max_tokensINT5121–131072—
seedINT-1-1–4294967295—
stopSTRING—
video_with_audioBOOLEANfalseWhen enabled, extract the first embedded video audio track with PyAV and pass it through the AUDIO input path.
verboseBOOLEANfalse—
hardware_profileoptOLLAMA_IMAGE_LIST_LLAMA_CPP_HARDWARE_RUNTIME_PROFILEOptional output from [llama.cpp] Hardware Runtime Profile. Disconnected uses Automatic Offload.
reasoningoptOLLAMA_IMAGE_LIST_LLAMA_CPP_REASONING_CONFIGOptional output from [llama.cpp] Thinking / Reasoning Profile. Disconnected uses model-default reasoning behavior.
speculativeoptOLLAMA_IMAGE_LIST_LLAMA_CPP_SPECULATIVE_CONFIGOptional shared output from a Compact N-gram or Native Speculative Config node.
imagesoptIMAGE—
audiooptAUDIOStandalone AUDIO items. Audio belonging to VIDEO stays in VIDEO.
videooptVIDEOVIDEO items may contain their own AUDIO components.

Outputs (6)

NameTypeDescription
responseSTRING—
response sequenceLLAMA_SEQUENTIAL_RESPONSE—
thinkingSTRING—
raw JSONSTRING—
metricsSTRING—
media diagnosticsOLLAMA_IMAGE_LIST_LLAMA_CPP_MEDIA_DIAGNOSTICS—