关于 muapi-ugc-lifestyle-try-on
muapi-ugc-lifestyle-try-on 是面向营销内容创作的图像生成流程,可根据产品图片生成试穿或使用场景,再制作生活方式变体。它提供模型、场景和平台等输入选项。
主要功能
- 01根据产品图生成试穿或使用图
- 02提供服装与非服装生成路径
- 03生成生活方式场景变体
- 04支持多种社交平台画幅
适用场景
- 01为社交媒体制作产品 UGC 图片
- 02展示服装或配饰的穿戴效果
- 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_name | text | 是 | — | 要展示的产品(例如“白色宽松连帽衫”“防蓝光眼镜”“皮质斜挎包”)。 |
product_image | image_url | 是 | — | 用作试穿参考的产品图片或照片 URL。 |
model_description | text | 否 | woman, 25-30 years old, natural look, diverse | 模特描述(例如“男性,健壮体型,20 多岁”“女性,丰满,30 多岁,暖色肤调”)。 |
setting | text | 否 | casual lifestyle, natural lighting | 场景和氛围(例如“都市街头风”“舒适的居家晨间日常”“健身房锻炼”“咖啡馆”)。 |
platform | text | 否 | 目标平台——"instagram"、"tiktok"、"pinterest"、"amazon"。 |
步骤
提交包含两个步骤的计划:
步骤 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 的输出,通过
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 说明
- 此配方由大模型编排:阅读各阶段内容,向用户收集任何缺失的输入,然后调用
muapiCLI 命令。如果未设置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