重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/eachlabs/skills --skill photo-restoration使用 each::sense 修复和增强老旧、受损或退化的照片。此技能利用 AI 驱动的修复模型来修复划痕、为黑白图像上色、修复褪色、去除胶片颗粒,让受损的照片重获新生。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged family photo - fix the scratches and improve the overall quality",
"mode": "max",
"image_urls": ["https://example.com/old-family-photo.jpg"]
}'
修复包含多种类型损伤(如划痕、污渍和退化)的照片。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged photo from the 1950s. It has scratches, some staining, and general degradation. Please repair the damage while preserving the authentic vintage feel.",
"mode": "max",
"image_urls": ["https://example.com/damaged-1950s-photo.jpg"]
}'
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
为黑白照片添加逼真的色彩。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Colorize this black and white photo from the 1940s. It shows a family portrait - add natural, realistic colors to skin tones, clothing, and the background.",
"mode": "max",
"image_urls": ["https://example.com/bw-family-portrait.jpg"]
}'
去除照片上的划痕和表面损伤。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the scratches from this photo. There are multiple deep scratches across the surface and some light surface marks. Keep the image sharp and clear after repair.",
"mode": "max",
"image_urls": ["https://example.com/scratched-photo.jpg"]
}'
恢复褪色照片的色彩和对比度。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Enhance this faded photo - the colors have washed out over time and the image looks dull. Restore the vibrancy and contrast while keeping it looking natural, not over-processed.",
"mode": "max",
"image_urls": ["https://example.com/faded-vintage-photo.jpg"]
}'
修复遭受水或湿气损伤的照片。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this water damaged photo. It has staining, warping effects, and some areas where the image has deteriorated due to moisture. Recover as much detail as possible.",
"mode": "max",
"image_urls": ["https://example.com/water-damaged-photo.jpg"]
}'
增强和修复老照片中模糊或退化的面部。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore the faces in this old family photo. The faces are blurry and lack detail. Enhance facial features to make them clear and recognizable while maintaining the authentic look of the era.",
"mode": "max",
"image_urls": ["https://example.com/old-blurry-faces.jpg"]
}'
以专业级增强效果修复档案照片。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this historical photograph from the early 1900s. It is a street scene that has significant age-related degradation. Improve clarity, fix damage, and optionally colorize it while preserving historical accuracy.",
"mode": "max",
"image_urls": ["https://example.com/historical-1900s-street.jpg"]
}'
通过全面修复来恢复珍贵的家庭记忆。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this precious family photo from my grandparents wedding in 1960. It has yellowing, some creases, and the edges are damaged. Make it look fresh while preserving the nostalgic quality.",
"mode": "max",
"image_urls": ["https://example.com/grandparents-wedding.jpg"]
}'
数字化重建物理撕裂的照片。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Repair this torn photo - there is a visible tear line running through the middle of the image. Reconstruct the damaged areas seamlessly and restore the photo to its original state.",
"mode": "max",
"image_urls": ["https://example.com/torn-photo.jpg"]
}'
清理老式胶片照片中过多的颗粒和噪点。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the heavy film grain from this old photograph. The grain is very visible and distracting. Clean it up while preserving the sharpness and detail of the image. Keep some subtle texture so it does not look overly processed.",
"mode": "max",
"image_urls": ["https://example.com/grainy-film-photo.jpg"]
}'
使用 session_id 进行迭代修复和优化:
# 初始修复
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged black and white photo - fix the scratches and damage first",
"session_id": "family-photo-restoration",
"image_urls": ["https://example.com/old-bw-damaged.jpg"]
}'
# 后续进行上色
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now colorize the restored photo with natural colors appropriate for the 1930s era",
"session_id": "family-photo-restoration"
}'
# 进一步优化
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Enhance the faces to make them clearer and more detailed",
"session_id": "family-photo-restoration"
}'
使用一致的设置处理多张照片:
# 照片 1
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-1.jpg"]
}'
# 照片 2
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-2.jpg"]
}'
# 照片 3
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-3.jpg"]
}'
在处理前询问您的用户:
“您想要快速且经济实惠的,还是最高质量的?”
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终修复、珍贵的家庭照片、专业档案工作 | 较慢 | 最高 |
eco | 快速预览、批量处理、初步评估 | 较快 | 良好 |
"Restore this [era] photo. The damage includes [list damage types].
Focus on [priority areas]. [Additional preferences like colorization,
authenticity preservation, etc.]"
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容策略违规 | 禁止的内容 | 确保照片符合内容策略 |
| 超时 | 复杂修复 | 将客户端超时设置为至少 10 分钟 |
| 结果质量低 | 输入分辨率不足 | 使用可用的最高扫描/照片分辨率 |
each-sense - 核心 API 文档image-enhancement - 通用图像质量提升face-restoration - 专业面部增强image-upscaling - 提高图像分辨率每周安装量
65
仓库
GitHub 星标数
8
首次出现
2026年2月20日
安全审计
已安装于
gemini-cli65
kimi-cli64
codex64
cursor64
opencode64
github-copilot64
Restore and enhance old, damaged, or degraded photos using each::sense. This skill leverages AI-powered restoration models to repair scratches, colorize black and white images, fix fading, remove film grain, and bring damaged photos back to life.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged family photo - fix the scratches and improve the overall quality",
"mode": "max",
"image_urls": ["https://example.com/old-family-photo.jpg"]
}'
Restore a photo with multiple types of damage including scratches, stains, and degradation.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged photo from the 1950s. It has scratches, some staining, and general degradation. Please repair the damage while preserving the authentic vintage feel.",
"mode": "max",
"image_urls": ["https://example.com/damaged-1950s-photo.jpg"]
}'
Add realistic colors to a black and white photograph.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Colorize this black and white photo from the 1940s. It shows a family portrait - add natural, realistic colors to skin tones, clothing, and the background.",
"mode": "max",
"image_urls": ["https://example.com/bw-family-portrait.jpg"]
}'
Remove scratches and surface damage from a photograph.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the scratches from this photo. There are multiple deep scratches across the surface and some light surface marks. Keep the image sharp and clear after repair.",
"mode": "max",
"image_urls": ["https://example.com/scratched-photo.jpg"]
}'
Restore color and contrast to faded photographs.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Enhance this faded photo - the colors have washed out over time and the image looks dull. Restore the vibrancy and contrast while keeping it looking natural, not over-processed.",
"mode": "max",
"image_urls": ["https://example.com/faded-vintage-photo.jpg"]
}'
Repair photos that have suffered water or moisture damage.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this water damaged photo. It has staining, warping effects, and some areas where the image has deteriorated due to moisture. Recover as much detail as possible.",
"mode": "max",
"image_urls": ["https://example.com/water-damaged-photo.jpg"]
}'
Enhance and restore faces that are blurry or degraded in old photographs.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore the faces in this old family photo. The faces are blurry and lack detail. Enhance facial features to make them clear and recognizable while maintaining the authentic look of the era.",
"mode": "max",
"image_urls": ["https://example.com/old-blurry-faces.jpg"]
}'
Restore archival photographs with professional-grade enhancement.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this historical photograph from the early 1900s. It is a street scene that has significant age-related degradation. Improve clarity, fix damage, and optionally colorize it while preserving historical accuracy.",
"mode": "max",
"image_urls": ["https://example.com/historical-1900s-street.jpg"]
}'
Restore precious family memories with comprehensive repair.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this precious family photo from my grandparents wedding in 1960. It has yellowing, some creases, and the edges are damaged. Make it look fresh while preserving the nostalgic quality.",
"mode": "max",
"image_urls": ["https://example.com/grandparents-wedding.jpg"]
}'
Digitally reconstruct photos that have been physically torn.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Repair this torn photo - there is a visible tear line running through the middle of the image. Reconstruct the damaged areas seamlessly and restore the photo to its original state.",
"mode": "max",
"image_urls": ["https://example.com/torn-photo.jpg"]
}'
Clean up excessive grain and noise from old film photographs.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Remove the heavy film grain from this old photograph. The grain is very visible and distracting. Clean it up while preserving the sharpness and detail of the image. Keep some subtle texture so it does not look overly processed.",
"mode": "max",
"image_urls": ["https://example.com/grainy-film-photo.jpg"]
}'
Use session_id for iterative restoration and refinement:
# Initial restoration
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore this old damaged black and white photo - fix the scratches and damage first",
"session_id": "family-photo-restoration",
"image_urls": ["https://example.com/old-bw-damaged.jpg"]
}'
# Follow up with colorization
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now colorize the restored photo with natural colors appropriate for the 1930s era",
"session_id": "family-photo-restoration"
}'
# Further refinement
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Enhance the faces to make them clearer and more detailed",
"session_id": "family-photo-restoration"
}'
Process multiple photos with consistent settings:
# Photo 1
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-1.jpg"]
}'
# Photo 2
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-2.jpg"]
}'
# Photo 3
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Restore and colorize this old family photo",
"mode": "eco",
"image_urls": ["https://example.com/family-photo-3.jpg"]
}'
Ask your users before processing:
"Do you want fast & affordable, or highest quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
max | Final restorations, precious family photos, professional archival work | Slower | Highest |
eco | Quick previews, batch processing, initial assessments | Faster | Good |
"Restore this [era] photo. The damage includes [list damage types].
Focus on [priority areas]. [Additional preferences like colorization,
authenticity preservation, etc.]"
| Error | Cause | Solution |
|---|---|---|
Failed to create prediction: HTTP 422 | Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Ensure photo complies with content policies |
| Timeout | Complex restoration | Set client timeout to minimum 10 minutes |
| Low quality result | Insufficient input resolution | Use highest available scan/photo resolution |
each-sense - Core API documentationimage-enhancement - General image quality improvementface-restoration - Specialized face enhancementimage-upscaling - Increase image resolutionWeekly Installs
65
Repository
GitHub Stars
8
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli65
kimi-cli64
codex64
cursor64
opencode64
github-copilot64
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
53,700 周安装
通用项目发布工具 - 多语言更新日志自动生成 | 支持Node.js/Python/Rust/Claude插件
62 周安装
Edge Pipeline Orchestrator:自动化金融交易策略流水线编排工具
62 周安装
Python ROI 计算器:投资回报率、营销ROI、盈亏平衡分析工具
62 周安装
Salesforce Hyperforce 2025架构指南:云原生、零信任安全与开发最佳实践
62 周安装
PowerShell 2025 重大变更与迁移指南:版本移除、模块停用、WMIC替代方案
62 周安装
2025安全优先Bash脚本编写指南:输入验证、命令注入与路径遍历防护
62 周安装