Hairstyle Tryon
Request
curl -X POST "https://tryiton.now/api/v1/tryon/hairstyle" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"face_image": "https://example.com/path/to/face.png",
"haircut": "TwinBraids"
}'fetch('https://tryiton.now/api/v1/tryon/hairstyle', {
method: 'POST',
body: JSON.stringify({
face_image: "https://example.com/path/to/face.png",
haircut: "TwinBraids"
}),
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
}
});import requests
response = requests.post(
"https://tryiton.now/api/v1/tryon/hairstyle",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"face_image": "https://example.com/path/to/face.png",
"haircut": "TwinBraids"
}
)Request Parameters
Required Parameters





















































Optional Parameters




















Response Polling
Successful Response
Runtime Errors
The Error Object
Last updated