Remove background from a URL (no persistence)
POST/organizations/:organizationId/assets/remove-background-from-url
Lighter-weight sibling of :id/remove-background. Takes an image URL, runs it through Segmind bg-removal-v2, and returns the new S3 URL — without creating a derivative Asset row. Used by the Studio template editor to swap an image element's URL in place. Usage is still recorded (context = "background-removal", $0.015 per call).
Request
Responses
- 201
- 400
Background removed; returns the cutout URL.
sourceUrl missing or not an HTTP(S) URL