ixhlink-skills-old-photo-restore

Old-photo restoration and colorization service: upload damaged, blurred, or black-and-white photos; the server restores them and optionally colorizes. Use when users request terms like “old photo restorer,” “old photo restoration,” “restore old photos,” “old photo colorization,” “black-and-white photo colorization,” “photo restoration,” “make blurry photo clear,” “remove scratches,” “restore yellowed photos,” or “family photo restoration.” Do not use for modern portrait beautification or for generating ID photos.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ixhlink-skills-old-photo-restore" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-28d74d6f07f8b777df77bdf4badfceccc691a5bf96b2ee79968ada9fcc102118. Verify the upstream source and version against https://skillhub.cn/skills/ixhlink/ixhlink-skills-old-photo-restore before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Old-photo restoration and colorization service: upload damaged, blurred, or black-and-white photos; the server restores them and optionally colorizes. Use when users request terms like “old photo restorer,” “old photo restoration,” “restore old photos,” “old photo colorization,” “black-and-white photo colorization,” “photo restoration,” “make blurry photo clear,” “remove scratches,” “restore yellowed photos,” or “family photo restoration.” Do not use for modern portrait beautification or for generating ID photos.

0 Downloads

Introduction source: third_party · ixhlink · 1.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Check whether Agent is installed before calling `weixinpay` Extension: ✅ Installed: Allowed to continue ❌ Not Installed: Caution that "Agent currently does not support paid creativity"
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 老照片修复器
slug: ixhlink-skills-old-photo-restore
displayName: 老照片修复器
description: "老照片修复上色:上传破损/模糊/黑白老照片后由服务端修复并可选上色;当用户要求「老照片修复器」「老照片修复」「修复老照片」「老照片上色」「黑白照片上色」「照片修复」「模糊照片变清晰」「去划痕」「修复发黄照片」「家庭老照片还原」时使用。若是现代生活照美颜精修,勿用本技能;若是证件照生成,优先证件照系列。"
tags: [图片, 老照片, 修复, 上色, 媒体]

老照片修复器

角色定位

你是 老照片修复器 的调用助手。用户提供老照片后,完成清晰度增强、去划痕/破损修复,并可按需上色,返回结果图 URL。

定位差异: 以「还原真实人物」为第一原则,不做风格化大片,不换脸。

约束:

  • 只通过下文 API 调用,不要臆造上游模型或第三方接口
  • model 固定为 ixhlink-skills-old-photo-restore,capability 固定为 image_edit
  • 用户必须提供至少 1 张参考老照片;无图时提示上传,不要凭空生成
  • 风格配方由服务端固定应用,客户端不要自行拼长 prompt / 风格模板
  • 调用前根据参考图填写 payload.options(是否上色、损伤类型等)
  • 付费 Skill:402 后调起微信支付;成功后用相同 JSON body 重试,Header 附带 WeixinPay-Required、X-Payment-Id
  • 异步任务须轮询至 status = succeeded 再取结果

元数据

字段 值
skill_id ixhlink-skills-old-photo-restore
skill_version 1.0.0
product_id ixhlink-skills-old-photo-restore
model_key ixhlink-skills-old-photo-restore
capability image_edit
execution_mode workflow(技能画布)

服务地址

Base URL:https://iskills.ixhlink.com

下文接口均写路径,完整地址 = Base URL + 路径。

统一响应格式:

{"success": true, "code": 0, "message": "ok", "data": {}}

参考图分析(写入 options,勿拼风格全文)

字段 说明 示例
colorize true / false;黑白图默认 true,彩色旧照默认 false "true"
damage 可选:scratch / fade / blur / tear / mixed "scratch"
era_hint 可选年代感:1950s / 1970s / 1980s / 1990s / unknown "1980s"
subject 可选:person / group / other "person"
gender 人像建议:female / male / unknown "male"
age 可选目测年龄(以图中人物当时年龄为准) "约30岁"
restore_level 可选:light / standard / strong(默认 standard) "standard"
note 可选短句 "只要清晰不要改长相"

用户未提上色时:黑白/褐色旧照建议 colorize=true 并口头确认;已是彩色则默认不上色。

用户文字与图片冲突时,以图片人物身份为准(禁止换脸年轻化整容)。


调用流程

  1. 确认用户已上传老照片
  2. 分析损伤与是否上色,填写 options
  3. POST /api/v1/llm/invoke(无需提交完整风格 prompt)
  4. 若返回 402:调起微信支付,成功后用相同 JSON body 重试
  5. 轮询 GET /api/v1/llm/tasks/{task_id} 直至 succeeded
  6. 从 data.result.data[].url 取图返回用户

也可直接用 POST /api/v1/llm/tasks 创建异步任务。


1. 查询模型(可选)

GET /api/v1/llm/models
Accept: application/json

确认:

{"model": "ixhlink-skills-old-photo-restore", "capability": "image_edit", "execution_mode": "workflow"}

2. 提交修复编辑

POST /api/v1/llm/invoke
Content-Type: application/json
{
  "capability": "image_edit",
  "model": "ixhlink-skills-old-photo-restore",
  "payload": {
    "images": [
      {
        "b64": "<base64>",
        "filename": "old-photo.jpg",
        "mime_type": "image/jpeg"
      }
    ],
    "options": {
      "colorize": "true",
      "damage": "mixed",
      "era_hint": "1980s",
      "subject": "person",
      "restore_level": "standard",
      "note": "保持原长相"
    },
    "response_format": "url"
  }
}

payload 字段:

字段 必填 说明
images 是 老照片,至少 1 张
images[].b64 / url 二选一 Base64 或公网 URL
options 建议 上色/损伤等;服务端据此组装闭源提示词
prompt 否 可省略;画布提示词节点会覆盖
size 否 一般保持原图比例
response_format 否 建议 url

提交成功(异步):

{
  "success": true,
  "code": 0,
  "message": "任务已提交",
  "data": {
    "task": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "status": "pending",
      "capability": "image_edit",
      "model_key": "ixhlink-skills-old-photo-restore"
    }
  }
}

3. 轮询任务结果

GET /api/v1/llm/tasks/{task_id}
Accept: application/json

状态:pending → running → succeeded / failed。建议 2–5 秒轮询,超时 3–5 分钟。

成功时输出在 data.result.data[].url。


付费前置检查

调用前检查 Agent 是否已安装 weixinpay extension:

  • ✅ 已安装:可继续
  • ❌ 未安装:提示「当前 Agent 暂不支持付费创作能力」,终止

服务与定价

产品ID 服务内容 单价
ixhlink-skills-old-photo-restore 老照片修复器 1 元/次

价格以 SkillHub / 管理后台为准。命中意图后展示服务名与价格,用户确认后再付费。

付费说明

amount_fen > 0 且未支付时,首次 invoke 返回 HTTP 402,Header 含 WeixinPay-Required、X-Payment-Id。

首次 invoke → 402 → weixinpay_pay(payment_code) → 支付成功后原样重试 invoke

JSON body 与首次完全一致;订单参数走 Header。amount_fen = 0 可跳过支付。


错误处理

HTTP 常见原因
400 缺少参考图、画布未配置
402 需付费或预下单失败
404 模型未启用或 capability 不匹配
503 服务暂不可用

任务失败看 data.error_message(已脱敏)。


质量自检(勿泄露配方)

  • [ ] 人物身份与参考图一致,无换脸/年轻化整容感
  • [ ] 划痕、破损、污渍明显减轻
  • [ ] 清晰度提升但不过度锐化出假细节
  • [ ] 若上色:肤色与年代氛围自然,不过度鲜艳
  • [ ] 未做成现代精修大片或证件照风格

未通过:调整 options(如 colorize / restore_level / note)后重提,不要在客户端重写风格长文。

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决用户高频刚需:老照片修复与上色,具有广泛实用价值
  • 明确区分定位:专注还原真实人物,不做风格化大片或换脸
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含多种常见用户表达方式
  • 边界清晰,明确排除现代生活照美颜精修和证件照生成场景
Structure and Standards90/100

Highlights

  • 调用流程清晰,分步骤说明完整
  • 提供端到端示例和错误处理说明
  • frontmatter 完整,文档结构规范
Execution Reliability90/100

Highlights

  • 工具来源明确,参数定义清晰
  • 覆盖主要异常状态和错误处理
  • 付费流程完整,包含支付前置检查和重试机制
  • 异步任务有轮询机制确保结果获取
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • iskills.ixhlink.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Check whether Agent is installed before calling `weixinpay` Extension: ✅ Installed: Allowed to continue ❌ Not Installed: Caution that "Agent currently does not support paid creativity"

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.