Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

photo-colorization照片着色

Agent Skill

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

总安装

2,012

周安装

83

GitHub Stars

12

下载量

657
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

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

SKILL.md

Photo Colorization

Transform black and white photographs into vibrant, realistic color images using each::sense. This skill uses AI to intelligently analyze image content and apply historically accurate, contextually appropriate colors.

Features

  • Automatic Colorization: AI detects subjects and applies natural colors
  • Historical Accuracy: Context-aware coloring for period-appropriate results
  • Portrait Enhancement: Realistic skin tones for faces and portraits
  • Landscape Restoration: Natural colors for outdoor and nature scenes
  • Vintage Photo Revival: Bring old family photos back to life
  • Batch Processing: Colorize multiple photos in sequence
  • Style Preservation: Maintains original photo quality and details

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": "Colorize this black and white photo with natural, realistic colors"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/bw-photo.jpg"],
    "mode": "max"
  }'

Common Use Cases

Use CaseDescriptionBest For
Family ArchivesColorize old family portraits and snapshotsPersonal restoration
Historical DocumentationPeriod-accurate colorization for archivesMuseums, historians
Portrait EnhancementRealistic skin tones and facial featuresProfessional restoration
Landscape RevivalNatural outdoor and scenic colorizationNature photography
Vintage FashionAccurate clothing and fabric colorsFashion archives
Military/War PhotosHistorical military photograph restorationMemorial projects
ArchitectureBuilding and interior colorizationReal estate, heritage

Use Case Examples

1. Automatic Colorization

Basic colorization with AI-detected colors.

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 photograph. Apply natural, realistic colors based on the image content. Maintain the original quality and details."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/old-photo.jpg"],
    "mode": "max"
  }'

2. Historical Photo Colorization

Colorize with period-appropriate historical accuracy.

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 historical photograph from the 1940s. Use period-accurate colors typical of that era - muted tones, authentic clothing colors, and historically appropriate details. This appears to be a street scene."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/1940s-street.jpg"],
    "mode": "max"
  }'

3. Family Portrait Colorization

Bring old family photos to life with warm, natural tones.

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 old family portrait photo. Apply natural skin tones, realistic hair colors, and period-appropriate clothing colors. The photo appears to be from the 1950s-1960s era. Make it look warm and inviting."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/family-portrait-bw.jpg"],
    "mode": "max"
  }'

4. Landscape Colorization

Natural outdoor and scenic 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": "Colorize this black and white landscape photograph. Apply natural colors - blue sky, green foliage, brown earth tones. Make it look like a vibrant summer day while preserving the original composition and atmosphere."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/landscape-bw.jpg"],
    "mode": "max"
  }'

5. Portrait with Specific Skin Tones

Control skin tone colorization for accurate results.

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 portrait photograph. The subject has a medium olive skin tone and dark brown hair. Apply natural, warm skin colors with subtle pink undertones. Eyes appear to be brown. Clothing looks like a dark formal suit."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait-bw.jpg"],
    "mode": "max"
  }'

6. Vintage Photo Colorization

Restore old photographs with era-specific styling.

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 vintage photograph from the 1920s. Apply colors that match the Art Deco era - rich jewel tones for clothing, sepia-influenced skin tones, and period-appropriate interior colors. Maintain the vintage aesthetic while adding realistic color."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/1920s-vintage.jpg"],
    "mode": "max"
  }'

7. War/Military Photo Colorization

Historical military photograph restoration with accuracy.

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 World War II military photograph. Apply historically accurate colors - olive drab for US Army uniforms, appropriate skin tones for the soldiers, realistic equipment colors. Maintain the somber, documentary feel of the original while adding authentic military colors."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/wwii-soldiers.jpg"],
    "mode": "max"
  }'

8. Architecture Colorization

Building and interior photograph 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": "Colorize this black and white photograph of a Victorian-era building. Apply appropriate architectural colors - red or brown brick, white trim, dark roof tiles, green copper patina if visible. Include natural sky colors and surrounding landscape elements."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/victorian-building.jpg"],
    "mode": "max"
  }'

9. Fashion/Clothing Colorization

Accurate fabric and fashion 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": "Colorize this 1960s fashion photograph. Apply era-appropriate colors - bold mod colors like orange, turquoise, and pink were popular. The model appears to be wearing a structured dress. Apply realistic fabric textures and vibrant 60s palette."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/1960s-fashion.jpg"],
    "mode": "max"
  }'

10. Batch Colorize Multiple Photos

Process multiple photos with consistent styling using session continuity.

# First photo in batch
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 family photo from the 1950s. Apply warm, natural colors with period-appropriate tones. This is photo 1 of a series from the same family album."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/family-album-001.jpg"],
    "session_id": "family-album-colorization",
    "mode": "max"
  }'

# Second photo (same session for consistency)
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 second photo from the same family album. Maintain consistent skin tones and color style as the previous colorization."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/family-album-002.jpg"],
    "session_id": "family-album-colorization",
    "mode": "max"
  }'

# Third photo (continuing series)
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 the third photo. Same family, same era. Keep the color palette consistent with previous images."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/family-album-003.jpg"],
    "session_id": "family-album-colorization",
    "mode": "max"
  }'

Best Practices

Image Quality

  • Resolution: Higher resolution photos yield better colorization results
  • Contrast: Good contrast in the original helps AI identify details
  • Clarity: Sharp, clear photos colorize better than blurry ones
  • Condition: Digital restoration before colorization can improve results

Prompt Tips

  • Provide context: Mention the era, location, or subject matter
  • Specify skin tones: If known, describe the subject's complexion
  • Note clothing colors: If you know original colors, include them
  • Describe the scene: Outdoor/indoor, season, time of day

Historical Accuracy

  • Research the time period for authentic color palettes
  • Consider regional variations in fashion and architecture
  • Military uniforms and equipment have specific documented colors
  • Vintage car and vehicle colors are often well-documented

Mode Selection

ModeBest ForSpeedQuality
maxFinal restorations, archival work, giftsSlowerHighest
ecoQuick previews, batch testing, draftsFasterGood

Recommendation: Use eco mode for initial tests, then max for final output.

Multi-Turn Refinement

Use session_id to iterate and refine colorization:

# Initial 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": "Colorize this old portrait photograph with natural colors"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "session_id": "portrait-restoration"
  }'

# Refine the result
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": "The skin tones look a bit too warm. Can you redo the colorization with cooler, more natural skin tones?"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "portrait-restoration"
  }'

# Further adjustment
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": "The dress should be blue, not green. Please adjust the clothing color."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "portrait-restoration"
  }'

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.ai
Invalid image URLURL not accessibleEnsure image URL is publicly accessible
TimeoutLarge image or complex sceneSet client timeout to minimum 10 minutes
Poor colorizationLow quality sourceUse higher resolution, clearer source image

Related Skills

  • each-sense - Core API documentation
  • image-restoration - General image restoration
  • image-enhancement - Enhance and upscale images
  • face-restoration - Specialized face enhancement

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.58%
按下载量换算240

Claude

30.07%
按下载量换算198

Cursor

16.87%
按下载量换算111

Gemini CLI

8.48%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills