Xpersona
R

removebg-api

CLAWHUB · Unverified

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... Skill: removebg-api Owner: rolandkakonyi Summary: 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... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-11T10:27:12.918Z | user Fix workspace path handling so input/output validation matches the skill docs. v0.1.2 | 2026-02-18T08:46:54.787Z | user Security hard

62
Rank
84
Safety
1.8k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1730b386gfc8sbrma8yqavyqn84mtrx:removebg-api
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-rolandkakonyi-removebg-api/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

11,560 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: removebg-api
description: 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 is acceptable.
metadata:
  {
    "openclaw": {
      "requires": { "bins": ["uv", "python3"], "env": ["REMOVE_BG_API_KEY"] },
      "primaryEnv": "REMOVE_BG_API_KEY"
    }
  }
---

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

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

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

## Fallback (without uv)

```bash
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.

_meta.json

{
  "ownerId": "kn7dg6dz206z9m33zdkfvpgb7s7yv737",
  "slug": "removebg-api",
  "version": "1.0.1",
  "publishedAt": 1775903232918
}

skill-card.md

## Description:

Remove image backgrounds using the remove.bg API with API-key auth and transparent PNG output.

This skill is ready for commercial/non-commercial use.

## Publisher:

[rolandkakonyi](https://clawhub.ai/user/rolandkakonyi)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and content operators use this skill to send selected workspace images to remove.bg and save background-removed outputs for agent workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Selected workspace images are sent to the remove.bg service for cloud processing.

Mitigation: Install and use the skill only when cloud processing of those images is acceptable.

Risk: remove.bg API use can consume free credits or paid quota.

Mitigation: Configure and monitor REMOVE_BG_API_KEY usage according to the account holder's remove.bg plan.

Risk: Unexpected input or output paths can cause failed runs or misplaced outputs.

Mitigation: Use image inputs inside the OpenClaw workspace and output paths under outputs/removebg-api/.

## Reference(s):

- [removebg-api on ClawHub](https://clawhub.ai/rolandkakonyi/skills/removebg-api)
- [Publisher profile](https://clawhub.ai/user/rolandkakonyi)
- [remove.bg API key dashboard](https://www.remove.bg/dashboard#api-key)
- [remove.bg API endpoint](https://api.remove.bg/v1.0/removebg)

## Skill Output:

**Output Type(s):** [text, shell commands, configuration, files]

**Output Format:** [Transparent image file with terminal status text and MEDIA line]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires REMOVE_BG_API_KEY; writes outputs under outputs/removebg-api/.]

## Skill Version(s):

1.0.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to removebg-api and adjacent AI workflows.