Skip to main content
RunAnywhere.vlm answers a prompt about one image. It takes the same LlmOptions and returns the same GenerationResult as llm, so metrics and reasoning behave identically.
The prompt is a parameter, never a field inside the options. The call loads a multimodal model, downloading it when needed, and throws SDKException when none is available.

ImageInput

rawRgb is the only layout segmentation accepts. For VLM any of the three works.

Streaming

Cancel by cancelling the subscription, or call RunAnywhere.vlm.cancel().

Options

Fields you leave unset take the vision defaults rather than the language ones: maxOutputTokens 2048, temperature 0.7, topP 0.9, repetitionPenalty 1.1.

Models

Vision models register under MODEL_CATEGORY_MULTIMODAL. GGUF vision models need their projector alongside the weights, which usually means an archive or a multi-file registration.
Register the llama.cpp backend to get vision support. LlamaCpp.register() fills the LLM and VLM slots of one engine; there is no separate vision registration.

See also

generate()

Text generation and options

Segmentation

Per-pixel class masks