image_url; no text-only, video, or document_url input. Default method: caption.
The caption and ocr methods emit a Markdown string; the region methods emit a
region container.
Output by method
Each method maps to one Florence-2 task token. The task token itself
(
<CAPTION>, <OD>, …) is an implementation detail and is not part of the
reply: a caption is the string, and a region method is the container.
Boxes are normalized 0-1 against the image at precision decimals (default 4),
and a region method with no hits returns "items": [].
Request
Response
- Text mode (caption)
- JSON mode (caption)
- JSON mode (od)
The caption string alone, with no wrapper: