muapi-ugc-ads-workflow — скилл для Claude Code: UGC-видеореклама
Скилл собирает UGC-видеорекламу: объединяет селфи и фото товара, пишет сценарий и генерирует ролик 9:16.
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-ugc-ads-workflow -a claude-code
npx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a claude-codeЧто делает muapi-ugc-ads-workflow
Скилл ведёт агента по двум фазам. Сначала он берёт селфи человека и фото продукта, отправляет их в muapi image edit на модели gpt-image-2-text-to-image и получает кадр, где инфлюенсер держит товар в руках. Кадр вертикальный, 9:16 — под TikTok, Reels и Shorts. Дальше агент ищет в вебе сведения о продукте, пишет сценарий с таймкодами и запускает image-to-video на sd-2-omni-reference или veo3.1-image-to-video. На выходе — готовый ролик и текст сценария, чтобы вы могли записать свою озвучку или прогнать его через lipsync.
Обязательный вход только один — product_name. Картинки можно не прикладывать: скилл попросит их загрузить или предложит сгенерировать. Перед запуском нужен ключ MUAPI_API_KEY; если он не задан, сначала выполните muapi auth configure. Для моделей без CLI-алиаса скилл советует уходить на сырой эндпоинт через curl и ждать результат командой muapi predict wait <request_id>.
Оба этапа проходят через muapi CLI, поэтому без него скилл не заработает. Комбинированное изображение скилл показывает вам на утверждение до генерации видео — это повод проверить кадр, если товар должен выглядеть точно.
Какие задачи решает
- собрать вертикальный рекламный кадр из селфи и фото товара
- написать сценарий UGC-ролика с таймкодами
- сгенерировать видео из одного опорного изображения
- получить текст сценария для собственной озвучки
- подготовить ролик 9:16 под TikTok, Reels и Shorts
Примеры запросов агенту
- Сделай UGC-рекламу для Blume SuperBalm in plum, селфи и фото товара приложу
- Собери вертикальный ролик 9:16 из этих двух картинок и напиши сценарий
- Сгенерируй UGC-видео по этому товару, сценарий покажи отдельно
Как установить muapi-ugc-ads-workflow
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-ugc-ads-workflow -a claude-codenpx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a claude-code2Вручную: положить файлы
~/.claude/skills/ugc-ads-workflow/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ugc-ads-workflow/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a codex2Вручную: положить файлы
.agents/skills/ugc-ads-workflow/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a cursor2Вручную: положить файлы
.cursor/skills/ugc-ads-workflow/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills ugc-ads-workflow2Вручную: положить файлы
.github/skills/ugc-ads-workflow/SKILL.md1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a gemini-cli2Командой платформы
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/social/ugc-ads-workflowВручную: положить файлы
.devin/skills/ugc-ads-workflow/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill ugc-ads-workflow -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о muapi-ugc-ads-workflow
Как установить muapi-ugc-ads-workflow в Claude?
Выполните npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-ugc-ads-workflow -a claude-code. Скилл окажется в ~/.claude/skills/ugc-ads-workflow/SKILL.md.
Что делает muapi-ugc-ads-workflow?
Объединяет селфи и фото продукта в один кадр, пишет сценарий UGC-ролика и генерирует вертикальное видео 9:16.
Что нужно для работы скилла?
Ключ MUAPI_API_KEY и muapi CLI. Если ключ не задан, сначала выполните muapi auth configure.
Исходный текст
SKILL.md · MIT
---
slug: muapi-ugc-ads-workflow
name: muapi-ugc-ads-workflow
version: "1.0.0"
description: Create a User-Generated Content (UGC) video ad by combining a human selfie and a product image, then generating a video script and an animated ad.
acceptLicenseTerms: true
---
# UGC Ads Workflow
**Create a User-Generated Content (UGC) video ad by combining a human selfie and a product image, then generating a video script and an animated ad.**
## Inputs
| Name | Type | Required | Default | Description |
|:---|:---|:---|:---|:---|
| `product_name` | text | yes | — | The name of the product being advertised (e.g. "Blume SuperBalm in plum"). |
| `human_image` | image_url | no | — | A selfie or photo of the human influencer. |
| `product_image` | image_url | no | — | A clear photo of the product. |
## Steps
### Phase A — Image Combination
If `{{human_image}}` or `{{product_image}}` is not provided, ask the user to upload them or offer to generate them.
Once both images are available, submit the plan with ONE step to combine them:
1. **Image Generation** — `muapi image edit` (model=`gpt-image-2-text-to-image`):
- Reference Images: Use both `{{human_image}}` and `{{product_image}}`.
- Prompt: `A natural, candid UGC-style photo of the influencer from the first reference image holding and showcasing the product from the second reference image. The influencer is smiling genuinely at the camera, holding the product up. Natural indoor lighting, lifestyle aesthetic, high quality.`
- Aspect ratio: 9:16 (vertical for TikTok/Reels/Shorts).
Present the combined image to the user for approval.
### Phase B — Script & Video Generation
1. **Research & Scripting**: Use your web search tools to find details about `{{product_name}}` to understand its key benefits.
2. Based on the research, craft a UGC-style video script with timestamps, similar to this format:
*(0-2s) Influencer is holding the {{product_name}}, smiling genuinely to the camera.*
"Okay, so you know how I'm always looking for that perfect everyday product?"
*(2-7s) Influencer shows the product closer to the camera...*
"Well, I found it! This {{product_name}} is seriously so good."
*(7-12s) Influencer uses/applies the product.*
"It feels amazing and actually works."
*(12-15s) Influencer smiles, slightly pouts, and casually shrugs or nods in approval.*
"It’s totally become my go-to. You have to try it!"
3. **Video Generation**: Submit the plan using an image-to-video model (e.g. `sd-2-omni-reference` or `veo3.1-image-to-video`).
- Reference Image: The combined image from Phase A.
- Prompt: Use the visual actions from the script you generated. For example: `A UGC-style video. The influencer holds the {{product_name}}, smiling genuinely. She brings it closer to the camera to show the label, then applies it smoothly. She nods in approval and smiles. Natural movements, talking to the camera, lifestyle vlog style.`
- Aspect ratio: 9:16
After generating the video, present it along with the written script so the user can record their own voiceover or use a lipsync tool later.
## Trigger Keywords
`ugc ad`, `ugc video`, `influencer ad`, `product ad video`, `combine product and human`
---
## Notes for the Executing Agent
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
© SamurAIGPT · MIT · SamurAIGPT/Generative-Media-Skills