快速开始
在开发者平台创建项目和 API Key,并把 Key 保存到服务端环境变量中。
所有 API Key 必须保存在服务端,并只授予 Agent 实际需要的权限。
# .env.local,请勿提交此文件
CLEARCROWDS_API_KEY=cc_live_...curl "https://app.clearcrowds.com/api/v1/presets" \
-H "Authorization: Bearer $CLEARCROWDS_API_KEY"Preset 列表
复制公开 Preset ID 用于接入,再打开对应编辑器流程检查实际效果。
Enhance Image
Improve clarity, lighting, and overall image quality.
enhance-image每次执行 100 API Credits
Professional Headshot
Turn a casual portrait into a work-ready headshot.
professional-headshot每次执行 100 API Credits
Remove Crowds
Remove background crowds and reconstruct the scene naturally.
remove-crowds每次执行 100 API Credits
Remove Clutter
Clear visual clutter while preserving the room and its main subjects.
remove-clutter每次执行 100 API Credits
Remove Text
Remove visible text and rebuild the background behind it.
remove-text每次执行 100 API Credits
Upscale Image
Increase image resolution while improving visible detail.
upscale-image每次执行 100 API Credits
Restore Old Photo
Repair scratches, damage, fading, and lost detail in old photos.
restore-old-photo每次执行 100 API Credits
Remove Reflection
Remove glass or mirror reflections and recover obscured content.
remove-reflection每次执行 100 API Credits
Remove Shadow
Remove distracting shadows while preserving natural lighting.
remove-shadow每次执行 100 API Credits
Remove Person
Remove people from a photo and reconstruct the background.
remove-person每次执行 100 API Credits
Remove Glasses
Remove eyeglasses and restore natural eye detail.
remove-glasses每次执行 100 API Credits
Remove Glare
Reduce harsh glare while preserving the underlying image.
remove-glare每次执行 100 API Credits
接口文档
先把本地图片上传为 Project 临时 Asset,再创建幂等 Job、轮询状态,最后通过鉴权接口下载结果。
/api/v1/catalog/presets公开
/api/v1/presetspresets:read
/api/v1/assetsfiles:write
/api/v1/presets/:presetId/jobsjobs:write
/api/v1/eraser/jobsjobs:write
/api/v1/resize/jobsjobs:write
/api/v1/ocr/detectionsjobs:write
/api/v1/ocr/editsjobs:write
/api/v1/jobs/:jobIdjobs:read
/api/v1/jobs/:jobId/resultjobs:read
/api/v1/accountbilling:read
curl "https://app.clearcrowds.com/api/v1/account" \
-H "Authorization: Bearer $CLEARCROWDS_API_KEY"Private Beta CLI
人工使用时通过浏览器完成设备授权,CI 使用 CLEARCROWDS_API_KEY。CLI 直接上传本地文件,并以原子写入方式保存完整结果。
安装
Private Beta 期间 CLI 不发布到 npm。获得私有源码后,在仓库根目录执行以下命令(需要 Node.js 20.19+)。
npm install --global ./packages/agent-tools
clearcrowds setup登录并改图
clearcrowds login
clearcrowds edit ./input.jpg --preset remove-crowds --output ./fixed.jpg
clearcrowds resize ./fixed.jpg --width 1200 --height 630 --output ./social.jpgAPI Credits
1 USD = 100 API Credits,最低充值 100 USD。API Credits 归属于单个开发者项目,与 ClearCrowds 编辑 Credits 完全独立。
- 1 USD
- 100 Credits
- 最低充值
- $100
- 支付方式
- Polar / USDT





















