API & Documentation

Send an image over HTTPS and receive structured JSON.

The full reference and API key are provided to approved customers.

  • POST /v1/vision/detectBounding boxes
  • POST /v1/vision/segmentBounding boxes and masks
  • POST /v1/vision/classifyImage categories

Authorization

Every request carries your API key in the Authorization header. Keys are issued per customer project, can be rotated on request, and must be kept on your servers, never in browser or mobile app code.

Authorization: Bearer YOUR_API_KEY

Base URL: [https://api.skillscloud.com]. All traffic uses HTTPS, TLS 1.2 or later.

Endpoints

Method and path Returns
POST /v1/vision/detectObjects with class, confidence and box
POST /v1/vision/segmentThe same, plus a mask polygon for each object
POST /v1/vision/classifyThe most likely categories for the whole image, with confidence
GET /v1/modelsModels and versions available to your key, with their classes

Request example

curl -X POST [BASE_URL]/v1/vision/segment \
  -H "Authorization: Bearer $SKILLSCLOUD_API_KEY" \
  -F "image=@photo.jpg" \
  -F "confidence=0.5"
Field Description
imageRequired. The image file, sent as multipart form data.
confidenceDetect and segment. Lowest confidence to return, from 0.05 to 0.95. Default 0.5.
top_kClassify. Number of categories to return, from 1 to 20. Default 5.
versionOptional. Pin a model version, for example 2026.1. Default: the current version.
A machine-vision camera connected to a laptop on a developer workbench

Response examples

/v1/vision/segment

{
  "request_id": "req_7b1e04c9a2",
  "model": "skillscloud-vision",
  "version": "2026.1",
  "image": { "width": 640, "height": 427 },
  "objects": [
    {
      "class": "person",
      "confidence": 0.95,
      "box": [90, 14, 329, 390],
      "mask": [[241, 19], [216, 24], [205, 65]]
    },
    {
      "class": "car",
      "confidence": 0.94,
      "box": [245, 79, 442, 196],
      "mask": [[438, 116], [427, 103], [393, 82]]
    }
  ]
}

/v1/vision/classify

{
  "request_id": "req_3c90a5d11f",
  "model": "skillscloud-vision",
  "version": "2026.1",
  "categories": [
    { "class": "zebra", "confidence": 0.9984 },
    { "class": "tiger cat", "confidence": 0.0009 },
    { "class": "gazelle", "confidence": 0.0002 }
  ]
}
Field Meaning
request_idQuote it when you contact support.
objects[].classOne of the supported object classes (COCO+).
objects[].confidenceFrom 0 to 1. Higher means the model is more certain.
objects[].boxLeft, top, right, bottom, in pixels of the original image.
objects[].maskSegment only: the object's outline as a list of pixel points.
categories[]Classify only: categories for the whole image, most likely first.

Responses from the sample photos on the model page; objects, categories and mask polygons shortened.

Formats and image size

Formats
JPG, PNG and WebP
Size
Up to 10 MB, one image per request
Resolution
Any; large photos are analysed in full detail
Responses
UTF-8 JSON

Request limits

Limits are set per customer plan: [N] requests per minute and [N] images per month by default. Above the limit the API answers 429 with a Retry-After header saying how many seconds to wait.

Errors

Status Code Meaning
400invalid_imageThe file is missing or cannot be read as an image.
401invalid_api_keyThe key is missing, wrong or revoked.
413file_too_largeThe image is over 10 MB.
415unsupported_formatThe file is not JPG, PNG or WebP.
429rate_limitedToo many requests; wait as Retry-After says.
500internal_errorOur side failed; retry, and contact support if it persists.

Pricing

Pricing is per processed image and depends on your volume and the models you use. Tell us about your project and we will send a quote.

How we handle your data

  • Stays in the US

    Requests are processed on servers in the United States only.

  • Images not stored

    Images and results are deleted from memory once the response is sent. They are never used to train models.

  • 30-day request log

    Only metadata, such as time, key, file size and status, is kept for 30 days, for billing, security and compliance.

Technical support

Use the support contact provided with your API access and include the request ID. For access questions, contact SkillsCloud.