agentCLAWHUBUnverified

partial-redrawing

通过 Flyelep AI 工具接口对图片局部区域进行重绘,可结合文本提示词和参考替换图生成新图。 当用户要求局部修改图片、替换背景、替换某个区域内容、保留主体仅改局部时使用此技能。 Skill: partial-redrawing Owner: flyelepai Summary: 通过 Flyelep AI 工具接口对图片局部区域进行重绘,可结合文本提示词和参考替换图生成新图。 当用户要求局部修改图片、替换背景、替换某个区域内容、保留主体仅改局部时使用此技能。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-08-28T03:11:33.757Z | user - Expanded API参数支持,新增 maskDataUrl、modelType(字符串类型)、languageType 等可选参数,详细说明参数映射与用法。 - 增补“本地文件上传”全流程说明,包括 curl 多平台用法、返回结构与错误处理。 - 明确支持多种模型类型的指定,并更新调用说明和注意事项(如 modelType 必须为字符串)。 - 完善执行流程,强调必须向用户索取 secre

OpenClaw

Rank

62

Safety

84

Downloads

1.1k

Updated

Oct 11, 2026

Version

1.0.4

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.1K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.4release · observed Aug 28, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s175rfkzzv81fcfhp65sjggxa984fmry:flyelep-partial-redrawing
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-partial-redrawing/snapshot"

Documentation

CLAWHUB

32,793 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: partial-redrawing
description: >-
  通过 Flyelep AI 工具接口对图片局部区域进行重绘,可结合文本提示词和参考替换图生成新图。
  当用户要求局部修改图片、替换背景、替换某个区域内容、保留主体仅改局部时使用此技能。
---
# 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/partialRedrawing`
- **Content-Type**: `application/json`
- **认证方式**: 在请求头中传入 `secretKey`(密钥需由用户在 Flyelep 开放平台申请:https://www.flyelep.cn/controlboard)
- **超时时间**: 建议 120-300 秒

请求头示例:

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

> **安全说明**:不要将真实密钥写入技能文件、示例代码仓库或持久化配置中,应在运行时由用户动态提供。

## 请求 Body

```json
{
  "sourceUrl": "https://example.com/original.jpg",
  "textPrompt": "将背景替换为夏日海滩",
  "replaceImageUrl": "https://example.com/reference.jpg"
}
```

## 响应格式

```json
{
  "code": 200,
  "msg": "操作成功",
  "data": "https://example.com/redrawn.jpg"
}
```

- `code=200` 表示调用成功
- `msg` 为接口返回说明
- `data` 为重绘后的图片 URL
- 返回结果应直接展示给用户,不要回读图片内容

## 参数说明

### 必传参数

> **重要**:以下必传参数必须通过询问用户获取,agent 不可自行填写。调用本技能时,应先向用户列出必传参数与可选参数表格,由用户确认或提供后再执行。

| 字段 | 默认值 | 说明 |
|------|--------|------|
| sourceUrl | - | 原图链接 |
| textPrompt | - | 用户提示词,用于描述重绘内容 |

### 可选参数

| 字段 | 默认值 | 说明 |
|------|--------|------|
| replaceImageUrl | - | 参考替换图片链接 |
| maskDataUrl | - | 掩码图链接,用于限定重绘区域 |
| modelType | `"0"` | 模型类型,字符串:`"0"`=gemini-2.5,`"2"`=gemini-3.1,`"9"`=Flyelep Image 2 |
| languageType | - | 语言类型,用于约束重绘文案的语种 |

### 参数映射规则

**sourceUrl**:
- 传入待重绘原图的公网可访问 URL
- 必须是图片直链,不要传网页地址
- 如果用户提供本地文件路径,先按「本地文件上传」章节换取公网直链,再填入此参数

**textPrompt**:
- 直接描述要重绘的内容、目标风格和替换效果
- 应尽量明确“改哪里、改成什么、保留什么”
- 优先保留用户原始意图,不要无故扩写成完全不同的需求

推荐写法示例:

- `将背景替换为纯白背景,保留商品主体和阴影`
- `将杯子上的图案改为蓝色几何纹理,保留杯身材质`
- `把右上角的文字替换为英文促销文案,整体风格保持简洁`

**replaceImageUrl**:
- 当用户提供明确的参考替换图时再传入
- 适合用于“把某一区域替换成参考图风格或内容”的场景
- 用户未提供参考图时,不传此字段
- 如果用户提供本地文件路径,先按「本地文件上传」章节换取公网直链,再填入此参数

**maskDataUrl**:
- 掩码图链接,白色区域表示要重绘的部分
- 不传时由模型依据 `textPrompt` 自行判断重绘范围,因此提示词要写清"改哪里"
- 只有用户已经有现成掩码图时才需要传,agent 不要自己构造掩码

**modelType**:
- 该字段是**字符串**,不是数字,例如 `"0"`
- `"0"`:gemini-2.5(默认)
- `"2"`:gemini-3.1,按 3.1 档计费
- `"9"`:Flyelep Image 2,计费按 3.1 档处理,实际模型由工作流路由
- 不传时服务端按 `"0"` 处理;不要显式传 `null`,会导致解析失败

## 本地文件上传

用户提供的是本地文件路径而不是公网直链时,先把文件上传换取直链,再调用本接口。已安装 `file-upload` 技能时以该技能为准;未安装时按下面的说明直接调用上传接口。

- **URL**: `POST https://www.flyelep.cn/prod-api/poster-design/api/v1/file/upload`
- **请求方式**: `multipart/form-data`,文件字段名固定为 `file`,单次只能上传一个文件,多个文件并发调用多次
- **认证方式**: 请求头传 `secretKey`,与本技能使用同一个密钥
- **超时时间**: 图片建议 60-120 秒
- **不要手动设置 `Content-Type` 请求头**,让 HTTP 客户端自动生成带 boundary 的值,手写会导致服务端解析失败
- 图片仅支持 `bmp`、`gif`、`jpg`、`jpeg`、`png`,`webp` 需先转成 `png` 或 `jpg`;文件名必须带正确后缀,服务端靠它判断格式
- 原文件名不会出现在 URL 里,中文名、空格、特殊字符都能直接上传,不需要提前改名
- 上传不消耗算力,但服务端不做去重:同一个文件在一次任务里只上传一次,记下 `fullPath` 复用

成功响应取 `data.fullPath` 作为公网直链,永久有效、不带签名:

```json
{
  "code": 200,
  "msg": null,
  "data": {
    "relativePath": "cos_ai_agent/2026-08-11/3f2a9c1b7d84e6f5a012.png",
    "fullPath": "https://agent-140

_meta.json

{
  "ownerId": "kn7fp1zsg4nwdq826y0awapkks84fkq1",
  "slug": "flyelep-partial-redrawing",
  "version": "1.0.4",
  "publishedAt": 1787886693757
}

skill-card.md

## Description:

Uses the Flyelep AI Tool API to redraw selected regions of an image from a source image URL, text prompt, and optional reference or mask image.

This skill is ready for commercial/non-commercial use.

## Publisher:

[flyelepai](https://clawhub.ai/user/flyelepai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to perform localized image edits, such as replacing backgrounds or modifying a specific region while preserving the main subject.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Local images supplied for editing may be uploaded to Flyelep and exposed through permanent public links without a clear deletion path.

Mitigation: Ask for explicit user acceptance before uploading local files, and avoid identity documents, private photos, confidential designs, regulated data, or other sensitive images unless the user accepts that exposure.

Risk: The Flyelep secretKey could be exposed if written into files, examples, repositories, or logs.

Mitigation: Request the API key only at runtime, pass it in request headers, and do not persist it in skill files, configuration, examples, or shared logs.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/flyelepai/skills/flyelep-partial-redrawing)
- [Flyelep partial redrawing API endpoint](https://www.flyelep.cn/prod-api/poster-design/api/v1/poster/aiTool/partialRedrawing)
- [Flyelep file upload API endpoint](https://www.flyelep.cn/prod-api/poster-design/api/v1/file/upload)
- [Flyelep control board](https://www.flyelep.cn/controlboard)

## Skill Output:

**Output Type(s):** [API Calls, Shell commands, Configuration instructions, Guidance]

**Output Format:** [Markdown with JSON and shell command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns the redrawn image URL from the Flyelep API and instructs the agent not to read back image contents.]

## Skill Version(s):

1.0.4 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/flyelepai/skills/flyelep-partial-redrawing",
      "sourceUrl": "https://clawhub.ai/flyelepai/skills/flyelep-partial-redrawing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:47.279Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-partial-redrawing/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-partial-redrawing/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:47.279Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceUrl": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:47.279Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.4",
      "href": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceUrl": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-28T03:11:33.757Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-partial-redrawing/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-partial-redrawing/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.4",
      "description": "- Expanded API参数支持,新增 maskDataUrl、modelType(字符串类型)、languageType 等可选参数,详细说明参数映射与用法。 - 增补“本地文件上传”全流程说明,包括 curl 多平台用法、返回结构与错误处理。 - 明确支持多种模型类型的指定,并更新调用说明和注意事项(如 modelType 必须为字符串)。 - 完善执行流程,强调必须向用户索取 secretKey、原图直链、参考图等必要信息,agent 不可自行填写。 - 补充更多错误场景与排查提示,细化跨平台 curl 调用示例与注意点。 - 移除了 skill-card.md 文件,不影响功能。",
      "href": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceUrl": "https://clawhub.ai/flyelepai/flyelep-partial-redrawing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-28T03:11:33.757Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to partial-redrawing and adjacent AI workflows.