Remove Background

by pilioai1a9a4516b49bNo licenseListed Oct 8, 2026Updated Oct 8, 2026

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.

Instructions onlyDesign & Creative
AI-generated overview

Removes image backgrounds via the Pilio developer API using its CLI, producing transparent-background cutouts.

What it does
This skill guides an agent through removing an image background with the Pilio developer API, using the official Pilio CLI so that file upload and task creation are handled by the SDK. The agent runs a remove-background command on an input image, which returns a task payload, and waits for the task if it is still pending or processing. The result is a background-removed image, such as a transparent-background cutout for portraits or products.
When to use it
Use it when the user wants transparent-background cutouts, portrait or product background removal, or automated image background cleanup through Pilio.
Requirements
Requires the PILIO_API_KEY environment variable and network access to the Pilio API. Commands are run with pnpm dlx @pilio/cli; the skill ships no scripts of its own.

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:

bash
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:

bash
pnpm dlx @pilio/cli task wait <task_id>

Source and attribution

Source:pilioai/skillsinskills/remove-backgroundat commit1a9a451

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal