Image tools
Remove the background
Returns the picture as a PNG with the background transparent, cut out by the IS-Net model. Works best on one clear subject: a product, a person, an animal. Takes a few seconds; pictures larger than 4096 pixels are made smaller. Options go in the query string, or as form fields when the file is sent as multipart/form-data.
post/v1/image/remove-background
Request
- Base URL: https://api.dharun.dev
- URL: https://api.dharun.dev/v1/image/remove-background
- Auth: none declared
Query parameters
format'png' | 'webp' | 'mask'
png (default), webp, or mask: the cut-out mask alone, white where the subject is.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.