Skip to main content
Vision models read images sent in a chat message, so they can describe a photo, read a screenshot or chart, or answer questions about a document page. Send images to lfm3-vl-2b or lfm3-omni-2b through chat completions, as image_url parts of a user message, the same way as OpenAI.

Send an image

An image_url part takes either an http(s) URL or a base64 data: URL. Prefer URLs for large images: a request body may be up to 4 MB, and base64 makes an image about a third larger. Liquid downloads linked images itself before the request reaches the model, so each URL must be publicly reachable. A request may link up to 8 images, each a PNG, JPEG, WebP, or GIF of at most 10 MB, and 20 MB together. An image that can’t be downloaded or isn’t one of those formats returns 400.
A message can carry several images. Models that don’t take images return 400. See Models for which models do.

Decisions with images

Decision models also take images, in the request’s images field.

Vision capabilities

What LFM vision models are good at.