{"category":"image","endpoint":"https://setget.net/v1/tools/image-remove-background","examples":[{"input":{"image":"sample.png"},"title":"Remove the colour found in the corners"},{"input":{"color":"#ffffff","contiguous":false,"feather":1,"image":"sample.jpg","tolerance":20},"title":"Remove white everywhere, with a soft edge"}],"input_schema":{"additionalProperties":false,"properties":{"color":{"default":"","description":"The background colour to remove, as a hex colour or colour name. Leave empty to take it from the corners of the image.","examples":["#ffffff"],"maxLength":30,"type":"string"},"contiguous":{"default":true,"description":"Only remove background connected to the edge of the image, so the same colour inside the subject is kept. Turn off to remove the colour everywhere.","type":"boolean"},"feather":{"default":0,"description":"Soften the cut edge over this many pixels. 0 leaves a hard edge.","maximum":20,"minimum":0,"type":"integer"},"format":{"default":"png","description":"File format of the result. Both keep transparency.","enum":["png","webp"],"type":"string"},"image":{"description":"The image with a plain background.","format":"setget-file","type":"string","x-accept":["image"]},"tolerance":{"default":10,"description":"How close a colour must be to count as background: 0 is an exact match, 100 matches everything.","maximum":100,"minimum":0,"type":"integer"}},"required":["image"],"type":"object"},"keywords":["remove background","transparent background","background remover","make transparent","cut out","chroma key","white to transparent","logo transparent","magic wand"],"related":["image-trim","image-convert","image-pad","image-palette"],"slug":"image-remove-background","summary":"Make a plain, single-colour background transparent, for logos, icons, scans and product shots.","tier":"job","timeout_seconds":300,"title":"Remove a solid background","url":"https://setget.net/tools/image-remove-background"}
