跳到主要内容
知仓学习社ZHICANG

muapi-photo-pack-generator

Generate a pack of professional or aesthetic photos from a single reference image while preserving the exact identity of the person.

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少2 个文本文件,21 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

📸 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

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径plugins/SamurAIGPT/Generative-Media-Skills/library/visual/photo-pack-generator/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 1910 个技能