You're looking at a specific version of this model. Jump to the model overview.
flux-kontext-apps /change-haircut:735c13ba
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 |
|---|---|---|---|
| input_image |
string
|
Image of the person's haircut you want to edit. Must be jpeg, png, gif, or webp.
|
|
| haircut |
None
|
No change
|
The haircut to give them
|
| hair_color |
None
|
No change
|
The color of the person's hair
|
| gender |
None
|
none
|
The gender of the person
|
| aspect_ratio |
None
|
match_input_image
|
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| output_format |
None
|
png
|
Output format for the generated image
|
| safety_tolerance |
integer
|
2
Max: 2 |
Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.
|
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'}