mcpField
M
muapi-action-figure-generator

muapi-action-figure-generator

github.com/samuraigpt创意与媒体863 次安装4 周前更新
代码仓库

关于 muapi-action-figure-generator

这项技能通过 Muapi 命令行将人物照片转成带收藏玩具包装的主题 3D 公仔,适合制作个性化玩具风格图片。

主要功能

  1. 01根据照片生成公仔
  2. 02自定义玩具主题
  3. 03设计收藏玩具包装
  4. 04支持 1:1 或 4:5 比例

适用场景

  1. 01将肖像制作成超级英雄公仔
  2. 02制作主题礼物图片
  3. 03尝试不同角色服装

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/samuraigpt/muapi-skills --skill muapi-action-figure-generator

安装后在 Claude Code 中输入/muapi-action-figure-generator确认已加载。

详细介绍

动作人偶生成器

将人物照片转换为定制 3D 动作人偶,并配上收藏级玩具包装。

输入

名称类型必填默认值描述
user_imageimage_url是—一张清晰的人物照片,用于制作动作人偶。
toy_themetext否superhero动作人偶的主题(例如,超级英雄、医生、探险家、科幻)。

步骤

阶段 A — 动作人偶制作

如果未提供 {{user_image}},请让用户上传照片。

获取照片后,提交包含一个步骤的计划来生成动作人偶:

  1. 动作人偶生成 — muapi image edit(model=nano-banana-2-edit):
    • 参考图像:{{user_image}}
    • 提示词:A high-quality 3D stylized action figure based on the person in the input image. The action figure should maintain the person's likeness (face, hairstyle, skin tone) but be rendered as a plastic toy with visible joints and a semi-glossy finish. The character is dressed in a {{toy_theme}} outfit. The figure is displayed inside its original collectible cardboard and plastic blister packaging. The packaging has the person's name printed on it and features clean, modern graphic design. Soft studio lighting, realistic plastic textures, 8k resolution, cinematic look.
    • 宽高比:1:1 或 4:5

向用户展示生成的动作人偶。你还可以建议尝试不同的主题(例如,将角色从医生改为太空探险家)。

触发关键词

action figure、custom toy、toy packaging、character toy、collectible figure


执行 Agent 注意事项

  • 此流程由 LLM 编排:阅读各阶段内容,向用户收集缺失的输入,然后调用 muapi CLI 命令。如果未设置 MUAPI_API_KEY,请先运行 muapi auth configure。
  • 对于尚无 CLI 别名的模型 ID,请使用 curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}' 调用原始端点,并使用 muapi predict wait <request_id> 轮询。
  • 发出每次调用前,将 {{input_name}} 占位符替换为用户的实际输入。

评论

支持 Markdown