TwKit
正在载入
TwKit

#open-bot-avatar 4步拥有grok bot同款头像 1.访问:https://dominikscholz.github.io/open-bo… · @qwjcool · TwKit

@qwjcool

#open-bot-avatar 4步拥有grok bot同款头像 1.访问:https://dominikscholz.github.io/open-bot-avatar/ 2.在generate tab中输入你要生成的内容,并且点击Open in (T3,Codex,Claude Code) 比如:a radish 3.在你的Agent直接运行自动复制过来的提示词,并把记过复制到import tab,然后点击add avator 4.然后在生成的头像下面,点击Copy Link,然后把链接交给你的智能体,然后问它怎么在你的代码中使用,你得到类似代码的示例,或者让agent直接加到你的代码中 ``` import { mountAvatar } from "open-bot-avatar/dom"; const avatar = mountAvatar(document.querySelector("#bot"), { definition: avatarDefinition, // 在刚才界面上导出的JSON文件 color: "#ff6a1a", followPointer: true, mood: "idle", }); avatar.update({ mood: "happy" }); ```

曝光 156 · 评论 5 · 点赞 6 · 书签 0

查看原帖