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

How to give a portrait a film or camera-device look with XXG Portrait Rebuild Light

Apply a color grade and capture response such as 35mm negative or instant film while keeping the view and focus.

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

Who it is forA content creator or stylist who wants a portrait to match a specific film stock or camera style for a series or campaign.

The problemA portrait needs a consistent retro or device-specific look, but the edit must not move the camera or change the focus.

The outcomeA portrait with one color grade and one capture response applied, with viewpoint, perspective, crop, and depth of field left as in the source.

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. Read the G color grade and D capture profile tables in the repo at https://github.com/moskoo/xxg-portrait-rebuild-light.
  2. Choose the look you want, such as G7 for a restrained 1970s print response or D3 for 35mm color negative.
  3. Tell the agent to keep viewpoint, perspective, crop, focal plane, and depth of field unless you ask for optical-restyle.
  4. Compare the result with the source for skin tone and background color, and check that the grain is absent unless you asked for it.

Prompt for your agent

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.

Caveat. Grain, borders, and disposable-camera defects are opt-in in the README, so you must ask for them explicitly if you want them.

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