# HairAI Text-to-Hairstyle Generator

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

Generates an AI-rendered hairstyle image from a text prompt description

## Facts

- Endpoint: POST https://hair.0xhardman.xyz/api/generate
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hairai-text-to-hairstyle-generator-81eedde0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OPQAXkNNQhm0eFLIwkS8F

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-text-to-hairstyle-generator-81eedde0 -d '<json body>'
```

Example prompt: Can you generate an AI hairstyle image for me? I want a shoulder-length wavy bob with curtain bangs, auburn color, and a natural effortless look.

## When to prefer this

Use this endpoint when you need to generate a hairstyle image purely from a text description, without any reference photo. Ideal for users who want to visualize a hairstyle concept they have in mind before committing to it, or for ideation and inspiration. If the user has a reference photo to transfer a style from, use the sibling transfer endpoint instead.

## Known failure modes

- Vague or ambiguous text prompt may produce unexpected or generic results
- Prompt containing unsupported content or style may be rejected
- Service unavailability returns HTTP 500 or timeout
- Payment of $0.1 USDC not completed via x402 protocol returns 402 Payment Required
- Extremely complex or contradictory descriptions may yield poor image quality

## How this service works

Generate AI hairstyle from text prompt

## Output

An AI-generated image depicting the hairstyle described in the text prompt, rendered visually so the user can preview the look.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hairai-text-to-hairstyle-generator-81eedde0/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)
