muapi-photo-pack-generator — скилл для Claude Code: фото-пак
Превращает одну референсную фотографию в набор тематических портретов, сохраняя лицо человека. Пригодится для деловых, лайфстайл и фэнтези-съёмок без фотосессии.
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-photo-pack-generator -a claude-code
npx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a claude-codeЧто делает muapi-photo-pack-generator
Скилл работает по принципу Identity Lock: агент не описывает человека словами, а берёт личность прямо из референса. В промпт зашиваются запреты менять форму глаз, их посадку, нос, линию челюсти, скулы и пропорции лица. Из-за этого модель не рисует новое лицо, а переносит то же самое в другую сцену.
Перед генерацией агент разбирает референс, но только по сцене: наклон головы, ракурс, выражение, направление света, кадрирование. Возраст, этничность, причёску и телосложение он не трогает — иначе получится чужой человек. Дальше выбирается категория: LinkedIn, CEO, Tinder, OldMoney, Cyberpunk, Fitness, Travel, 90s, Holiday. Если вы не назвали категорию, агент предложит LinkedIn, Tinder или OldMoney.
Запуск идёт через bash scripts/generate-pack.sh с флагами --image, --category, --identity-lock и --num. Лучший результат даёт модель nano-banana-edit. Референс нужен обязательно — локальный файл, ссылка или загруженный файл. Без него шаг проверки не пройдёт.
Какие задачи решает
- сделать деловые портреты для профиля из одного селфи
- собрать лайфстайл-кадры для дейтинг-профиля
- получить серию фото в одной стилистике без студии
- перенести человека в фэнтези- или ретро-сцену, не потеряв лицо
- нагенерировать праздничные и тревел-снимки под сезон
Примеры запросов агенту
- Сгенерируй пак фото в категории LinkedIn из ./my_face.jpg, 5 штук
- Сделай фото-пак OldMoney из этой ссылки на фото, identity lock включён
- Предложи категорию и собери тревел-пак из моего референса
Как установить muapi-photo-pack-generator
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-photo-pack-generator -a claude-codenpx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a claude-code2Вручную: положить файлы
~/.claude/skills/photo-pack-generator/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/photo-pack-generator/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a codex2Вручную: положить файлы
.agents/skills/photo-pack-generator/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a cursor2Вручную: положить файлы
.cursor/skills/photo-pack-generator/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills photo-pack-generator2Вручную: положить файлы
.github/skills/photo-pack-generator/SKILL.md1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a gemini-cli2Командой платформы
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/visual/photo-pack-generatorВручную: положить файлы
.devin/skills/photo-pack-generator/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill photo-pack-generator -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о muapi-photo-pack-generator
Как установить muapi-photo-pack-generator в Claude?
Выполните npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-photo-pack-generator -a claude-code. Скилл окажется в ~/.claude/skills/photo-pack-generator/SKILL.md.
Что делает muapi-photo-pack-generator?
Берёт одну референсную фотографию и генерирует набор тематических изображений с тем же лицом. Стиль меняется, личность остаётся.
Какая модель даёт лучший результат?
В описании скилла указана nano-banana-edit. Она лучше держит идентичность при смене сцены.
Исходный текст
SKILL.md · MIT
--- name: muapi-photo-pack-generator version: 0.1.0 description: Generate a pack of professional or aesthetic photos from a single reference image while preserving the exact identity of the person. --- # 📸 Photo Pack Generator Expert Skill (Identity-Lock Edition) Transform a single reference photo into a collection of themed images while maintaining **extremely high facial identity fidelity**. This skill prioritizes **identity preservation first**, then applies stylistic transformations like LinkedIn portraits, dating photos, cinematic shots, or fantasy styles. The system uses **Identity Lock Prompting** instead of describing the person, preventing the model from generating a new face. --- # Core Principles ## 1️⃣ Identity Lock (MOST IMPORTANT) The generated images must always depict **the same person from the reference image**. All prompts MUST include identity lock instructions. Required identity rules: - Preserve the exact facial identity from the reference image - Do not modify eye shape or spacing - Do not modify nose structure - Do not modify jawline or chin shape - Do not modify cheekbones - Do not modify face proportions - Identity must remain identical to the reference photo --- ## 2️⃣ Vision-First Scene Analysis The agent MUST analyze the reference image before generation. However the analysis **must NOT describe the person** (age, ethnicity, hair etc). Allowed analysis fields: - head orientation - facial angle - expression - lighting direction - framing (portrait / half body / full body) Example: Head orientation: slight left tilt Expression: neutral friendly Lighting: soft frontal light Framing: head and shoulders portrait --- # Agent Execution Flow ## Step 1 — Grounding Check Ensure the user has provided a reference image. Supported inputs: - local image - URL - uploaded file --- ## Step 2 — Vision Analysis Extract scene attributes only. DO NOT describe: - age - ethnicity - beard - hair - body type Identity must come directly from the image. --- ## Step 3 — Category Selection If the user does not specify a category suggest: - LinkedIn - Tinder - OldMoney --- ## Step 4 — Prompt Construction Use the reference image as the identity source. Preserve the exact facial identity from the reference image. Identity must remain identical to the reference photo. Do not change: - eye shape - eye spacing - nose structure - jawline - cheekbones - face proportions Maintain similar head orientation as the reference. Scene example: Outdoor café portrait Soft natural daylight 35mm portrait lens Shallow depth of field Photorealistic skin texture --- ## Step 5 — Negative Prompt Always include: different person altered face changed facial features new identity generic face beautified face plastic skin face distortion --- ## Step 6 — Execution Example: bash scripts/generate-pack.sh \ --image "./my_face.jpg" \ --category "LinkedIn" \ --identity-lock true \ --num 5 --- # Supported Categories | Category | Best For | Aesthetic | |---|---|---| | LinkedIn | Professional | Studio | | CEO | Founders | Office | | Tinder | Dating | Lifestyle | | OldMoney | Luxury | Estate | | Cyberpunk | Fantasy | Neon | | Fitness | Gym | Athletic | | Travel | Social | Bali/Paris | | 90s | Retro | Vintage | | Holiday | Seasonal | Festive | --- # Guardrails ## Fidelity First Identity preservation is always more important than style. ## Never Re-Describe the Person Avoid prompts like: "Indian man in his 20s with short hair" This causes the model to generate a **new face**. Identity must come from the **reference image only**. --- # Recommended Models Best results with: - nano-banana-edit --- # Result This system produces: - consistent identity - photorealistic images - multi-style photo packs - professional outputs
© SamurAIGPT · MIT · SamurAIGPT/Generative-Media-Skills