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 從公開儲存庫中收錄這些內容。

檢舉或申請下架