
Answers a natural-language prompt about each Image with a HuggingFace transformers image-text-to-text model run in-process from the bound model bundle (no vLLM/SGLang/Ollama sidecar) and emits the answer as a String.
Per-frame visual question answering on an HTTP image source, streaming the answer text out as JSON.
Describe each frame of a video file and parse the answer into structured fields downstream.
Image produces exactly one String answer; there is no 1-to-0 drop. An empty frame runs no generation and yields the empty string on the same tick, so a source can send an empty image on ticks with nothing to analyze and the answers stay aligned with the frames. A generation failure (for example running out of GPU memory) ends the worker with the error instead of answering.max_tokens. This is a single in-process model, not a batched server; for high-throughput serving prefer a dedicated vLLM/SGLang backend.max_pixels rebuilds the processor from the bound files before the next frame (the model stays loaded), a short one-frame pause. prompt, max_tokens and temperature are re-read every frame with no reload.temperature 0.0 is greedy and deterministic; any positive value enables sampling and diversifies the answer. max_pixels caps the pixel count of a frame after resizing — larger frames are downscaled by the processor to bound visual tokens, memory and latency. Unset, the bound bundle's own preprocessor bound applies.device is read once at startup and is not mutable; a value starting with `cuda` on a host without CUDA ends startup with an error. `cpu` runs, but is impractical for live generation.Automated release