What do you want to do?
4 use cases
-
Relight a flat or weak backlit portrait
Rebuild key light, shadows, and highlights in an existing portrait without redrawing the person.
- XXG Portrait Rebuild Light
- Content
- Intermediate
View prompt
Using the xxg-portrait-rebuild-light skill from moskoo/xxg-portrait-rebuild-light, relight the portrait at <path to source image> with soft natural window light, choosing one L light code and one E exposure code. Return the edited image, and verify that the face size, position, pose, and camera view match the source.
-
Restore natural skin texture in a smoothed portrait
Replace plastic-looking skin with clean, low-contrast photographic microtexture while leaving lighting alone.
- XXG Portrait Rebuild Light
- Content
- Intermediate
View prompt
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.
-
Give a portrait a film or camera-device look
Apply a color grade and capture response such as 35mm negative or instant film while keeping the view and focus.
- XXG Portrait Rebuild Light
- Content
- Intermediate
View prompt
Using the xxg-portrait-rebuild-light skill from moskoo/xxg-portrait-rebuild-light, apply G7 color grade and D3 capture response to the portrait at <path to portrait>, keeping viewpoint and depth of field. Return the edited image, and verify that the crop, focus, and skin tone match the source apart from the requested grade.
-
Pull a multi-round AI portrait edit back to its root
Remove accumulated color drift, noise, and seams after repeated AI edits by comparing against the first source.
- XXG Portrait Rebuild Light
- Content
- Advanced
View prompt
Use the xxg-portrait-rebuild-light skill from moskoo/xxg-portrait-rebuild-light to run a Q5 consolidation on <path to latest edit>, using <path to root source image> as the root base. Return one consolidated image, and verify that identity and unchanged colors match the root while the banding and seams are gone.
How to use XXG Portrait Rebuild Light
- Check you have what it needs: 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.
- Open moskoo/xxg-portrait-rebuild-light on GitHub and read the README and license.
- Open https://github.com/moskoo/xxg-portrait-rebuild-light and read the skill instructions and the L and E recipe tables.
- Give the agent the source portrait and state the light you want, for example soft natural window light or natural backlight.
- Let the agent choose one L light code and one E exposure code, and check that the prompt uses the four core lines EDIT, LIGHT, SKIN, and AVOID.
- Review the returned image for changed facial structure, pose, or framing.
These steps come from our top use case, Relight a flat or weak backlit portrait, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeXXG Portrait Rebuild Light alternatives · Best AI repos for Content
About this repo
- Who it is forPhotographers, retouchers, and creators with an AI agent that can edit images who need to fix or restyle lighting and skin in an existing portrait.
- Why it is hot
- LanguagePython
- Sourcegithub.com/moskoo/xxg-portrait-rebuild-light · Back to Hot repos
Requirements
- 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
Maintain XXG Portrait Rebuild Light? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/moskoo-xxg-portrait-rebuild-light/?ref=badge)
Questions about XXG Portrait Rebuild Light
What is XXG Portrait Rebuild Light?
xxg-portrait-rebuild-light is a Python image-edit skill that relights existing portrait photos and repairs skin texture while keeping the person's identity, pose, and framing. It is an open-source project on GitHub: https://github.com/moskoo/xxg-portrait-rebuild-light.
Who is XXG Portrait Rebuild Light for?
Photographers, retouchers, and creators with an AI agent that can edit images who need to fix or restyle lighting and skin in an existing portrait.
What can I do with XXG Portrait Rebuild Light?
4 use cases so far, for example: Relight a flat or weak backlit portrait; Restore natural skin texture in a smoothed portrait; Give a portrait a film or camera-device look. Each has steps and a copy-paste agent prompt.
What do I need to run XXG Portrait Rebuild Light?
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.
What are alternatives to XXG Portrait Rebuild Light?
Other hot AI repos in Content: Voice Studio, Anatomy, Comfy UI, Hyperframes, Earshot.
Is XXG Portrait Rebuild Light safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.