wty-ustc/hairclip 🖼️❓📝 → 🖼️
About
Design Your Hair by Text and Reference Image
Example Output
Output
Performance Metrics
12.45s
Prediction Time
12.63s
Total Time
All Input Parameters
{
"image": "https://replicate.delivery/mgxm/b8be17a7-abcb-4421-80f2-e6a1e3fe38c7/MarkZuckerberg.jpg",
"editing_type": "both",
"color_description": "blond",
"hairstyle_description": "hi-top fade hairstyle"
}
Input Parameters
- image (required)
- Input image. Image will be aligned and resized. Output will be the concatenation of the inverted input and the image with edited hair.
- editing_type
- Edit hairstyle or color or both.
- color_description
- Color text prompt, eg: purple, red, orange. Valid if editing_type is color or both.
- hairstyle_description
- Hairstyle text prompt. Valid if input_type is text or text_image.
Output Schema
Output
Example Execution Logs
Loading from checkpoint: pretrained_models/hairclip.pt Aligned image has shape: (256, 256) Latent code calculated! Loading UNet for AvgLabLoss 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:02<00:00, 2.00s/it] 100%|██████████| 1/1 [00:02<00:00, 2.00s/it]
Version Details
- Version ID
b95cb2a16763bea87ed7ed851d5a3ab2f4655e94bcfb871edba029d4814fa587- Version Created
- March 27, 2022