DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to restore natural skin texture in a smoothed portrait with XXG Portrait Rebuild Light

Replace plastic-looking skin with clean, low-contrast photographic microtexture while leaving lighting alone.

Short answer: Open the repo at https://github.com/moskoo/xxg-portrait-rebuild-light and read the texture-only fidelity and S and P recipe sections; then give the agent the portrait and say the request is texture-only, so the agent sets lighting, exposure, color, and atmosphere to their source defaults; ask the agent to choose one S skin scale code that fits the shot size, such as S1 for a medium shot or S2 for a high-resolution close-up. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

Who it is forA retoucher or creator whose portrait looks over-smoothed or waxy and needs skin fixed without changing the light.

The problemHeavy smoothing or AI generation has left plastic skin, and a full relight would change more than the skin.

The outcomeA portrait with healthy skin microtexture and the source lighting, color, focus, and depth of field kept as they were.

What you need first

  • An AI agent with image-generation or image-editing capability, since the README says the skill uses the current agent's own capability by default and needs no separate API
  • The source portrait image file, which the skill treats as the root base for color and identity
  • The skill instructions from https://github.com/moskoo/xxg-portrait-rebuild-light, read before running
  • A clear goal, such as a lighting change, a skin texture repair, or a film look

Steps

  1. Open the repo at https://github.com/moskoo/xxg-portrait-rebuild-light and read the texture-only fidelity and S and P recipe sections.
  2. Give the agent the portrait and say the request is texture-only, so the agent sets lighting, exposure, color, and atmosphere to their source defaults.
  3. Ask the agent to choose one S skin scale code that fits the shot size, such as S1 for a medium shot or S2 for a high-resolution close-up.
  4. Ask for P0 to keep the source diffuse and specular response, then check that pores, hair, and fabric detail are preserved and not exaggerated.

Prompt for your agent

Use the xxg-portrait-rebuild-light skill from moskoo/xxg-portrait-rebuild-light to run a texture-only skin repair on <path to portrait>, with S1 scale and P0 finish. Return the edited image, and verify that the lighting, color, and focus match the source while the skin looks clean and not plastic.

Caveat. The README says the skill keeps the source look for skin-only requests, but you still need to check the output yourself for over-sharpening or grain.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for moskoo/xxg-portrait-rebuild-light and "Restore natural skin texture in a smoothed portrait"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer