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 boxesPOST /v1/vision/segmentBounding boxes and masksPOST /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/detect | Objects with class, confidence and box |
| POST /v1/vision/segment | The same, plus a mask polygon for each object |
| POST /v1/vision/classify | The most likely categories for the whole image, with confidence |
| GET /v1/models | Models 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 |
|---|---|
| image | Required. The image file, sent as multipart form data. |
| confidence | Detect and segment. Lowest confidence to return, from 0.05 to 0.95. Default 0.5. |
| top_k | Classify. Number of categories to return, from 1 to 20. Default 5. |
| version | Optional. Pin a model version, for example 2026.1. Default: the current version. |
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_id | Quote it when you contact support. |
| objects[].class | One of the supported object classes (COCO+). |
| objects[].confidence | From 0 to 1. Higher means the model is more certain. |
| objects[].box | Left, top, right, bottom, in pixels of the original image. |
| objects[].mask | Segment 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 |
|---|---|---|
| 400 | invalid_image | The file is missing or cannot be read as an image. |
| 401 | invalid_api_key | The key is missing, wrong or revoked. |
| 413 | file_too_large | The image is over 10 MB. |
| 415 | unsupported_format | The file is not JPG, PNG or WebP. |
| 429 | rate_limited | Too many requests; wait as Retry-After says. |
| 500 | internal_error | Our 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.
