muapi-product-ad-cinematic — скилл для Claude Code: создание рекламы
Создаёт короткую кинематографичную рекламу товара по фото и описанию бренда. Сначала предлагает выбрать один из четырёх вариантов кадра, затем собирает видео и музыку.
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-product-ad-cinematic -a claude-code
npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a claude-codeЧто делает muapi-product-ad-cinematic
Скилл превращает загруженное фото товара и описание настроения бренда в рекламный ролик. Сначала генерирует четыре варианта главного кадра с разным светом, палитрой, композицией и объективом, сохраняя геометрию продукта. После выбора пользователя кадр увеличивается, а затем анимируется; фоновая музыка создаётся параллельно.
Для работы нужны URL уже загруженного фото и текстовый brand_brief. Длительность ролика задаётся через duration_sec: значение по умолчанию — 6 секунд, допустимый диапазон — 5–10. До запуска команд требуется настроить MUAPI_API_KEY, если ключ ещё не задан. Это повод проверить стоимость: подтверждение финального шага оставлено пользователю, поскольку он обходится примерно в 80 cr.
Если генерация видео не сработает после переключения, скилл возвращает увеличенный кадр и музыку вместо ролика. Для некоторых моделей без псевдонима в CLI предусмотрен вызов API через curl и ожидание результата командой muapi predict wait.
Какие задачи решает
- создать варианты рекламного кадра по фото товара
- подобрать визуальный стиль под описание бренда
- анимировать выбранный кадр в короткий ролик
- добавить к ролику фоновую музыку
- вернуть статичный кадр с музыкой при сбое генерации видео
Примеры запросов агенту
- Сделай кинематографичную рекламу товара из этого фото. Описание бренда: luxury minimal.
- Создай product video на 5 секунд; настроение бренда — playful.
- Подготовь рекламный ролик по фото и описанию бренда, сначала покажи варианты главного кадра.
Как установить muapi-product-ad-cinematic
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-product-ad-cinematic -a claude-codenpx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a claude-code2Вручную: положить файлы
~/.claude/skills/product-ad-cinematic/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/product-ad-cinematic/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a codex2Вручную: положить файлы
.agents/skills/product-ad-cinematic/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a cursor2Вручную: положить файлы
.cursor/skills/product-ad-cinematic/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills product-ad-cinematic2Вручную: положить файлы
.github/skills/product-ad-cinematic/SKILL.md1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a gemini-cli2Командой платформы
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/motion/product-ad-cinematicВручную: положить файлы
.devin/skills/product-ad-cinematic/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о muapi-product-ad-cinematic
Как установить muapi-product-ad-cinematic в Claude Code?
Выполните npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-product-ad-cinematic -a claude-code. Альтернативный идентификатор из команды установки: npx skills add SamurAIGPT/Generative-Media-Skills --skill product-ad-cinematic -a claude-code.
Что делает muapi-product-ad-cinematic?
Скилл создаёт четыре варианта главного кадра по фото товара и описанию бренда. После выбора кадра он увеличивает и анимирует его, а также создаёт фоновую музыку.
Что нужно подготовить для работы скилла?
Нужны URL уже загруженного фото товара и текстовое описание бренда. Для команд MuAPI требуется настроенный MUAPI_API_KEY; длительность ролика можно задать через duration_sec.
Исходный текст
SKILL.md · MIT
---
slug: muapi-product-ad-cinematic
name: muapi-product-ad-cinematic
version: "1.0.0"
description: Cinematic 5–10s product ad from a product photo + brand brief.
acceptLicenseTerms: true
---
# Cinematic Product Ad
**Cinematic 5–10s product ad from a product photo + brand brief.**
## Inputs
| Name | Type | Required | Default | Description |
|:---|:---|:---|:---|:---|
| `product_image` | image_url | yes | — | URL of the product photo (must already be uploaded). |
| `brand_brief` | text | yes | — | Mood / style direction (e.g. "luxury minimal", "playful"). |
| `duration_sec` | int | no | 6 | Final video length in seconds (5–10). |
## Steps
This skill has TWO phases separated by a user pick. Submit them as two
separate the plan calls — never bundle downstream steps into the
first plan.
### Phase A — variant exploration (cheap)
Submit ONE the plan containing only:
1. **Hero frame variants** — 4 separate `muapi image generate` nodes
(model=nano-banana-2, aspect_ratio=16:9 by default).
- Each prompt restyles the product against the brand brief mood. Vary
lighting, palette, framing, and lens between variants. Keep product
geometry intact.
- Reference the user's `product_image` if the model supports image
conditioning; otherwise describe the product in detail.
After the plan executes, end your turn with a brief message listing the 4
asset_ids and asking the user which one to take forward (e.g.
"Pick a hero (asset_1, asset_2, asset_3, or asset_4)?"). Wait.
### Phase B — commit on the picked hero (expensive)
Once the user replies with their pick, submit a SECOND the plan:
1. **Upscale** the picked frame — `enhance_image` (operation=upscale).
2. **Animate** the upscaled frame — `muapi video from-image` (model=kling-v3.0-standard-image-to-video,
duration={{duration_sec}}, prompt="slow cinematic push-in, soft
volumetric light, subtle product micro-rotation"). Reference the
upscale's URL with `$nX.url`.
3. **Background music** — `muapi audio create` (kind=music) — runs in parallel
with the upscale/animate. Style derived from `brand_brief` (luxury →
"ambient cinematic, warm strings, slow tempo, instrumental"). Duration
≈ video length.
4. Return the upscaled hero image and the final video.
## Notes
- If the brief mentions "luxury", bias the palette to gold/black; for "playful",
bias to bright/saturated.
- If video gen fails after failover, fall back to a still-frame slideshow
(just return the upscaled hero + music).
- Don't auto-confirm step 4 — its cost (~80 cr) deserves a user nod.
## Trigger Keywords
`product ad`, `commercial`, `cinematic ad`, `product video`
---
## 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