Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Removes an image's background via the SurgePix API and returns a transparent PNG download URL.
Use this skill ↓23% 50%+27 ptsof test cases passed
Passed 11 of 22 test cases with the skill, and 5 of 22 without it.
I have a small 200x200 pixel image `./icon.png` and I need to upscale its resolution to 4K (3840x2160) using super-resolution AI. Please enhance the resolution.
Informs the user that resolution upscaling is outside the scope of background removal.
3 of 3 safety checks passed
Remove the background from an image and return a transparent PNG using the platform API. Use when the user asks to remove background, cut out a subject, make an image transparent, or create a PNG with no background.
This skill does not generate on-image text. Reply to the user in the same language they used in their request.
| Action | Description |
|---|---|
| Remove background | Pass a local file or URL; script uploads and processes in one step |
| Check task status | Poll a generation task by taskId to check progress |
| Batch remove backgrounds | Process multiple images sequentially and return all download links |
| Download result | Retrieve the PNG download URL from the completed task |
The script always submits the task asynchronously (the API returns a
taskIdimmediately). The--nowaitflag controls what the script does next:
--nowait false(default) — the script polls internally until the task issucceeded/failedand returns the finaldownloadURL in one call.--nowait true— the script returns thetaskIdimmediately without waiting; resolve it later with the surgepix-query-task skill.
Requirement: Set the SURGEPIX_API_KEY environment variable.
Get your API Key at your platform's API management page.
export SURGEPIX_API_KEY=your-api-key-here
This skill uses the script at <skills-dir>/surgepix-remove-background/scripts/remove_background.mjs.
Next to this one in the catalogue, plus more from the same author.