← 返回
安全合规 Key 中文

removebg-api

Remove image backgrounds using the remove.bg API with API-key auth and transparent PNG output. Use when high-quality cutouts are needed and cloud processing...
使用 remove.bg API 去除图像背景,API‑key 认证,输出透明 PNG,适用于高质量抠图和云端处理。
rolandkakonyi
安全合规 clawhub v1.0.1 2 版本 99839.2 Key: 需要
★ 0
Stars
📥 1,242
下载
💾 41
安装
2
版本
#latest

概述

removebg-api

Use remove.bg for high-quality background removal.

API key setup

  1. Create/sign in at https://www.remove.bg/dashboard#api-key
  2. Create an API key
  3. Configure REMOVE_BG_API_KEY in OpenClaw config (openclaw.json) so it is present in runtime environment.

Important

  • Skill metadata (requires.env) declares that REMOVE_BG_API_KEY is required.
  • Metadata does not auto-load shell env files.
  • Preferred: provide key via OpenClaw config-managed environment.

Usage (preferred: uv)

Run from the skill directory:

uv run scripts/removebg_api.py --input /path/in.jpg --output /path/out.png

Options:

  • --size auto|preview|full|4k (default: auto)
  • --format png|jpg|zip (default: png)

Security defaults:

  • --input must be a real image file inside the OpenClaw workspace.
  • Allowed input types: .png, .jpg, .jpeg, .webp (extension + magic-byte validation).
  • --output must be under outputs/removebg-api/ inside the workspace.
  • Large/abusive files are rejected (size + dimension limits).
  • This prevents arbitrary file read/write outside normal skill boundaries.

Example:

uv run scripts/removebg_api.py --input ./input.jpg --output ./output.png --size auto --format png

Fallback (without uv)

python3 scripts/removebg_api.py --input ./input.jpg --output ./output.png

Output

  • Writes result file to --output
  • Prints MEDIA: line for chat workflows

Notes

  • API usage may consume free credits / paid quota.
  • No absolute-path requirement for skill docs; use local paths in examples.

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-05-03 03:00 安全 安全
  • v0.1.2
    2026-03-29 06:19 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Geizhals.at

rolandkakonyi
在Geizhals.at(奥地利)使用HTTP仅自动补全+详情页解析(无需浏览器自动化)进行搜索,用于快速查询价格。
★ 0 📥 901
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,212 📥 266,367
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,599