← Back to Skills Marketplace
flyelepai

image-clarity-enhance

by flyelep · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
182
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install flyelep-image-clarity-enhance
Description
通过 Flyelep AI 工具接口增强图片清晰度,支持单张或批量处理。 当用户要求做 AI 超清、提升图片清晰度、批量增强模糊图片时使用此技能。
README (SKILL.md)

Flyelep AI超清

通过 Flyelep AI Tool API 增强图片清晰度,并返回增强后的新图片 URL。

重要:这是一个 HTTP API 调用技能。必须通过 HTTP POST 请求调用 API 接口,禁止通过浏览器访问 Flyelep 网站。

API 接口信息

  • URL: POST https://www.flyelep.cn/prod-api/poster-design/api/v1/poster/aiTool/imageClarityEnhance
  • Content-Type: application/json
  • 认证方式: 在请求头中传入 secretKey
  • 超时时间: 建议 120-300 秒

认证方式

所有 AI 工具接口均需在请求头中传入 secretKey。该密钥需由用户在 Flyelep 开放平台申请获得:https://www.flyelep.cn/controlboard 。

请求头示例:

Content-Type: application/json
secretKey: 用户提供的API密钥

安全说明secretKey 必须放在请求头中,这是 AI 工具接口的统一鉴权要求。不要将真实密钥写入技能文件、示例代码仓库或持久化配置中,应在运行时由用户动态提供。

请求 Body

{
  "imgUrls": "https://example.com/img1.jpg,https://example.com/img2.jpg",
  "enhanceStrength": "light"
}

响应格式

统一响应结构:

{
  "code": 200,
  "msg": "操作成功",
  "data": "https://example.com/clear1.jpg,https://example.com/clear2.jpg"
}
  • code=200 表示调用成功
  • msg 为接口返回说明
  • data 为超清后的图片地址
  • 多张图片时,data 中多个 URL 以英文逗号 , 分隔

返回结果应按逗号拆分后逐个展示给用户,不要回读图片内容。

参数说明

必传参数

字段 默认值 说明
imgUrls - 多张图片链接字符串,英文逗号分隔
enhanceStrength - 增强强度:lightstandardstrong

参数映射规则

imgUrls

  • 接口要求传字符串,不是数组
  • 单张图片时直接传一个 URL 字符串
  • 多张图片时,用英文逗号 , 按顺序拼接
  • 每个链接都应为公网可访问的图片直链,不要传网页地址

enhanceStrength

  • light:轻度增强
  • standard:标准增强
  • strong:强力增强

推荐默认规则:

  • 用户未指定增强强度时,默认传 light
  • 用户强调“尽量自然、轻微增强”时,传 light
  • 用户强调“尽可能清晰、强力修复”时,传 strong

图片规格限制

文档明确要求源图满足以下限制:

  • 格式仅支持:JPGPNGBMP
  • 最短边不低于 10px
  • 最长边不超过 5000px
  • 长宽比不超过 4:1
  • 文件大小不超过 8MB

如果任一条件不满足,接口可能报错或处理失败。

调用示例

单张图片标准超清:

curl -X POST "https://www.flyelep.cn/prod-api/poster-design/api/v1/poster/aiTool/imageClarityEnhance" \
  -H "Content-Type: application/json" \
  -H "secretKey: 你的密钥" \
  --max-time 300 \
  -d '{
    "imgUrls": "https://example.com/img1.jpg",
    "enhanceStrength": "standard"
  }'

批量图片轻度超清:

curl -X POST "https://www.flyelep.cn/prod-api/poster-design/api/v1/poster/aiTool/imageClarityEnhance" \
  -H "Content-Type: application/json" \
  -H "secretKey: 你的密钥" \
  --max-time 300 \
  -d '{
    "imgUrls": "https://example.com/img1.jpg,https://example.com/img2.jpg",
    "enhanceStrength": "light"
  }'

常见错误及解决方案

错误 原因与解决
HTTP 401 / code 非 200 secretKey 无效、缺失或已过期,确认请求头是否正确传入
HTTP 405 Not Allowed 请求方法错误,必须使用 POST
imgUrls 格式错误 该字段必须是字符串,多张图用英文逗号分隔,不是 JSON 数组
图片 URL 无法访问 传入的链接不是公网直链、已过期,或源站限制访问
enhanceStrength 非法 只支持 lightstandardstrong
图片规格不符合要求 检查格式、尺寸、长宽比和文件大小是否满足文档限制
请求超时 批量图片较多或增强强度较高时,可适当增大超时时间

提示词处理

该接口不接收自然语言提示词,不需要构造额外文案。

执行时只需要:

  1. 收集一张或多张图片 URL
  2. 将多张 URL 用英文逗号拼接为 imgUrls
  3. 根据用户意图选择 enhanceStrength
  4. 确认源图尽量满足规格限制
  5. 在请求头中传入 secretKey
  6. 调用接口并将返回的结果按逗号拆分后逐个展示

当用户只是说“帮我变清晰一点”时,优先使用 light;如果用户已经用过无损放大 skill,但更需要遵守文档里的规格限制和 light/standard/strong 语义,则优先使用此技能。

Usage Guidance
This skill is internally consistent, but before installing: (1) Verify Flyelep (www.flyelep.cn) is a service you trust and review its data-retention/privacy policy — images are sent to an external API. (2) Provide the API secretKey at runtime only; do not hard-code or store it in skill files or shared configs. (3) Avoid sending sensitive or private images to the remote service; test with non-sensitive images first. (4) Confirm the HTTPS endpoint and certificate are valid in your environment, and check rate limits/costs on the Flyelep account. (5) If you need local/offline processing for privacy, consider a local tool instead.
Capability Assessment
Purpose & Capability
The name/description match the SKILL.md: the skill documents how to call Flyelep's imageClarityEnhance API to enhance one or multiple images. There are no unrelated binaries, credentials, or installs requested in the package.
Instruction Scope
SKILL.md limits behavior to collecting image URLs, selecting an enhanceStrength, adding a runtime-provided secretKey header, and POSTing JSON to the documented Flyelep endpoint. It does not instruct the agent to read arbitrary files, environment variables, or other system state. Note: SKILL.md explicitly warns not to persist the secretKey and not to return image content, which is appropriate.
Install Mechanism
No install spec and no code files — instruction-only. No downloads or package installs are performed by the skill, minimizing installation risk.
Credentials
The skill does not declare required env vars or primary credentials. It does require a Flyelep 'secretKey' to be provided at runtime (sent in an HTTP header). This is proportionate to the documented API but users must supply the key dynamically — the skill does not and should not persist it.
Persistence & Privilege
always is false and the skill is instruction-only, so it does not request permanent presence or elevated privileges. It does not modify other skills or system config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install flyelep-image-clarity-enhance
  3. After installation, invoke the skill by name or use /flyelep-image-clarity-enhance
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- No user-facing changes; documentation was modified with minor formatting (a space added in the platform URL). - Skill functionality and behavior remain unchanged.
v1.0.1
- 更新认证方式文档,新增 Flyelep 开放平台(https://www.flyelep.cn/controlboard)获取 secretKey 的说明 - 其余功能和接口保持不变
v1.0.0
- Initial release of the image-clarity-enhance skill. - Supports enhancing image clarity via the Flyelep AI API, with single or batch image processing. - Allows users to specify enhancement strength (`light`, `standard`, `strong`), with sensible defaults based on user intent. - Enforces strict input requirements: image URLs as comma-separated strings, supported formats, and size constraints. - Requires an API `secretKey` in HTTP request headers for authentication. - Returns enhanced image URLs, which are to be individually displayed to users.
Metadata
Slug flyelep-image-clarity-enhance
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is image-clarity-enhance?

通过 Flyelep AI 工具接口增强图片清晰度,支持单张或批量处理。 当用户要求做 AI 超清、提升图片清晰度、批量增强模糊图片时使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 182 downloads so far.

How do I install image-clarity-enhance?

Run "/install flyelep-image-clarity-enhance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is image-clarity-enhance free?

Yes, image-clarity-enhance is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does image-clarity-enhance support?

image-clarity-enhance is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created image-clarity-enhance?

It is built and maintained by flyelep (@flyelepai); the current version is v1.0.2.

💬 Comments