product-color-change
通过 Flyelep AI 工具接口智能识别图片中的商品并进行换色处理。 当用户要求修改商品颜色、保持商品不变只换配色、生成同款不同颜色展示图时使用此技能。 Skill: product-color-change Owner: flyelepai Summary: 通过 Flyelep AI 工具接口智能识别图片中的商品并进行换色处理。 当用户要求修改商品颜色、保持商品不变只换配色、生成同款不同颜色展示图时使用此技能。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-08-28T03:15:35.121Z | user - Updated API parameter modelType to require value 9 (was previously 0); only 9 is now supported. - Added optional parameters: prompt (for supplementary instructions) and replaceImageUrl (for color reference im
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-product-color-change- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 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-product-color-change/snapshot"
Documentation
CLAWHUB
33,902 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: product-color-change
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/productColorChange`
- **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/product_red.jpg",
"textPrompt": "将商品颜色改为深蓝色",
"modelType": 9
}
```
## 响应格式
```json
{
"code": 200,
"msg": "操作成功",
"data": "https://example.com/product_blue.jpg"
}
```
- `code=200` 表示调用成功
- `msg` 为接口返回说明
- `data` 为换色后的图片 URL
返回结果应直接展示给用户,不要回读图片内容。
## 参数说明
### 必传参数
> **重要**:以下必传参数必须通过询问用户获取,agent 不可自行填写。调用本技能时,应先向用户列出必传参数与可选参数表格,由用户确认或提供后再执行。
| 字段 | 默认值 | 说明 |
|------|--------|------|
| sourceUrl | - | 原图链接 |
| textPrompt | - | 换色提示词,如"将商品颜色改为深蓝色" |
| modelType | 9 | 模型类型:当前仅支持传 `9`(Flyelep Image 2) |
### 可选参数
| 字段 | 默认值 | 说明 |
|------|--------|------|
| prompt | - | 补充提示词,用于描述换色位置、不换色区域等,会与 `textPrompt` 拼接后一起下发 |
| replaceImageUrl | - | 颜色参考图,最多 1 张 |
### 参数映射规则
**sourceUrl**:
- 传入待换色商品的原图公网 URL
- 必须是图片直链,不要传网页地址
- 原图应尽量清晰展示商品主体和原始颜色
- 如果用户提供本地文件路径,先按「本地文件上传」章节换取公网直链,再填入此参数
**textPrompt**:
- 文档将其标为必需
- 直接描述目标颜色及必要约束
- 应尽量明确"将什么改成什么颜色"
推荐写法示例:
- `将商品颜色改为深蓝色`
- `把包包主体颜色改为奶油白,保留金属扣件颜色不变`
- `将耳机外壳换成哑光黑色,保持材质质感与光影不变`
- `把杯身改为浅绿色,保留品牌标识和背景不变`
**提示词边界**:
- 优先描述颜色,不要把换色需求扩写成换材质或换商品
- 如果用户只是想"更换商品",应改用商品替换 skill
- 如果用户想"换背景",应改用场景替换 skill
**prompt**:
- 与 `textPrompt` 是两个独立字段,服务端会把两者用中文逗号拼接后再下发
- 适合承载"只改哪个部位、哪些区域不要动"这类补充约束
- 只传 `prompt` 不传 `textPrompt` 时也能生效
**modelType**:
- 当前接口仅支持 `9`(Flyelep Image 2),必传
- 传其他值会报「无效的模型类型」
**replaceImageUrl**:
- 可选,用于提供颜色参考图
- 只支持 1 张,传多张会被接口拒绝,报「该操作类型最多只能上传1张图片」
> **说明**:场景替换、商品替换、商品换色三个接口共用同一 DTO,由接口内部自动设置 `type` 字段,调用方无需传入 `type`。
## 本地文件上传
用户提供的是本地文件路径而不是公网直链时,先把文件上传换取直链,再调用本接口。已安装 `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-1404002717.cos.ap-guangzhou.myqcloud.com/cos_ai_agent/2026-08-11/3f2a9c1b7d84_meta.json
{
"ownerId": "kn7fp1zsg4nwdq826y0awapkks84fkq1",
"slug": "flyelep-product-color-change",
"version": "1.0.4",
"publishedAt": 1787886935121
}skill-card.md
## Description: Uses the Flyelep AI Tool API to identify products in an image, change their color according to the user's prompt, and return the new image URL. This skill is ready for commercial/non-commercial use. ## Publisher: [flyelepai](https://clawhub.ai/user/flyelepai) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agents use this skill when a user wants product images recolored while preserving the product, branding, background, composition, and other requested details. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Product images and the Flyelep API key are sent to a third-party service. Mitigation: Use only with images and credentials that the user is comfortable sharing with Flyelep, and require the API key at runtime instead of storing it in files or examples. Risk: Local image uploads may create permanent unsigned public URLs without documented deletion or expiry control. Mitigation: Avoid uploading confidential, personal, regulated, unreleased, or metadata-sensitive images unless the user accepts that exposure. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/flyelepai/skills/flyelep-product-color-change) - [Flyelep product color change API endpoint](https://www.flyelep.cn/prod-api/poster-design/api/v1/poster/aiTool/productColorChange) - [Flyelep open platform control board](https://www.flyelep.cn/controlboard) - [Flyelep file upload API endpoint](https://www.flyelep.cn/prod-api/poster-design/api/v1/file/upload) ## Skill Output: **Output Type(s):** [Text, Shell commands, Configuration, Guidance] **Output Format:** [Markdown with JSON payloads and shell command examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires a user-provided Flyelep secretKey and an image URL or uploaded image URL; successful calls return a recolored image URL.] ## Skill Version(s): 1.0.4 (source: server 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.
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!
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
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
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-product-color-change",
"sourceUrl": "https://clawhub.ai/flyelepai/skills/flyelep-product-color-change",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T05:41:53.966Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-product-color-change/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-product-color-change/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T05:41:53.966Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceUrl": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T05:41:53.966Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.4",
"href": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceUrl": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-28T03:15:35.121Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-product-color-change/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-flyelepai-flyelep-product-color-change/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.4",
"description": "- Updated API parameter `modelType` to require value `9` (was previously `0`); only `9` is now supported. - Added optional parameters: `prompt` (for supplementary instructions) and `replaceImageUrl` (for color reference image). - Clarified steps for uploading local files to obtain a public URL when only a file path is provided. - Expanded error handling and troubleshooting, including new parameter validation and file upload limits. - Improved structured instructions, parameter documentation, and sample calls for both Windows and macOS/Linux environments. - Removed the file `skill-card.md` from the package.",
"href": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceUrl": "https://clawhub.ai/flyelepai/flyelep-product-color-change",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-28T03:15:35.121Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
