室友桌宠

用AI生成一个桌面宠物程序,把照片里的6个人变成猴子一样在屏幕上爬来爬去的小人,能跟窗口边框互动。

看到个挺有意思的贴分享一下哦,对应提示词可以改下用。哈哈😄

原帖链接

https://x.com/wangdefou/status/2081185268263182791

提示词

Create an exe desktop pet application, extracting the images of the 6 people in the picture. When generating the program, have these people acting like a group of monkeys, crawling and playing all over the screen, with each one imitating monkey crawling. Retain each person’s original facial features, hairstyle, and clothing characteristics, remove the bottles and naturally fill in the hands as well as any obscured parts. When I open this application, these people can crawl and play on the desktop, and also interact with the edges of desktop applications and windows as obstacles for their play. Please articulate my intent, and execute only after I confirm.

翻译过来

请创建一个可执行的桌面应用程序。该程序需要从图片中提取出 6 个人的图像。在程序运行时,让这 6 个人表现得像一群猴子一样,在屏幕上爬来爬去、玩耍。每个人物都应保持其原有的面部特征、发型和穿着风格。同时,需要去除图片中的瓶子等物品,同时自动补全人物的手部形状以及那些被遮挡的部分。当我打开这个应用程序后,这些人物就可以在桌面上自由活动,还可以与桌面应用程序和窗口的边缘发生互动,把它们当作玩耍的障碍物。请先明确我的要求,待我确认后再开始执行。

使用方式

这是给AI(比如OpenAI Codex、Claude等)的提示词,操作步骤:

  1. 准备一张6人合影,最好背景干净、人物清晰
  2. 把这段提示词+图片一起发给支持生成代码的AI
  3. AI会确认理解你的意图,回复确认后它开始生成
  4. 输出的是可执行的exe文件,Windows上直接双击运行

注意点:提示词里写了”请阐明我的意图,等我确认后再执行”,所以AI会先复述一遍你要做什么,你回复”确认”或”是的”之后它才真正开始写代码。