mcpField
M
muapi-action-figure-generator

muapi-action-figure-generator

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

关于 muapi-action-figure-generator

muapi-action-figure-generator 是一项通过 muapi CLI 将人物照片转成定制 3D 动作人偶的技能,并为人偶生成收藏玩具包装。适合制作主题化角色玩具图像的用户,可指定人偶主题。

主要功能

  1. 01依据人物照片生成 3D 人偶
  2. 02保留人物外貌特征
  3. 03添加收藏玩具包装设计
  4. 04自定义人偶主题

适用场景

  1. 01将个人照片制作为动作人偶图
  2. 02制作超级英雄或科幻主题玩具图
  3. 03为不同角色主题生成变体

安装

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

$npx skills add https://github.com/samuraigpt/generative-media-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