← Back to Skills Marketplace
flyelepai

image-enlarge

by flyelep · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
170
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install flyelep-image-enlarge
Description
通过 Flyelep AI 工具接口对图片进行无损放大,支持单张或批量处理。 当用户要求提升清晰度、放大图片尺寸、做超清增强、批量增强商品图时使用此技能。
README (SKILL.md)

Flyelep 无损放大

通过 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/enlarge
  • 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",
  "scalingRatio": 2
}

响应格式

统一响应结构:

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

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

参数说明

必传参数

字段 默认值 说明
imgUrls - 图片链接字符串,多张时使用英文逗号分隔
scalingRatio - 增强强度:1=轻度增强2=标准增强3=强力增强

参数映射规则

imgUrls

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

scalingRatio

  • 1:轻度增强,适合原图质量较好、只需温和提清晰度
  • 2:标准增强,适合作为默认值
  • 3:强力增强,适合原图较糊或需要更明显提升

推荐默认规则:

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

说明:PDF 文档额外提示“AI 超清有较严格的图片规格限制,文档中已注明”,但当前可提取页面未包含该规格细则。因此调用前应优先使用常见、清晰、可公开访问的图片直链;若接口报规格错误,应以 Flyelep 最新文档或控制台提示为准。

调用示例

单张图片标准增强:

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

批量图片强力增强:

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

常见错误及解决方案

错误 原因与解决
HTTP 401 / code 非 200 secretKey 无效、缺失或已过期,确认请求头是否正确传入
HTTP 405 Not Allowed 请求方法错误,必须使用 POST
imgUrls 格式错误 该字段必须是字符串,多张图用英文逗号分隔,不是 JSON 数组
图片 URL 无法访问 传入的链接不是公网直链、已过期,或源站限制访问
scalingRatio 非 1/2/3 增强强度只支持 123
接口提示图片规格不符合要求 Flyelep AI 超清对源图可能有限制,换用更规范的图片尺寸或格式后重试
请求超时 批量图片较多或增强强度较高时,可适当增大超时时间

提示词处理

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

执行时只需要:

  1. 收集一张或多张图片 URL
  2. 将多张 URL 用英文逗号拼接为 imgUrls
  3. 根据用户意图确定 scalingRatio
  4. 在请求头中传入 secretKey
  5. 调用接口并将返回的结果按逗号拆分后逐个展示

如果用户只是说“帮我变清晰一点”,优先使用默认的 scalingRatio=2;如果用户特别强调“不要过度锐化”,则使用 1

Usage Guidance
This skill calls an external API (https://www.flyelep.cn/...) and requires a 'secretKey' you must provide at runtime. Before using: 1) Confirm the Flyelep service and where to obtain the API key (the SKILL has no homepage/source); 2) Never paste your key into public chat or store it in an unprotected place—prefer providing it via the agent's secure credential input if available; 3) Prefer testing with non-sensitive, public image URLs first (do not supply private or personal images as URLs); 4) If possible, verify Flyelep's terms, privacy, and that the endpoint is legitimate; 5) If the platform expects skills to declare required credentials, ask the author/maintainer to declare the primaryEnv or provide provenance. These checks reduce risk from unknown-source skills that ask you to send secrets or data to an external service.
Capability Analysis
Type: OpenClaw Skill Name: flyelep-image-enlarge Version: 1.0.2 The skill bundle provides instructions for an AI agent to interface with a legitimate image enlargement API (flyelep.cn). It follows security best practices by explicitly instructing the agent to obtain the API secret key from the user at runtime rather than hardcoding it, and it contains no evidence of malicious execution, data exfiltration, or prompt injection (SKILL.md).
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md consistently documents calling Flyelep's enlarge API to upsample images (single or batch). No unrelated binaries, installs, or capabilities are requested.
Instruction Scope
Instructions are narrowly scoped to: collect public image URLs, construct a POST request to the Flyelep endpoint with a 'secretKey' header, and return the returned image URLs. The doc explicitly forbids reading or persisting keys and instructs to not 'read' image contents. Note: ensure the agent does not prompt for or exfiltrate other system files or environment data—SKILL.md itself does not request those.
Install Mechanism
Instruction-only skill with no install steps or downloaded artifacts. This is low risk from an install-perspective.
Credentials
SKILL.md requires a Flyelep 'secretKey' to be supplied in the request header at runtime, but the registry metadata lists no required credentials/primaryEnv and the skill has no homepage or source to verify where keys are registered. This mismatch and the unknown provenance raise concern: users must provide an API key to an external domain (flyelep.cn), and the skill does not declare how keys should be managed by the platform.
Persistence & Privilege
always is false and the skill is user-invocable only. The skill does not request persistent installation or elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install flyelep-image-enlarge
  3. After installation, invoke the skill by name or use /flyelep-image-enlarge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
No changes have been detected in this version. - No file or documentation updates. - Functionality and instructions remain the same as the previous release.
v1.0.1
- 补充了 Flyelep 开放平台的 secretKey 申请链接:https://www.flyelep.cn/controlboard。 - 其他文档内容和接口未发生变化。
v1.0.0
- Initial release of the Flye-image-enlarge skill. - Enables lossless image upscaling via Flyelep AI API, supporting single and batch processing. - Supports three enhancement strengths: mild (1), standard (2, default), and strong (3). - Requires users to provide a valid API secretKey in the HTTP request header for authentication. - Accepts direct, publicly accessible image URLs (comma-separated for multiple images), and returns comma-separated URLs of enhanced images. - Includes guidance for common errors and recommended usage scenarios.
Metadata
Slug flyelep-image-enlarge
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is image-enlarge?

通过 Flyelep AI 工具接口对图片进行无损放大,支持单张或批量处理。 当用户要求提升清晰度、放大图片尺寸、做超清增强、批量增强商品图时使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 170 downloads so far.

How do I install image-enlarge?

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

Is image-enlarge free?

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

Which platforms does image-enlarge support?

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

Who created image-enlarge?

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

💬 Comments