DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

  • 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page