Create Segmentation

Create a new segmentation job.

Accepts an image file and queues it for segmentation processing. Costs the configured per-job credit amount per segmentation.

Args: file: Image file to segment labels: Optional. Either: - JSON array of label strings: '["head", "torso", "arms"]' - Preset name: "spine", "live2d", "character_simple", "general_complex", etc. - None: uses the default "character_simple" preset preset: Optional preset name to store with the job (for export format selection)

post/segment

Request

  • Base URL: https://api.segly.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.segly.io/segment
  • Auth: none declared

Headers

authorizationstring nullable

Response

Successful Response

job_idstring required
status'accepting' | 'pending' | 'processing' | 'completed' | 'failed' | 'cancelled' required
messagestring required
resolved_labelsstring[] nullable

Changes

No recorded changes to this operation across all 1 revision of this API.