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

How to pull a multi-round AI portrait edit back to its root with XXG Portrait Rebuild Light

Remove accumulated color drift, noise, and seams after repeated AI edits by comparing against the first source.

  • Content
  • Advanced
  • 45 minutes
  • From the README
  • Any agent

Who it is forA creator or agent operator who has run several AI edit rounds on one portrait and now sees color shifts, seams, or banding.

The problemEach round of editing adds drift, sharpening, compression, and seams, so the image no longer matches the original subject.

The outcomeA consolidated portrait that uses the first root base as the color and identity reference while keeping intended new changes.

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. Keep the first source image as the root base and make it available to the agent alongside the latest edit.
  2. Read the Q4 and Q5 quality repair entries in the repo at https://github.com/moskoo/xxg-portrait-rebuild-light.
  3. Ask the agent to run Q5 to consolidate the edit against the root base, or Q2 and Q3 if you only see banding or seams.
  4. Check that intended changes from earlier rounds remain and that the identity and colors match the root base.

Prompt for your agent

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.

Caveat. The skill repairs only artifacts you can observe, so you still need to inspect each round to name the defects before asking for a Q code.

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