About remove-background
A skill that removes backgrounds from images using the Pilio CLI. It takes a local image file, creates a task, and can wait for asynchronous processing to finish.
Key features
- 01Remove an image background
- 02Submit a local image file
- 03Wait for task completion
Use cases
- 01Remove the background from a portrait
- 02Process an image through an asynchronous task
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ pilioai/ skills --skill remove-backgroundAfter installing, type/remove-backgroundin Claude Code to confirm it loaded.
Details
From the project READMERemove Background
Use the Pilio CLI so file upload and task creation are handled by the official SDK.
Require PILIO_API_KEY in the environment. Do not ask the user to paste API keys into the conversation.
Try the same workflow online first: https://pilio.ai/background-remover
Run:
pnpm dlx @pilio/cli remove-background --input ./portrait.png
The command returns a task payload. If the task is still pending or processing, wait for it:
pnpm dlx @pilio/cli task wait <task_id>
Comments
Markdown supported