본문으로 건너뛰기
Skillpedia
이미지 및 아이콘7.0k · #13700

portrait-clone

하는 일

이 스킬은 참고 이미지를 이미지 모델용의 고정된 JSON 프롬프트로 바꿉니다. 그래서 생성되는 이미지마다 같은 사람이 거의 똑같이 보이게 합니다. 여러 이미지에서 일관된 캐릭터가 필요한 제작자와 디자이너를 위한 스킬입니다.

사용하는 경우

  • ✓여러 생성 이미지에서 한 사람의 외모를 똑같이 재현하고 싶을 때.
  • ✓이미지 시리즈나 영상에 쓸 일관된 캐릭터가 필요할 때.
  • ✓생성된 이미지를 참고 사진과 비교한 뒤 프롬프트를 고치고 싶을 때.

스킬 링크

https://github.com/superdesigndev/treg/blob/main/.agents/skills/portrait-clone/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/superdesigndev/treg/blob/main/.agents/skills/portrait-clone/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 세 장의 제 캐릭터 사진을 고정된 프롬프트 하나로 만들어서, 같은 느낌의 이미지를 생성할 수 있게 해 주시겠어요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 참고 이미지를 살펴보고, 보이는 각 속성을 하나의 값으로 고정한 상세 JSON 프롬프트를 작성합니다. 나타나지 않아야 할 요소 목록도 넣고, AI 특유의 과한 꾸밈을 걷어내는 단계를 거쳐 JSON 블록만 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Portrait Clone

Convert n reference images (at least one contains a person) into ONE AIGC image prompt in JSON.

The single goal: pin down every variable an image model could otherwise choose, so the same prompt yields a nearly identical, non-AI-looking image on every run. Any detail left unspecified is a detail the model will randomize. Stability is measured by how little freedom the model has left.

Non-negotiables

  1. Lock everything. Every visible or inferable attribute gets exactly one concrete value. Never write "or", ranges ("20-30"), "e.g.", "optional", "[slot]", "various", "some", "natural-looking" without specifics, or any alternative.
  2. Lock absence too. Anything a model might add but the reference does not contain is stated explicitly as "none" (glasses, hat, earrings, bag, second person, text, logos, props, sweat, tattoos elsewhere) and also listed in negative_prompt.
  3. Fields are open-ended. The Schema below is a minimum floor, not a limit. Add any key, nested object or array needed to pin a variable. Prefer splitting one vague field into several precise sub-fields. More locked fields is always better than fewer.
  4. Always de-slopped. Every output, version and revision applies the full De-slop step, regardless of the reference's style, medium or polish.
  5. JSON only. Reply with exactly one ```json code block and nothing else. Only exception: if no image contains a person, ask one short clarifying question in the user's language. Generating the image is a separate step that runs only after the user approves the JSON (§ Generate through treg).
  6. Top-level constraints. critical_constraints and negative_prompt are top-level keys, right after prompt_id / prompt_language.
  7. Complete output. Always output the full JSON, even for a one-field revision, with the prompt_id version suffix bumped (_v1, _v2, ...).

Conventions

  • All JSON values in English.
  • Quantify whenever possible: degrees for rotation and tilt, cm for sizes and distances, mm for small details (nail length, liner flick, chain thickness), percent for framing, ratios for proportions, counts for countable things (rings, visible teeth, buttons, strands over each shoulder), hex for every color.
  • Left/right from the subject's own perspective ("her left wrist"); frame positions as "frame left" / "frame right".
  • Positions of small items are given by anatomical landmark ("sitting 2 cm below the collarbones", "over the right front hip pocket").

Workflow

1. Inventory (internal, never output)

For each image note: shot type (face close-up / half body / full body / detail / scene / style reference), aspect ratio and pixel size, capture medium (video frame grab, phone photo, DSLR, film scan, render), and which traits it shows reliably.

2. Choose the anchor image

Pose, framing, lighting, camera, aspect ratio and resolution come from ONE anchor: the image the user names, otherwise the clearest medium shot. All other images only refine identity traits (face, hair, body, outfit construction, jewelry, marks). When images conflict, trust the sharpest, most frontal, least compressed evidence. Motion blur, compression and lens distortion are not traits of the person. Traits not visible in any image are still locked: choose the single most plausible value consistent with the rest and state it definitively.

3. Variable audit — pin every one

Walk this list and give each item a concrete value (or "none" / "not visible"). Add any further variable the specific images introduce.

  • Subject: count of people, gender presentation, broad regional appearance (only if useful for rendering), apparent age as one number, height in cm, build (shoulder width, arm thickness, bust, waist-hip difference, hips), posture, weight distribution.
  • Face geometry: shape, length/width ratio, forehead height, cheekbone height and width, midface flatness, jaw angle, chin shape, philtrum length, eye spacing, face asymmetry details.
  • Eyes (highest drift risk — geometric): crease type and height, epicanthic fold, shape, tilt, size relative to face, height/width ratio, lid coverage, iris visibility fraction, open/blink state, smile deformation, iris hex, catchlight, liner length in mm, shadow, lash length and curl, under-eye.
  • Brows: shape, height above eye, thickness, hex, hair density, stray hairs.
  • Nose, mouth: nose bridge height and tip shape, nostril width; lip size, upper/lower ratio, colo
자주 묻는 질문

출력에 JSON 외의 내용이 들어가나요?

아니요. 스킬은 JSON 코드 블록 하나만 답하고 다른 내용은 쓰지 않도록 되어 있습니다.

없어야 할 요소를 왜 따로 적나요?

스킬은 이미지 모델이 명시하지 않으면 추가 요소를 넣는다고 설명합니다. 그래서 없어야 할 요소는 '없음'으로 명시합니다.

스키마에 필드를 더 추가할 수 있나요?

네. 스키마는 최소 기준이며, 고정하는 필드가 많을수록 더 좋습니다.

상세 정보

작성자의 원본 설명

Turn any n reference images (with at least one person) into one exhaustively locked, always de-slopped, JSON-only AIGC image prompt whose every variable is pinned so each generation is nearly identical. Use for replicating a person's look, extracting portrait features into a prompt, locking a character, or revising such a JSON after comparing a generated image to the reference.

repo: superdesigndev/treg

인기도

GitHub 스타
7.0k
순위
#13700
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬