remove-ac

v1.3.3
io.github.szp2005/remove-ac Checked 37 minutes ago Published 2 hours ago

Drop-in /v1.0/removebg Cloud GPU background removal MCP server (25 MB / 50 MP zero-disk).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

remove_background_file

Remove the background from a local image file (.png, .jpg, .jpeg, .webp) via the stateless remove.ac Cloud GPU API (/v1.0/removebg). Files above 4 MB (up to 25 MB / 50 MP) automatically stream via zero-disk /v1.0/removebg/ticket.

ParameterTypeDescription
inputPath *stringPath to the local source image file.
addShadowbooleanRender a realistic drop or contact shadow under the cutout.
bgColorstringOptional solid background hex color (e.g. 'FFFFFF') instead of transparency.
bgImagePathstringOptional local background image file path (.png, .jpg, .jpeg, .webp, up to 25 MB / 50 MP) to composite behind the cutout.
bgImageUrlstringOptional public http(s) background image URL to composite behind the cutout.
bg_image_pathstringAlias for bgImagePath: local background image file path (.png, .jpg, .jpeg, .webp, up to 25 MB / 50 MP).
bg_image_urlstringAlias for bgImageUrl: public http(s) background image URL.
cropbooleanTrim empty transparent padding around the foreground subject.
formatstringOutput file format. Defaults to 'png'.
outputPathstringDestination path for the cutout image. Defaults to '<stem>-nobg.<ext>' alongside inputPath.
overwritebooleanAllow overwriting an existing outputPath. Defaults to false.
shadowTypestringShadow preset when addShadow is enabled.
sizestringOutput resolution tier. Defaults to 'full'.
typestringOptional foreground category hint.

remove_background_url

Remove the background from a public HTTPS/HTTP image URL via remove.ac (/v1.0/removebg) and save the cutout locally.

ParameterTypeDescription
imageUrl *stringPublicly reachable http(s) URL of the source image.
outputPath *stringLocal file path where the cutout output will be written.
addShadowbooleanRender a realistic drop or contact shadow under the cutout.
bgColorstringOptional solid background hex color (e.g. 'FFFFFF') instead of transparency.
bgImagePathstringOptional local background image file path (.png, .jpg, .jpeg, .webp, up to 25 MB / 50 MP) to composite behind the cutout.
bgImageUrlstringOptional public http(s) background image URL to composite behind the cutout.
bg_image_pathstringAlias for bgImagePath: local background image file path (.png, .jpg, .jpeg, .webp, up to 25 MB / 50 MP).
bg_image_urlstringAlias for bgImageUrl: public http(s) background image URL.
cropbooleanTrim empty transparent padding around the foreground subject.
formatstringOutput file format. Defaults to 'png'.
overwritebooleanAllow overwriting an existing outputPath. Defaults to false.
shadowTypestringShadow preset when addShadow is enabled.
sizestringOutput resolution tier. Defaults to 'full'.
typestringOptional foreground category hint.

get_account_balance

Inspect the current remove.ac API credit balance via GET /v1.0/account.