跳到正文
Simon Willison 博客· Simon Willison·· 2026-07-15AI 评分63

Simon Willison 在 Codex Desktop 中创建自定义宠物“Pedalican”

simonw/pedalican

AI 导读

Simon Willison 在 Codex Desktop 中意外激活了一个类似 Clippy 的动画机器人“宠物”,随后发现可以自定义创建。他通过 GPT-5.6 Sol xhigh 模型描述需求,并借助 gpt-image-2 多轮生成精灵素材,最终制作出一只骑自行车的小鹈鹕“Pedalican”,在桌面上弹跳并更新 Codex 任务状态。关键实现细节已开源,包括 openai/skills 下的 hatch-pet 和 openai/codex 下的 imagegen 两个技能,均采用 Apache 2.0 许可。

正文 · 原文

Simon Willison’s Weblog

14th July 2026 - Link Blog

simonw/pedalican. Clearly I wasn't paying attention when these were first announced back in May, but today I accidentally activated a "pet" in Codex Desktop - a little animated robot, reminiscent of Clippy - and then learned you can create your own.

So I did, and now I have a cute little pelican on a bicycle bouncing around my desktop giving me updates on my Codex tasks.

视频封面视频 · 前往原文观看

The most interesting thing about this process was watching how the custom pet was created. I told it I wanted a custom pet that was a pelican riding a bicycle and GPT-5.6 Sol xhigh did the rest of the work, using several rounds with gpt-image-2 to generate the necessary sprite assets.

I had it make extensive notes and record all of the intermediary steps. My GitHub repo includes every generated image and combined sprite sheet, plus GIFs for each of the animation loops such as this one, called waving.gif:

That GIF was compiled from a single image generated by gpt-image-2 that looked like this:

And that image was created by executing this prompt against the initial generated character reference image, which was created with this prompt, which has this structure:

Create one clean full-body reference sprite for Codex pet Pedalican.

Pet identity: A compact adorable baby pelican with a round cream-white body, soft coral-orange bill and feet, riding a tiny sky-blue bicycle [...]

Place a single centered pose on a perfectly flat pure magenta #FF00FF chroma-key background. Keep the full pet visible, compact, readable at 192x208, and easy to animate. [...]

I've been looking out for ways to use image generation to create simple game-ready sprites, so I spent some time digging into this mechanism to see how it works.

The key implementation details are open source - these two skills in particular, both Apache 2.0 licensed:

And yes, GPT-5.6 Sol did come up with the name "Pedalican". I like it!

14th July 2026

来源:Simon Willison 博客 · simonwillison.net