remove-background
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRemove Background
移除背景
Use the Pilio CLI so file upload and task creation are handled by the official SDK.
Require in the environment. Do not ask the user to paste API keys into the conversation.
PILIO_API_KEYRun:
bash
pnpm dlx @pilio/cli remove-background --input ./portrait.pngThe 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>使用Pilio CLI,文件上传和任务创建将由官方SDK处理。
环境中需要配置。请勿要求用户在对话中粘贴API密钥。
PILIO_API_KEY运行:
bash
pnpm dlx @pilio/cli remove-background --input ./portrait.png该命令会返回任务负载。如果任务仍处于待处理或处理中状态,请等待:
bash
pnpm dlx @pilio/cli task wait <task_id>