# Product Photo Recolour

> Convert garment photos to new colourways using real-world shading curves and automated skin-tone protection.

Product Photo Recolour is a paid AI agent skill on Agensi by Jeff Cannon, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $24 (one-time purchase)
- Creator: [Jeff Cannon](https://www.agensi.io/creators/jeff-cannon)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/product-photo-recolour
- Tags: api, python, image-processing, ecommerce, product-photography

## About this skill

Launched a new colour but have no photos of it yet? This skill recolours your existing studio shots of the same garment into the new colourway, so you can list it while real photos are scheduled. Built for a real apparel launch at Yoga Democracy: 12 listing-ready images across three styles, no photoshoot.

### What it does
- **Learns the real colour, not a hex code.** Extracts how the new colour shifts from shadow to highlight in reference photos of the actual fabric, so folds and seams keep their depth instead of looking painted.
- **Keeps colour off skin.** Measures the hue gap between fabric and skin on *your* photos (Lab colour space) and sets the thresholds from that. If there is no safe gap, it tells you instead of guessing.
- **Leaves shoes and floors alone.** Faint bounce light from the garment onto white sneakers or the floor isn't recoloured.
- **Removes a necklace or pendant** lying across the fabric (inside a box you mark), so jewellery doesn't change colour with the top.
- **Writes a QA sheet per image:** zoomed before/after crops of hands, armpits, straps, shoes and hairline. Reviewing them is a required step.

### How it works
1. `learn_colour.py`: build a colour model from 1+ reference photos of the new colour.
2. `measure_hues.py`: measure garment vs skin hue on your source photos and save the parameters.
3. `remove_jewellery.py` (optional): clear jewellery inside a marked box.
4. `recolour.py`: recolour, and write full-res output, a mask and the QA sheet.

Runs locally in Python (numpy, Pillow, scikit-image, scipy, OpenCV). No image-generation API, no per-image cost, and it keeps the real geometry of your photo.

### Honest limits
- **Solid colours only.** Not for prints, heathers or multi-colour garments.
- **Colours close to skin tone** (tan, peach, coral, brown, some reds/pinks) may have no safe hue gap; you'll need a hand-made mask.
- **You need real photos of the target colour.** A hex code alone looks painted.
- **Small leftovers can remain** (fingertip contact points, straps running into hair). The QA sheet is there to catch them.
- It produces a colour mock-up. Screen colour is approximate, and some marketplaces require photos of the actual item.

## Requires

- Python

## Known limitations

No support for patterns. Reference photos of the new colour are required. Difficulties with hues close to skin tones (tan, peach, coral) without manual masks.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Product Photo Recolour skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from standard AI image generation or simple colour overlays?

This skill creates listing-ready product mock-ups by converting existing garment photos into a new colourway. It learns real shading curves from physical reference photos to ensure folds and textures remain authentic rather than looking like flat, unrealistic colour overlays.

### What files do I need to provide to get a realistic recolour?

You must provide source photos of the garment in the original colour and at least one real reference photo of the new fabric under similar lighting. This skill cannot produce high-quality results from a hex code alone because it needs to model the actual shadow-to-highlight ramps of the physical material.

### Are there any specific types of clothing or colours that this skill cannot handle?

This skill is designed for solid-colour products and does not support patterned or multi-colour garments. Additionally, colours very close to skin tones such as tan, peach, or terracotta are difficult to separate and may require manual masking to prevent the colour from bleeding onto the model.

### What kind of quality control outputs does the skill generate?

Beyond the full-resolution recoloured images, you receive a detailed QA contact sheet. This sheet provides zoomed-in views of high-risk areas like hair-lines, armpits, and fabric edges so you can verify the quality before the images go live.

### Can this skill handle distracting elements like necklaces or reflections on the floor?

Yes, the skill includes a specific process to identify and remove jewellery or props from the garment before recolouring. It can also correct light bounce, which removes faint garment-coloured reflections that often appear on white studio floors or shoes in the original photos.

### How should I instruct my agent to begin the recolouring process?

Start by providing your source images and your reference photos of the new colour. You can then ask the agent to model the target colour, check the safety gap between the fabric and skin tones, and generate the final recoloured batch with QA sheets.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
