Nodes/comfyui_toriigate/ToriiGate Llama.cpp Vision Generate
ComfyUI Node

ToriiGate Llama.cpp Vision Generate

A ComfyUI node in ToriiGate/API with 11 inputs and 1 output.

By litch230·Created 3 months ago·Updated 3 months ago· 20
ToriiGate Llama.cpp Vision Generate
  • image
  • caption
server_urlhttp://127.0.0.1:8080
model_nameDraconicDragon/ToriiGate-0.5-GGUF:Q4_K_M
timeout120
custom_model_name
prompt
max_pixels_mp1.0
max_new_tokens512
temperature0.50
decodingsample
seed0
CategoryToriiGate/API

Inputs (11)

NameTypeDefaultDescription
imageIMAGEComfyUI image tensor (B, H, W, C float32). Only the first image in the batch is sent.
server_urlSTRINGhttp://127.0.0.1:8080Base URL of the llama-server instance. Example: http://127.0.0.1:8080
model_nameCOMBODraconicDragon/ToriiGate-0.5-GGUF:Q4_K_MGGUF quantization to use. The identifier must match what the llama-server router registered (shown at startup as 'operator(): ...'). Q4_K_M is the recommended balance of quality vs size (3.07 GB). Use custom_model_name below to override with any arbitrary string.
timeoutFLOAT1205–600HTTP request timeout in seconds. Increase for slow hardware or very long generations.
custom_model_nameoptSTRINGOverride the model identifier with any custom string. Useful when running a non-GGUF backend or a locally renamed model. Leave blank to use the dropdown above.
promptoptSTRINGOptional prompt. You can connect the text output from the ToriiGate Grounding Builder here, or type your own.
max_pixels_mpoptFLOAT1.00.1–8Resolution limit sent to the model, in megapixels. Lower values drastically reduce prompt evaluation time (Time To First Token) in llama.cpp.
max_new_tokensoptINT51264–8192Maximum generated tokens.
temperatureoptFLOAT0.500–2Generation randomness. 0 is deterministic.
decodingoptCOMBOsamplesample uses temperature-based sampling; greedy_fast sets temperature to 0.0.
seedoptINT00–18446744073709550000Seed for reproducibility. Use 0 for a random seed.

Outputs (1)

NameTypeDescription
captionSTRING