process
Processes an image file with a custom prompt using the Florence-2 model.
Instructions
Processes an image file with a custom prompt using the Florence-2 model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"src": "<src>",
"prompt": "<prompt>"
},
"name": "process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | A file path or URL to the image file that needs to be processed. | |
| prompt | Yes | A custom prompt for the Florence-2 model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |