Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

removebg-api

bởi rolandkakonyi

Web & Frontend Development
469Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

Removes image backgrounds using the remove.bg API, outputting transparent PNG files. Accepts JPG, PNG, WebP, and JPEG inputs with size and format options.

remove.bg specializes in subject detection and produces cleaner cutouts than general-purpose image editing or local models for most common subjects.

Khi nào nên dùng

  • Removing product photo backgrounds for e-commerce listings
  • Isolating people from photos for profile pictures
  • Creating transparent assets for slide decks or presentations
  • Preparing images for compositing in design tools
  • Batch processing images to extract subjects from busy backgrounds

Quy trình ví dụ

ĐẦU VÀO

User asks: remove the background from product.jpg

AGENT
  1. 1

    Validates that product.jpg is inside the OpenClaw workspace and is a supported format

  2. 2

    Reads REMOVE_BG_API_KEY from the OpenClaw-managed environment

  3. 3

    Sends the image to the remove.bg API with the specified size and format options

  4. 4

    Writes the transparent PNG result to outputs/removebg-api/

  5. 5

    Prints a MEDIA: line pointing to the output file

ĐẦU RA

Transparent PNG saved to outputs/removebg-api/product.png

Yêu cầu

  • REMOVE_BG_API_KEY environment variable (from remove.bg dashboard at remove.bg/dashboard#api-key)
  • remove.bg account (free tier has limited credits; paid quota needed for heavy use)

Cài đặt

clawhub install rolandkakonyi/removebg-api

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết