Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计提醒

photo-restoration照片修复

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

3,646

周安装

155

GitHub Stars

12

下载量

1,277
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:photo-restoration(照片修复)
来源仓库:https://github.com/eachlabs/skills
仓库路径:skills/photo-restoration
安装命令:
npx skills add https://github.com/eachlabs/skills --skill photo-restoration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eachlabs/skills --skill photo-restoration

简介

用于辅助图像生成、图片编辑、视觉素材处理和图像模型工作流。

  • 适合让 Agent 根据文本生成图片、处理背景或整理视觉提示词。
  • 使用时需要确认输入图片、版权来源、输出格式和模型限制。
  • 涉及人物、品牌或公开展示素材时,应核对授权、真实性和内容合规边界。
  • photo-restoration 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Photo Restoration

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.

Features

  • Damage Repair: Fix scratches, tears, creases, and physical damage
  • Colorization: Add natural colors to black and white photos
  • Fading Recovery: Restore vibrancy to faded and washed-out images
  • Water Damage Repair: Recover photos affected by water or moisture damage
  • Face Restoration: Enhance and restore faces in old or low-quality photos
  • Film Grain Removal: Clean up grain and noise from old film photographs
  • Historical Photo Enhancement: Improve quality of archival and vintage images
  • Torn Photo Reconstruction: Digitally repair torn and ripped photographs

Quick Start

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Restore this old damaged family photo - fix the scratches and improve the overall quality"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/old-family-photo.jpg"]
  }'

Use Case Examples

1. Old Damaged Photo Restoration

Restore a photo with multiple types of damage including scratches, stains, and degradation.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/damaged-1950s-photo.jpg"]
  }'

2. Black and White Photo Colorization

Add realistic colors to a black and white photograph.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/bw-family-portrait.jpg"]
  }'

3. Scratched Photo Repair

Remove scratches and surface damage from a photograph.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/scratched-photo.jpg"]
  }'

4. Faded Photo Enhancement

Restore color and contrast to faded photographs.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/faded-vintage-photo.jpg"]
  }'

5. Water Damaged Photo Recovery

Repair photos that have suffered water or moisture damage.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/water-damaged-photo.jpg"]
  }'

6. Face Restoration in Old Photos

Enhance and restore faces that are blurry or degraded in old photographs.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/old-blurry-faces.jpg"]
  }'

7. Historical Photo Restoration

Restore archival photographs with professional-grade enhancement.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/historical-1900s-street.jpg"]
  }'

8. Family Photo Restoration

Restore precious family memories with comprehensive repair.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/grandparents-wedding.jpg"]
  }'

9. Torn Photo Repair

Digitally reconstruct photos that have been physically torn.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/torn-photo.jpg"]
  }'

10. Film Grain Removal

Clean up excessive grain and noise from old film photographs.

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/grainy-film-photo.jpg"]
  }'

Multi-Turn Restoration Sessions

Use session_id for iterative restoration and refinement:

# Initial restoration
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Restore this old damaged black and white photo - fix the scratches and damage first"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "family-photo-restoration",
    "image_urls": ["https://example.com/old-bw-damaged.jpg"]
  }'

# Follow up with colorization
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now colorize the restored photo with natural colors appropriate for the 1930s era"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "family-photo-restoration"
  }'

# Further refinement
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Enhance the faces to make them clearer and more detailed"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "family-photo-restoration"
  }'

Batch Restoration

Process multiple photos with consistent settings:

# Photo 1
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Restore and colorize this old family photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco",
    "image_urls": ["https://example.com/family-photo-1.jpg"]
  }'

# Photo 2
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Restore and colorize this old family photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco",
    "image_urls": ["https://example.com/family-photo-2.jpg"]
  }'

# Photo 3
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Restore and colorize this old family photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco",
    "image_urls": ["https://example.com/family-photo-3.jpg"]
  }'

Mode Selection

Ask your users before processing:

"Do you want fast & affordable, or highest quality?"

ModeBest ForSpeedQuality
maxFinal restorations, precious family photos, professional archival workSlowerHighest
ecoQuick previews, batch processing, initial assessmentsFasterGood

Best Practices

For Optimal Results

  • Provide context: Mention the era, type of damage, and what aspects are most important to preserve
  • Start with damage repair: Fix scratches and tears before colorization
  • Use multi-turn sessions: Build up restoration in stages for complex projects
  • Specify faces: If faces are important, explicitly mention face restoration
  • Preserve authenticity: Request preservation of vintage qualities if desired

Prompt Tips

  1. Describe the damage: Scratches, tears, fading, water stains, yellowing
  2. Mention the era: This helps with appropriate colorization
  3. State priorities: What matters most - faces, overall clarity, color accuracy
  4. Set expectations: Natural look vs maximum enhancement

Example Prompt Structure

"Restore this [era] photo. The damage includes [list damage types].
Focus on [priority areas]. [Additional preferences like colorization,
authenticity preservation, etc.]"

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentEnsure photo complies with content policies
TimeoutComplex restorationSet client timeout to minimum 10 minutes
Low quality resultInsufficient input resolutionUse highest available scan/photo resolution

Related Skills

  • each-sense - Core API documentation
  • image-enhancement - General image quality improvement
  • face-restoration - Specialized face enhancement
  • image-upscaling - Increase image resolution

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.01%
按下载量换算485

Claude

28.8%
按下载量换算368

Cursor

19.72%
按下载量换算252

Gemini CLI

9.46%
按下载量换算121

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills