mcpField
M
muapi-ugc-lifestyle-try-on

muapi-ugc-lifestyle-try-on

github.com/samuraigpt营销与增长25660 次安装4 周前更新
代码仓库

关于 muapi-ugc-lifestyle-try-on

muapi-ugc-lifestyle-try-on 是面向营销内容创作的图像生成流程,可根据产品图片生成试穿或使用场景,再制作生活方式变体。它提供模型、场景和平台等输入选项。

主要功能

  1. 01根据产品图生成试穿或使用图
  2. 02提供服装与非服装生成路径
  3. 03生成生活方式场景变体
  4. 04支持多种社交平台画幅

适用场景

  1. 01为社交媒体制作产品 UGC 图片
  2. 02展示服装或配饰的穿戴效果
  3. 03为产品图生成自然生活场景

安装

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

$npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-ugc-lifestyle-try-on

安装后在 Claude Code 中输入/muapi-ugc-lifestyle-try-on确认已加载。

详细介绍

UGC 生活方式试穿

生成 UGC(用户生成内容)风格的生活方式照片,展示人物穿着或使用你的产品——真实、亲切、贴合社交媒体风格的影像。

输入

名称类型必填默认值描述
product_nametext是—要展示的产品(例如“白色宽松连帽衫”“防蓝光眼镜”“皮质斜挎包”)。
product_imageimage_url是—用作试穿参考的产品图片或照片 URL。
model_descriptiontext否woman, 25-30 years old, natural look, diverse模特描述(例如“男性,健壮体型,20 多岁”“女性,丰满,30 多岁,暖色肤调”)。
settingtext否casual lifestyle, natural lighting场景和氛围(例如“都市街头风”“舒适的居家晨间日常”“健身房锻炼”“咖啡馆”)。
platformtext否instagram目标平台——"instagram"、"tiktok"、"pinterest"、"amazon"。

步骤

提交包含两个步骤的计划:

步骤 1 — 服装/产品试穿
  1. 生成试穿效果 — 如果产品是可穿戴服装,使用 muapi image edit(model=ai-dress-change),否则使用 muapi image edit(model=flux-kontext-pro-i2i):
    • 服装/可穿戴产品使用 ai-dress-change:
      • 产品:{{product_image}}
      • 提示词:{{model_description}} wearing the product naturally in a {{setting}} environment. Authentic UGC-style photo, candid pose, natural expression.
    • 配饰/非服装产品使用 flux-kontext-pro-i2i:
      • 提示词:{{model_description}} using/wearing {{product_name}} in a {{setting}}. The product from the reference image is clearly visible and featured. Natural UGC-style lifestyle photography, authentic candid feel.
    • 画面宽高比:Instagram 使用 4:5,TikTok 使用 9:16,Pinterest 使用 2:3
步骤 2 — UGC 生活方式变体
  1. 生活场景照片 — 使用步骤 1 的输出,通过 muapi image edit(model=gpt4o-edit)生成:
    • 提示词:Make this look like authentic UGC content — add realistic environment context for {{setting}}, adjust lighting to feel natural and unposed, subtle film grain, candid photography style. Keep product {{product_name}} clearly visible and well-lit.

生成后:

  • 展示试穿效果和生活方式变体
  • 提供生成包含不同姿势/场景的 3 张轮播图套组
  • 建议使用 kling-v3.0-pro-image-to-video 添加一段简短的 UGC 风格视频

备注

  • UGC 的效果在看起来“随手拍”时最好——避免过度精致或对称的构图。
  • 对于 TikTok/Reels,建议将效果最好的静态照片制作成视频。
  • 对于 Amazon,白色背景变体请参阅 amazon-product-listing 技能。

触发关键词

ugc、try on、lifestyle photo、model wearing、outfit photo、wear product、user generated、ugc content、lifestyle try on


执行 Agent 说明

  • 此配方由大模型编排:阅读各阶段内容,向用户收集任何缺失的输入,然后调用 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