Florence 2
Use Microsoft's Florence 2 multimodal model through our Serverless Hosted API
Default aliases
Alias
Code sample
curl --location 'https://serverless.roboflow.com/infer/lmm' \
--header 'Content-Type: application/json' \
--data '{
"api_key": "YOUR_API_KEY",
"image": {"type": "url", "value": "https://media.roboflow.com/notebooks/examples/dog.jpeg"},
"model_id": "florence-2-base",
"prompt": "<CAPTION>"
}'pip install inference-sdkLast updated
Was this helpful?