You're looking at a specific version of this model. Jump to the model overview.
emirhanbilgic /hairclipv2:0bf01803
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
image |
string
|
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 |
string
(enum)
|
hairstyle
Options: hairstyle, color, both |
Edit hairstyle or color or both.
|
hairstyle_description |
string
|
Hairstyle text prompt. Valid if input_type is text or text_image.
|
|
color_description |
string
|
Color text prompt, e.g., purple, red, orange. Valid if editing_type is color or both.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}