Run a Model on an Image
Overview of Roboflow's hosted inference endpoints and where to find detailed reference documentation.
Inference runtimes
Runtime
Use when
Reference
Calling Serverless v2
curl -F "file=@photo.jpg" \
"https://serverless.roboflow.com/infer/<workspace>/<project>/<version>?api_key=$ROBOFLOW_API_KEY&confidence=0.5"curl -X POST "https://serverless.roboflow.com/infer/workflows/<workspace>/<workflow>" \
-H "Content-Type: application/json" \
-d '{
"api_key": "'$ROBOFLOW_API_KEY'",
"inputs": { "image": { "type": "url", "value": "https://example.com/photo.jpg" } }
}'Deprecated: Serverless v1
SDK and CLI shortcuts
Last updated
Was this helpful?