Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

cutout-visual-apicutout visual API 文档

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

7,320

周安装

299

GitHub Stars

公开资料未说明

下载量

2,344
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cutout-visual-api(cutout visual API 文档)
来源仓库:https://github.com/cutout-pro/cutout-visual-api
安装命令:
openclaw skills install cutout-visual-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cutout-visual-api

简介

调用 Cutout.Pro API 实现背景去除、人脸抠图与照片增强。

  • 适用于图像处理、电商素材制作与 UI 设计辅助。
  • 支持 URL 输入与本地文件上传,返回优化后图像链接。
  • 需申请并配置有效的 API 密钥方可正常使用服务。
  • cutout-visual-api 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
cutout-visual-api
description
Call Cutout.Pro visual processing APIs to perform background removal, face cutout, and photo enhancement. Supports both file upload and image URL input, returning binary stream or Base64-encoded results.
risk
safe
source
community
date_added
2026-03-13
author
cutout-pro
tags
tools

Cutout.Pro Visual API — Image Processing Toolkit

Overview

Access three core image processing capabilities via the Cutout.Pro REST API:

  1. Background Remover — Automatically detects the foreground, removes the background, and returns a transparent PNG
  2. Face Cutout — Precisely segments the face and hair region, with support for 68-point facial landmark detection
  3. Photo Enhancer — AI super-resolution enhancement that transforms blurry, low-quality photos into high-definition images

When to Use This Skill

  • When the user needs to remove an image background
  • When the user needs to extract a face or avatar region
  • When the user needs to improve photo clarity or resolution
  • When the user mentions "background removal", "cutout", "portrait segmentation", or related topics
  • When the user mentions "image enhancement", "super resolution", "photo restoration", or related topics

Do Not Use This Skill When

  • The task is unrelated to image processing
  • The user needs to generate a new image (not process an existing one)
  • The user needs video processing (use another tool)

How It Works

Images are processed by the Cutout.Pro API using AI. Each call consumes credits (standard: 1 credit/image; preview mode: 0.25 credits/image).

API Comparison

Use CaseRecommended API
Remove background from products, people, or animalsBackground Remover
Extract face/hair region for avatarsFace Cutout
Turn a blurry photo into HDPhoto Enhancer
Super-resolution for anime/cartoon imagesPhoto Enhancer (faceModel=anime)
Get facial landmark coordinatesFace Cutout (faceAnalysis=true)

Quick Start

  1. Go to https://www.cutout.pro/user/secret-key to get your API Key
  2. Add it to your .env file: CUTOUT_API_KEY=your_key_here
  3. Install dependencies: pip install -r scripts/requirements.txt
  4. Run the script: python scripts/cutout.py --api bg-remover --image photo.jpg

See references/setup-guide.md for full setup instructions.

1. Operation Modes

CLI ArgumentFunctionEndpoint
--api bg-removerBackground removal (file upload, binary response)/api/v1/matting?mattingType=6
--api bg-remover --base64Background removal (file upload, Base64 response)/api/v1/matting2?mattingType=6
--api bg-remover --urlBackground removal (image URL, Base64 response)/api/v1/mattingByUrl?mattingType=6
--api face-cutoutFace cutout (file upload, binary response)/api/v1/matting?mattingType=3
--api face-cutout --base64Face cutout (file upload, Base64 response)/api/v1/matting2?mattingType=3
--api face-cutout --urlFace cutout (image URL, Base64 response)/api/v1/mattingByUrl?mattingType=3
--api photo-enhancerPhoto enhancement (file upload, binary response)/api/v1/photoEnhance
--api photo-enhancer --base64Photo enhancement (file upload, Base64 response)/api/v1/photoEnhance2
--api photo-enhancer --urlPhoto enhancement (image URL, Base64 response)/api/v1/photoEnhanceByUrl

2. Usage Examples

# Background removal — upload file, save as PNG
python scripts/cutout.py --api bg-remover --image product.jpg --output out.png

# Background removal — pass image URL, get Base64
python scripts/cutout.py --api bg-remover --url "https://example.com/photo.jpg"

# Background removal — crop whitespace, add white background
python scripts/cutout.py --api bg-remover --image photo.jpg --crop --bgcolor FFFFFF

# Face cutout — upload file, save as PNG
python scripts/cutout.py --api face-cutout --image portrait.jpg --output face.png

# Face cutout — get Base64 + 68 facial landmarks
python scripts/cutout.py --api face-cutout --image portrait.jpg --base64 --face-analysis

# Photo enhancement — upload file, save HD image
python scripts/cutout.py --api photo-enhancer --image blurry.jpg --output hd.png

# Photo enhancement — anime/cartoon super-resolution
python scripts/cutout.py --api photo-enhancer --image anime.jpg --face-model anime

# Preview mode (0.25 credits, max 500×500)
python scripts/cutout.py --api bg-remover --image photo.jpg --preview

3. Parameters

ParameterDescriptionDefault
--apiSelect API: bg-remover, face-cutout, photo-enhancerRequired
--imageLocal image file path
--urlImage URL (replaces --image in URL mode)
--outputOutput file pathdata/outputs/
--base64Return Base64 JSON instead of binary streamfalse
--cropCrop whitespace (bg-remover/face-cutout only)false
--bgcolorBackground color, hex (e.g. FFFFFF) or blur
--previewPreview mode, max 500×500, costs 0.25 creditsfalse
--output-formatOutput format: png, webp, jpg_75, etc.png
--face-analysisReturn facial landmarks (face-cutout --base64 only)false
--face-modelEnhancement model: quality or anime (photo-enhancer only)quality

4. Output

Images are saved to data/outputs/ with the naming pattern: {api}_{timestamp}.png

Metadata is saved in a .meta.json file containing: API type, parameters, processing time, and file size.

Integration with Other Tools

  • Image editing: Use background removal first, then composite a new background
  • Avatar generation: Face cutout → crop → generate avatar
  • Photo restoration: Photo enhancement → background removal → composite

Limits & Quotas

  • Supported formats: PNG, JPG, JPEG, BMP, WEBP
  • Maximum resolution: 4096×4096 pixels
  • Maximum file size: 15 MB
  • QPS limit: up to 5 concurrent requests per second
  • Credit cost: 1 credit/image (standard), 0.25 credits/image (preview mode)

File Reference

FilePurpose
references/setup-guide.mdInitial setup, API Key retrieval, troubleshooting
references/api-reference.mdFull API docs, parameters, response formats, error codes
scripts/cutout.pyMain script
scripts/config.pyConfiguration management (API Key, endpoints, limits)
scripts/requirements.txtPython dependencies

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.53%
按下载量换算2,028

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills