ModelSet Upload API
To create a new ModelSet using the upload API, make a POST request to /v1/vps/object with your authentication token, providing the object name, tracking type (full for 360-degree tracking or side for side-view only), and source details including the file type (glb or gltf), provider (web), and coordinate system (RHS for right-handed or LHS for left-handed).
The API will respond with a pre-signed S3 upload URL, unique object ID, and object code. Use the returned uploadUrl to upload your 3D model file directly to S3 via a PUT request with Content-Type: application/octet-stream. Once uploaded, the system will automatically process the model for Object tracking.
Creates a new ModelSet object and returns a pre-signed URL for uploading the 3D model file. The model file should be uploaded to the returned uploadUrl using a PUT request.
Workflow:
Call this endpoint to create the object and get an upload URL
Upload the model file (.glb or .gltf) to the uploadUrl using PUT request with Content-Type: application/octet-stream
The system will process the uploaded file for VPS tracking
Name of the ModelSet object
Product Demo Model
Type of tracking to be performed:
full
: 360-degree tracking (all angles)side
: Side-view tracking only
full
Possible values: ModelSet object created successfully
Bad request - Invalid parameters
Unauthorized - Invalid or missing authentication token
Internal server error
POST /v1/vps/object HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"objectName": "Product Demo Model",
"trackingType": "full",
"source": {
"provider": "web",
"fileType": "glb",
"coordinateSystem": "RHS"
}
}
{
"message": "Object created successfully",
"objectCode": "OBJ_1234567890",
"objectId": "65f1234567890abcdef12345",
"uploadUrl": "https://s3.amazonaws.com/multiset-objects/65f1234567890abcdef12345.glb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..."
}
Last updated
Was this helpful?