Create an asynchronous segmentation job (image or video)

Queue an image or video segmentation job from previously uploaded task IDs and text prompts. The job runs asynchronously. Poll retrieveJob until status is success, then fetch masks with retrieveJobResult or createJobDownload. Auth is required; there is no anonymous API.

Authentication

AuthorizationBearer

Unrestricted secret sk_live_... or Cognito access token in Authorization: Bearer ...

Request

This endpoint expects an object.
imageobjectRequired
OR
videoobjectRequired

Response

Job accepted
jobIdstring
typeenum
totalItemsinteger>=1
trialobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error