Toolinggeneric

remove-background

Remove an image background with the Pilio developer API. Use when the user wants transparent-background cutouts, portrait or product background removal, or automated image background cleanup through Pilio.

pilioai/skillspilio.ai
View source

Install

npx skills add https://github.com/pilioai/skills --skill remove-background

Use with your agent

ClaudeCursorOpenAIGemini

Install the remove-background skill, then use it as build context. Run: npx skills add https://github.com/pilioai/skills --skill remove-background. Then read the installed skill.md and follow its guidance to build or refactor my project.

Remove 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>