POST
/v1/tools/remove-backgroundRemove background
Runs subject selection and composites a cutout with transparent alpha. Returns a COMPLETED job.
synctool
Parameters
imagesarrayrequiredExactly 1 image, PNG (8-bit) only
- Input MUST be PNG. Convert client-side first.
- Output served at /v1/images/:jobId/0.
curl https://api-studio.lumorislabs.com/v1/tools/remove-background \
-X POST \
-H "Authorization: Bearer sk-lumoris-..." \
-H "Content-Type: application/json" \
-d '{"images":[{"data":"<base64>","type":"image/png"}]}'{ "jobId": "3f2a...", "status": "done", "masks": 1 }