Hugging Face · Example Payload

Hugging Face Objectdetection Example

Hugging Face Objectdetection Example is an example object payload from Hugging Face, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "objectDetection",
  "method": "POST",
  "path": "/models/{model_id}/object-detection",
  "summary": "Object Detection Inference",
  "requestExamples": [
    {
      "contentType": "application/octet-stream",
      "name": "ObjectdetectionRequestExample",
      "example": "example_value"
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Objectdetection200Example",
      "example": [
        {
          "label": "Example Title",
          "score": 42.5,
          "box": {
            "xmin": 10,
            "ymin": 10,
            "xmax": 10,
            "ymax": 10
          }
        }
      ]
    }
  ]
}