Remove background from image asset (AI)
POST/organizations/:organizationId/assets/:id/remove-background
Runs the source asset through Segmind bg-removal-v2 and persists the result as a new derivative asset (derivationKind = "cutout"). The original asset is not modified. The derivative is hidden from the main Library listing by design — it appears only under the original asset's detail view (derivedAssets). Usage is recorded with context = "background-removal" for cost attribution. Costs $0.015 per call.
Request
Responses
- 201
- 400
- 404
Cutout asset created
Asset is not an image, or has no accessible URL yet (still uploading/generating)
Asset not found