inference-endpoint-poc / examples /segmentation.request.json
phongphamthe's picture
Add initial implementation of Hugging Face Inference Endpoint with model handling and request/response schemas
321aee7
Raw
History Blame Contribute Delete
254 Bytes
{
"inputs": [
{
"image_id": "image-0",
"image_base64": "REPLACE_WITH_BASE64_PNG_OR_JPEG"
}
],
"task": "object_segmentation",
"parameters": {
"text_query": "pavement crack",
"confidence_threshold": 0.5
}
}