gotchi-3d-custom-render
Use this skill when the user wants a custom 3D gotchi render from selected traits, wearable IDs, wearable names, or a named preset.
Plain-language requests should also route here, for example:
- - "render an ETH gotchi with common eyes, aagent hat, shades, shirt, headset, and pistol"
- "show me a custom gotchi portrait on a cream background"
- "make a gotchi outfit preview with wizard hat and blue wand"
- "give me a headshot of a hypothetical gotchi with shades and a fedora"
Do not wait for the user to explicitly say gotchi-3d-custom-render.
What this skill does
- - writes a structured render request JSON
- uses the hosted Aavegotchi renderer by default for official-style output
- falls back to the local Unity batch worker when hosted assets are unavailable
- returns:
- full-body PNG
- headshot PNG
- manifest JSON
- - supports friendlier presets, slot aliases, themed backgrounds, and render-mode selection
- wearable flags accept either numeric IDs or quoted wearable names
- supports plain-language outfit requests after routing picks this skill
Constraints
- - requires a local Unity editor installation
- hosted mode matches the existing Aavegotchi renderer look much more closely, but may ignore custom local-only pose behavior
- Unity fallback is still useful for hypothetical combinations or local debugging
- hosted mode can run on non-Unity hosts as long as
node, jq, and python3 with Pillow are available - intended for local development first, then AAi/Telegram integration through hosted mode
Routing Notes
- - Prefer this skill when the user describes a look, outfit, traits, wearables, background, portrait, headshot, or hypothetical gotchi.
- Prefer
aavegotchi-3d-renderer instead when the user gives a tokenId or inventory URL for an existing gotchi. - If the user gives both a tokenId and custom outfit instructions, clarify whether they want the real token render or a hypothetical custom loadout.
Entry points
- - main wrapper: INLINECODE5
- preset gallery helper: INLINECODE6
- direct Unity runner: INLINECODE7
- Unity project: INLINECODE8
Quick usage
From the skill root:
CODEBLOCK0
Default mode is hosted. Use --render-mode auto if you specifically want hosted-first with Unity fallback, or --render-mode unity for local-only rendering.
Outputs land in:
- - INLINECODE12
- INLINECODE13
- INLINECODE14
Input contract
Supported flags:
- - INLINECODE15
- INLINECODE16
- INLINECODE17
- INLINECODE18
- INLINECODE19
- INLINECODE20
- INLINECODE21
- INLINECODE22
- INLINECODE23
- INLINECODE24
- INLINECODE25
- INLINECODE26
- INLINECODE27
- INLINECODE28
- INLINECODE29
- INLINECODE30
- INLINECODE31
- INLINECODE32
- INLINECODE33
- INLINECODE34
- INLINECODE35
- INLINECODE36
- INLINECODE37
- INLINECODE38
- INLINECODE39
- INLINECODE40
Wearable flags can take either:
- - numeric IDs like INLINECODE41
- quoted names like INLINECODE42
Friendly Examples
CODEBLOCK1
Natural-language request examples this skill should handle:
- - "render a custom ETH gotchi with common eyes and an aagent pistol"
- "show me a gotchi with aagent hat, shades, shirt, and headset"
- "make a portrait gotchi on a studio cream background"
- "preview this outfit on an ETH gotchi with common eyes"
If you need to inspect the request shape or adjust it manually, read references/request-schema.md.
If you need the preset list or alias vocabulary, read references/presets.md.
When to read extra files
- - read
references/request-schema.md when you need the exact JSON payload layout - read
references/presets.md when you need preset names, background aliases, or friendlier slot names - read
references/wearables.tsv when you need the built-in wearable name catalog used on non-Unity hosts - read
unity/GotchiCustomRenderer/Assets/Editor/GotchiCustomRenderCLI.cs only when changing the Unity render behavior
gotchi-3d-custom-render
当用户希望根据所选特征、可穿戴装备ID、可穿戴装备名称或命名预设生成自定义3D gotchi渲染时,使用此技能。
自然语言请求也应路由至此,例如:
- - 渲染一个带有普通眼睛、aagent帽子、墨镜、衬衫、耳机和手枪的ETH gotchi
- 在奶油色背景上给我展示一个自定义gotchi肖像
- 用巫师帽和蓝色魔杖制作一个gotchi服装预览
- 给我一个带有墨镜和软呢帽的假设gotchi头像
无需等待用户明确说出gotchi-3d-custom-render。
此技能的功能
- - 编写结构化的渲染请求JSON
- 默认使用托管的Aavegotchi渲染器以获得官方风格输出
- 当托管资源不可用时,回退到本地Unity批处理工作器
- 返回:
- 全身PNG
- 头像PNG
- 清单JSON
- - 支持更友好的预设、插槽别名、主题背景和渲染模式选择
- 可穿戴装备标志接受数字ID或引号括起来的装备名称
- 路由选择此技能后支持自然语言服装请求
限制条件
- - 需要本地Unity编辑器安装
- 托管模式更接近现有Aavegotchi渲染器的外观,但可能忽略自定义的仅限本地的姿势行为
- Unity回退对于假设组合或本地调试仍然有用
- 只要安装了node、jq和带有Pillow的python3,托管模式可以在非Unity主机上运行
- 首先面向本地开发,然后通过托管模式集成到AAi/Telegram
路由说明
- - 当用户描述外观、服装、特征、可穿戴装备、背景、肖像、头像或假设gotchi时,优先选择此技能。
- 当用户提供现有gotchi的tokenId或库存URL时,优先选择aavegotchi-3d-renderer。
- 如果用户同时提供tokenId和自定义服装说明,请澄清他们想要真实token渲染还是假设的自定义装备。
入口点
- - 主包装器:scripts/render-custom-gotchi.sh
- 预设画廊助手:scripts/render-preset-gallery.sh
- 直接Unity运行器:scripts/run-unity-render.sh
- Unity项目:unity/GotchiCustomRenderer
快速使用
从技能根目录:
bash
bash scripts/render-custom-gotchi.sh \
--preset aagent-eth
默认模式为hosted。如果特别想要托管优先并回退到Unity,请使用--render-mode auto,或使用--render-mode unity进行仅本地渲染。
输出位于:
- - Renders/-full.png
- Renders/-headshot.png
- Renders/-manifest.json
输入约定
支持的标志:
- - --preset
- --slug
- --haunt-id
- --collateral
- --eye-shape
- --eye-color
- --skin-id
- --background
- --pose
- --body
- --face
- --eyes
- --head
- --pet
- --hand-left
- --hand-right
- --left-hand
- --right-hand
- --slot
- --wearables
- --print-presets
- --write-only
- --render-mode
- --hosted-only
- --unity-only
- --find-wearable
可穿戴装备标志可以接受:
- - 数字ID,如--head 59
- 引号括起来的名称,如--head Aagent Fedora Hat
友好示例
bash
bash scripts/render-custom-gotchi.sh --find-wearable aagent
bash scripts/render-custom-gotchi.sh --preset portrait-eth
bash scripts/render-custom-gotchi.sh --preset aagent-eth
bash scripts/render-custom-gotchi.sh --preset aagent-eth --render-mode auto
bash scripts/render-custom-gotchi.sh --body Aagent Shirt --face Aagent Headset --eyes Aagent Shades --head Aagent Fedora Hat --hand-right Aagent Pistol
bash scripts/render-custom-gotchi.sh --wearables head=56,hand-right=58 --bg gotchi-radio --pose hero
bash scripts/render-custom-gotchi.sh --slot hat=56 --slot weapon=58 --background transparent
bash scripts/render-preset-gallery.sh
bash scripts/render-preset-gallery.sh --preset aagent-eth --preset portrait-eth --gallery-name quicklook
bash scripts/render-preset-gallery.sh --preset aagent-eth --preset portrait-eth --gallery-name quicklook --skip-failures
bash scripts/render-preset-gallery.sh --preset aagent-eth --gallery-name quicklook --open
此技能应处理的自然语言请求示例:
- - 渲染一个带有普通眼睛和aagent手枪的自定义ETH gotchi
- 给我展示一个带有aagent帽子、墨镜、衬衫和耳机的gotchi
- 在工作室奶油色背景上制作一个肖像gotchi
- 在带有普通眼睛的ETH gotchi上预览这套服装
如果需要检查请求结构或手动调整,请阅读references/request-schema.md。
如果需要预设列表或别名词汇,请阅读references/presets.md。
何时阅读额外文件
- - 当需要精确的JSON负载布局时,阅读references/request-schema.md
- 当需要预设名称、背景别名或更友好的插槽名称时,阅读references/presets.md
- 当需要在非Unity主机上使用的内置可穿戴装备名称目录时,阅读references/wearables.tsv
- 仅在更改Unity渲染行为时,阅读unity/GotchiCustomRenderer/Assets/Editor/GotchiCustomRenderCLI.cs