Remove Background

作者 pilioai1a9a4516b49b无许可证收录于 2026年10月8日更新于 2026年10月8日

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.

仅含说明Design & Creative
AI 生成的概览

通过 Pilio 开发者 API 及其 CLI 移除图片背景,生成透明背景的抠图。

功能
该技能指导智能体使用 Pilio 开发者 API 移除图片背景,并借助官方 Pilio CLI 完成文件上传与任务创建。智能体对输入图片运行 remove-background 命令,命令返回任务负载;若任务仍处于等待或处理中,则继续等待任务完成。最终产出为去除背景的图片,例如人像或商品的透明背景抠图。
适用场景
当用户需要透明背景抠图、人像或商品背景移除,或通过 Pilio 进行自动化图片背景清理时使用。
运行要求
需要环境变量 PILIO_API_KEY,并需要访问 Pilio API 的网络连接。命令通过 pnpm dlx @pilio/cli 运行;该技能本身不附带脚本。

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>

来源与署名

来源:pilioai/skills位于skills/remove-background提交1a9a451

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架