You're looking at a specific version of this model. Jump to the model overview.
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
(enum)
|
Options: afro hairstyle, bob cut hairstyle, bowl cut hairstyle, braid hairstyle, caesar cut hairstyle, chignon hairstyle, cornrows hairstyle, crew cut hairstyle, crown braid hairstyle, curtained hair hairstyle, dido flip hairstyle, dreadlocks hairstyle, extensions hairstyle, fade hairstyle, fauxhawk hairstyle, finger waves hairstyle, french braid hairstyle, frosted tips hairstyle, full crown hairstyle, harvard clip hairstyle, hi-top fade hairstyle, high and tight hairstyle, hime cut hairstyle, jewfro hairstyle, jheri curl hairstyle, liberty spikes hairstyle, marcel waves hairstyle, mohawk hairstyle, pageboy hairstyle, perm hairstyle, pixie cut hairstyle, psychobilly wedge hairstyle, quiff hairstyle, regular taper cut hairstyle, ringlets hairstyle, shingle bob hairstyle, short hair hairstyle, slicked-back hairstyle, spiky hair hairstyle, surfer hair hairstyle, taper cut hairstyle, the rachel hairstyle, undercut hairstyle, updo hairstyle |
Hairstyle text prompt. Valid if input_type is text or text_image.
|
color_description |
string
|
Color text prompt, eg: 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.
{'format': 'uri', 'title': 'Output', 'type': 'string'}