process
Run raw Florence-2 task tokens on images or PDFs to get unparsed text output when specialized tools don't cover a task.
Instructions
Run a raw Florence-2 task token against an image (escape hatch).
prompt must be a Florence-2 task token, not an instruction: '',
'', '' and the like. Passing plain
English ("describe this image") does not fail — it returns confident
nonsense, because the model has no such task and decodes the words as
one anyway.
Only for task tokens the named tools do not already cover. Prefer
caption, ocr, detect_objects and dense_region_caption: they wrap
the common tokens, parse the structured output into usable fields, and
document where each one misleads. This returns raw text either way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | Local file path or http(s) URL of the image to process. PDFs are also accepted and are rendered one image per page, so tools that return a list return one entry per page. | |
| prompt | Yes | A Florence-2 task token, e.g. '<OD>', '<CAPTION>', '<REGION_PROPOSAL>'. Not a natural-language instruction -- plain English here produces garbage, not an answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |