RunAnywhere.vlm takes an image and a prompt.
Signatures
Building an ImageInput
pixelBuffer is the camera path.
From the photo library
From the camera
CVPixelBuffer comes straight off a capture output, so live analysis needs no conversion:
Streaming
Options
vlm takes the same LlmOptions as llm, so maxOutputTokens, temperature, and
systemPrompt all apply.
Models
VLM runs on the llama.cpp backend, so the model needs to be a GGUF vision model with its projector. RegisterRunAnywhereLlamaCPP and pick a VLM entry from the catalog.