yellow-humanoid-transform
Installation
Review the source and dependencies with a prompt.
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 "yellow-humanoid-transform" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-44034e03380633ab31ddd9fad269a98dc0ab57f7b1dfe0b428fde00a675861b3. Verify the upstream source and version against https://skillhub.cn/skills/user_c7830e21/nailong before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Download permission for this version is unverified or restricted.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Transform the subject (person/animal/character) in a user-uploaded image (A) into a “yellow-humanoid” version and produce the final image (B). The output preserves A’s hair, clothing, pose/angle, image proportions, expression, and background. Trigger scenarios: user uploads an image and says “turn him into a yellow humanoid,” “yellow humanoid-ify,” or similar commands, or uploads an image and @-references a yellow-humanoid reference for style replacement.
Introduction source: third_party · user_c7830e21 · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
A verified file list is not available on Skillπ yet.
Browse files at the source ↗Frontmatter
name: yellow-humanoid-transform
description: 将用户上传的任意图片(A)中的主体(人物/动物/角色)变身成"黄色类人"形象,生成保留 A 图头发/服装/站位角度/画面比例/表情/背景的成片(B)。触发场景:用户上传图片后说"帮我把他变成黄色类人"、"变成黄色类人"、"黄色类人化"等类似指令;或上传图片并@引用黄色类人参考图要求风格替换。Nailong Transform(黄色类人变身)
Overview
将用户上传图片中的主体替换为"黄色类人"角色造型,同时严格保留原图的所有其他元素(姿势、服装、背景、构图、表情等)。本 skill 通过 豆包 Seedream 5.0 Lite API(多图参考模式)实现:黄色类人参考图作为主体结构参考放在 image 数组第一位,A 图作为服装/姿势/背景参考放在第二位,配合极简 prompt 输出高质量成片。
Prerequisites(首次使用必读)
在第一次使用本 skill 前,需完成一次配置:
-
安装依赖:
pip install requests -
设置 API Key(豆包方舟 Seedream):
export ARK_API_KEY=ark-xxxxxxxxxxxx如未申请,前往 火山方舟 API Key 管理 获取。
-
确认模型开通:在火山方舟控制台开通
doubao-seedream-5-0-lite-260128模型服务。
上述步骤只需做一次,完成后本 skill 即可持久使用。
When to Use
满足以下任一条件即可触发:
- 用户上传了图片(A),并用文字说"帮我把他变成黄色类人"、"变成黄色类人"、"黄色类人化"、"黄色类人变身"等
- 用户上传图片 + @image 引用黄色类人参考图,要求风格替换
- 用户在已有图生图对话中明确要求"换成黄色类人造型"
- 用户说了包含"奶龙"的触发词(如"变成奶龙"、"奶龙化"等)——触发前自动将"奶龙"替换为"黄色类人",按黄色类人变身流程处理
Workflow
Step 1 — 接收并校验输入
- 确认用户已上传图片 A(必须是图像文件,jpg/png/webp 等)
- 输入预处理:读取用户输入文字,如果包含"奶龙"字符(如"变成奶龙"、"奶龙化"、"奶龙变身"等),自动将所有"奶龙"替换为"黄色类人",后续流程全部按"黄色类人"处理
- 确认(经过预处理后的)触发词中包含"黄色类人"或等效表达
- 如果用户只说"变成黄色类人"但没上传图:礼貌提示"请先上传需要变身的人物/角色图片"
- 如果用户上传了多张图:以最后一张作为 A;如果用户明确说"把这张"则按用户指认
Step 2 — 分析 A 图元素
读取 A 图,识别并记录以下元素(用于在 prompt 中精确保留):
- 头发:颜色、长度、发型、刘海样式、是否戴帽子/头套
- 服装:上衣/下装颜色与款式、口罩/面罩、鞋子、配饰(耳机绳、项链等)、图案/Logo
- 站位 / 姿势:坐姿/站姿/蹲姿,身体朝向,手部动作
- 画面比例:横构图还是竖构图,主体占比
- 角度:平视/俯视/仰视,正面/侧面/3/4 侧
- 表情:嘴部状态、眼神方向(即使变成黄色类人也要保持)
- 背景:室内/室外、关键物体(床、梯子、墙、地砖、装饰物)、光线氛围
Step 3 — 选择 size
豆包 Seedream 的尺寸是抽象级别(不是像素值):
| A 图比例 | 推荐 size |
|---|---|
| 竖图(人像/全身) | 3K |
| 横图(风景/合影) | 3K |
| 接近方形 | 2K |
选
4K仅在原图本身是高清大图且有精细纹理需求时使用。
Step 4 — 组装 prompt 并调用脚本
- 读取
references/prompt-template.md获取极简 prompt 模板 - 用极简语言列出要从 A 图借用的元素(头发、服装、配饰、姿势、背景、角度)
- 不要写冗长细节,让黄色类人参考图自己决定黄色类人长相
调用 scripts/yellow-humanoid_transform.py:
python scripts/yellow-humanoid_transform.py \
-i "<A 图绝对路径>" \
-o "outputs/yellow-humanoid-<descriptive-name>-<timestamp>.png" \
--size 3K \
--prompt-file "<极简 prompt 保存为 .txt>"
-r现在可省略。脚本默认自动查找参考图:优先用assets/yellow-humanoid-reference.png;如果 assets 不存在(如 SkillHub 纯文本版),自动从references/yellow-humanoid-reference-base64.md解码出临时图片。
参数说明:
-i:必选,A 图路径(提供服装/姿势/背景/表情参考)-r:可选,默认auto。可显式指定参考图路径;留空时脚本自动查找 assets 图片或 base64 文本--prompt-file:推荐,从文件读取极简 prompt-o:必选,输出路径--size:2K/3K/4K--model:默认doubao-seedream-5-0-lite-260128--watermark:默认不加水印
核心要点:脚本内部已经把黄色类人参考图放第一位、A 图放第二位。这是经过多次测试的最佳顺序:第一位决定黄色类人无脖子/小眼/圆身体的主体结构,第二位决定服装和背景。
Step 5 — 交付成片
- 把生成的 B 图路径加入
present_files调用,向用户展示成片 - 简明告诉用户:"已生成黄色类人版成片,B 图保留了 A 的 [服装/姿势/背景] 等元素,黄色类人面部按标准造型还原"
Key Principles(铁律)
- 黄色类人长相由参考图决定,prompt 只负责"借 A 图元素":不要写太详细的黄色类人面部描述,参考图会教模型什么是标准黄色类人脸
- 图片顺序固定:黄色类人参考图必须在
image数组第一位(脚本已处理),A 图第二位。顺序错 = 出大眼/长脖子 - 保留项用极简语言列出:头发、服装、配饰、姿势、背景——点到为止,不要写长篇小说
- 领口必须放宽:黄色类人无脖子,A 图服装的领子可以自动加大放宽(像鸡心领/大圆领),让衣服和圆润身体平滑衔接,避免出现"勒脖子"的领线
- 衣服必须包住肚子:A 图的上衣下摆要适当加长、加宽,包住黄色类人的大圆肚子,肚子不要外露;上衣长度盖过肚脐,下摆自然垂在肚皮外侧,不要出现"短款露肚"的版型
- 不擅自加东西:不擅自给黄色类人戴原图没戴的配饰、不擅自改原图没有的装饰物
- API Key 从环境变量读取:脚本不硬编码 key,用户自行
export ARK_API_KEY
Resources
scripts/
yellow-humanoid_transform.py— 豆包 Seedream API 调用脚本,封装了 Base64 编码、API 调用、结果下载全流程
assets/
yellow-humanoid-reference.png— 黄色类人角色参考图(上半身正面 + 三视图拼接),是黄色类人造型"标准答案"。脚本会把它作为多图参考的第一张传入 API,决定黄色类人的主体结构(无脖子、小眼、圆身体)。- SkillHub/Marketplace 上传时:如果平台不允许二进制文件,可以删除整个
assets/文件夹,脚本会自动 fallback 到references/yellow-humanoid-reference-base64.md。
references/
prompt-template.md— 极简 prompt 模板yellow-humanoid-reference-base64.md— 黄色类人参考图的 Base64 内嵌版。用于 Marketplace 纯文本上传场景;本地运行时有assets/图片则不会用到它。
版本:v2.2 最后更新:2026-07-23 变更:
- 生图后端迁移到豆包 Seedream 5.0 Lite API
- 修正多图参考顺序:黄色类人参考图放第一位(主体结构),A 图放第二位(服装/背景)
- prompt 策略改为"极简",让参考图主导黄色类人长相
- 新增约束:领口放宽 + 衣服下摆加长加宽包住大圆肚子(肚子不外露)
- 新增输入预处理:用户说"奶龙"时自动替换为"黄色类人"再处理
- 新增 SkillHub/Marketplace 兼容方案:
references/yellow-humanoid-reference-base64.md+ 脚本自动 fallback 解码 -r参数改为默认auto,支持无 assets 图片运行
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供将图片主体转换为黄色类人形象的创意功能,适用于表情包、二次元风格生成等娱乐场景
- 支持奶龙关键词自动替换为黄色类人,扩展了触发灵活性
Highlights
- 触发词覆盖全面,包含多种表达方式和引用参考图场景
- 边界清晰,不易与其他图像生成类 Skill 混淆
Highlights
- 文档结构完整,包含前置条件、使用场景、详细工作流和关键原则
- 提供了清晰的参数说明和示例,便于用户理解和执行
Areas to improve
-
主要异常未处理 Reported severity: Major
未提及 API 调用失败、网络异常、图片格式不支持、认证失败等场景的错误处理机制
Recommendation: 建议在脚本和文档中增加异常捕获与用户友好提示,如 API 限流、图片解码失败等情况
Highlights
- 依赖管理清晰,API Key 通过环境变量配置,避免硬编码
- 提供了 SkillHub/Marketplace 兼容方案,支持无 assets 图片运行
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.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 18 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 21, 25, 116
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.
- console.volcengine.com
Security rating and access scope
risk · 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.