ixhlink-skills-id-photo-rwb
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-id-photo-rwb" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-19a29267d68ed94e56f7fccf3f2ee38b7c50037955a65616c94448f64318a623. Verify the upstream source and version against https://skillhub.cn/skills/ixhlink/ixhlink-skills-id-photo-rwb 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
Tool for ID photos with red/white/blue backgrounds: replaces the background of an uploaded portrait with a standard solid color background (red/white/blue). Used when the user explicitly or by default requests “red background ID photo”, “white background ID photo”, “blue background ID photo”, “change to red”, “change to blue”, “one-inch red background”, “visa white background”, “social-insurance blue background”, etc. Must confirm or assume a background color before invocation.
Introduction source: third_party · ixhlink · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: 证件照红白蓝
slug: ixhlink-skills-id-photo-rwb
displayName: 证件照红白蓝
description: "红底/白底/蓝底证件照专用:上传人像后换标准纯色背景;当用户要求「红底证件照」「白底证件照」「蓝底证件照」「证件照红白蓝」「换红底」「换蓝底」「一寸红底」「签证白底」「社保蓝底」时使用。必须先确认或默认一种底色再调用。"
tags: [图片, 证件照, 红底, 白底, 蓝底, 媒体]证件照红白蓝
角色定位
你是 证件照红白蓝 的调用助手。用户提供参考人像后,生成 纯红 / 纯白 / 纯蓝 背景的标准证件照,并返回结果图 URL。
定位差异: 核心能力是规范三色底 + 干净证件照人像,不走重度美颜大片风。
约束:
- 只通过下文 API 调用,不要臆造上游接口
model固定为ixhlink-skills-id-photo-rwb,capability固定为image_edit- 必须有参考人像;无图先让用户上传
- 必须在
options.bg_color中指定red/white/blue(用户未说时先问一句;急用可默认blue并说明) - 风格由服务端固定;客户端不拼长 prompt
- 402 支付后用相同 body 重试;异步轮询至成功
元数据
| 字段 | 值 |
|---|---|
| skill_id | ixhlink-skills-id-photo-rwb |
| skill_version | 1.0.0 |
| product_id | ixhlink-skills-id-photo-rwb |
| model_key | ixhlink-skills-id-photo-rwb |
| capability | image_edit |
| execution_mode | workflow(技能画布) |
服务地址
Base URL:https://iskills.ixhlink.com
底色与 options
| 字段 | 必填 | 说明 |
|---|---|---|
bg_color |
是 | red / white / blue |
gender |
建议 | female / male |
age |
建议 | 如 "24岁" |
person / clothing / hair / makeup |
否 | 可选覆盖 |
background |
否 | 一般不必再写;以 bg_color 为准 |
note |
否 | 短句补充 |
size_hint |
否 | 一寸 / 二寸 / 小二寸 |
底色映射(写入服务端理解,客户端只传枚举):
| bg_color | 含义 |
|---|---|
red |
标准证件照红底 |
white |
标准证件照白底 |
blue |
标准证件照蓝底 |
用户说「社保蓝」「护照白」「户口红」等,映射到上表三色即可。
调用流程
- 确认人像 + 底色(缺底色则询问)
- 填
options(含bg_color) POST /api/v1/llm/invoke- 402 → 支付 → 原样重试
- 轮询至
succeeded,返回图片 URL
1. 查询模型(可选)
GET /api/v1/llm/models
Accept: application/json
确认:{"model": "ixhlink-skills-id-photo-rwb", "capability": "image_edit", "execution_mode": "workflow"}
2. 提交编辑
POST /api/v1/llm/invoke
Content-Type: application/json
{
"capability": "image_edit",
"model": "ixhlink-skills-id-photo-rwb",
"payload": {
"images": [
{
"b64": "<base64>",
"filename": "portrait.png",
"mime_type": "image/png"
}
],
"options": {
"gender": "male",
"age": "30岁",
"bg_color": "blue",
"size_hint": "一寸"
},
"size": "3:4",
"response_format": "url"
}
}
| 字段 | 必填 | 说明 |
|---|---|---|
images |
是 | 参考人像 |
options.bg_color |
是 | red/white/blue |
prompt |
否 | 可省略 |
size |
否 | 建议 3:4 |
3. 轮询
GET /api/v1/llm/tasks/{task_id}
Accept: application/json
成功:data.result.data[].url
付费前置检查
须具备 weixinpay;否则终止并提示。
服务与定价
| 产品ID | 服务内容 | 单价 |
|---|---|---|
ixhlink-skills-id-photo-rwb |
证件照红白蓝 | 1 元/次 |
invoke → 402 → 支付 → 原样重试。
错误处理
| HTTP | 原因 |
|---|---|
| 400 | 缺图或缺少 bg_color |
| 402 | 需付费 |
| 404 | 模型未启用 |
| 503 | 服务不可用 |
质量自检(勿泄露配方)
- [ ] 背景为均匀纯色,无渐变杂色、无肩线穿帮
- [ ] 底色与用户选择的红/白/蓝一致
- [ ] 人物身份一致,肩部以上证件照构图
- [ ] 未做成影棚氛围大片(本技能要「规范底色」)
用户要换底:只改 bg_color 重提即可。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决证件照换底的明确高频刚需场景
- 覆盖签证、社保、求职等多种正式场合使用需求
- 具有广泛用户基础和实际商业价值
Highlights
- 触发词覆盖全面,包含多种常见表达变体
- 边界清晰,不易与其他技能混淆
- 用户意图识别准确度高
Highlights
- 调用流程步骤清晰完整
- 包含完整的API调用示例和参数说明
- frontmatter信息完整规范
Highlights
- API端点和服务地址明确
- 异常处理覆盖全面(400/402/404/503)
- 有完善的支付重试和轮询机制
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
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.