# HairAI Reference-Style Hairstyle Transfer

> HairAI Reference-Style Hairstyle Transfer is a paid API for AI agents from hair.0xhardman.xyz, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Transfers a hairstyle from a reference image onto a target face photo using AI

## Facts

- Endpoint: POST https://hair.0xhardman.xyz/api/generate-reference
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hairai-reference-style-hairstyle-transfer-3c36c5d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NafAAEtqu3I4eW5_FAFnP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hairai-reference-style-hairstyle-transfer-3c36c5d9 -d '<json body>'
```

Example prompt: Can you transfer the hairstyle from this celebrity photo [reference image] onto my selfie [target image]? I want to see how I'd look with that exact haircut.

## When to prefer this

Choose this endpoint when a user has a specific hairstyle reference image and wants to visualize that exact style on themselves or another person, as opposed to describing a style in text or requesting AI-curated recommendations.

## Known failure modes

- Reference image does not contain a clearly visible hairstyle — returns error or poor quality output
- Target face image has poor lighting or occlusion — results in degraded transfer quality
- Images are not accessible URLs or are in unsupported formats — returns 400 error
- AI model fails to detect faces in one or both images — returns error
- Payment not received or insufficient USDC — returns 402 Payment Required

## How this service works

Transfer hairstyle from reference image

## Output

Returns a generated image of the target person with the hairstyle from the reference image applied to them, produced by an AI hairstyle transfer model.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hairai-reference-style-hairstyle-transfer-3c36c5d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hair.0xhardman.xyz](https://www.zero.xyz/host/hair.0xhardman.xyz/llms.txt)
