You're looking at a specific version of this model. Jump to the model overview.

yuval-alaluf /restyle_encoder:c677ac3e

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
string
Path to input image
encoding_type
string (enum)

Options:

faces, toonify

Which domain you wish to run on
num_iterations
integer
5

Min: 1

Max: 10

Number of ReStyle iterations to run. For `faces` we recommend 5 iterations and for `toonify` we recommend 1 to 2 iterations.
display_intermediate_results
boolean
Whether to display all intermediate outputs. If unchecked, will display only the final result.

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'}