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

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.

Short answer: Read the G color grade and D capture profile tables in the repo at https://github.com/moskoo/xxg-portrait-rebuild-light; then choose the look you want, such as G7 for a restrained 1970s print response or D3 for 35mm color negative; tell the agent to keep viewpoint, perspective, crop, focal plane, and depth of field unless you ask for optical-restyle. All steps.

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

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for moskoo/xxg-portrait-rebuild-light and "Give a portrait a film or camera-device look"

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