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

yuval-alaluf/restyle_encoder:898c82c1

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, cars, churches, wild_animals, horses, toonify

Which domain you wish to run on. Options are: ['faces', 'cars', 'churches', 'wild_animals', 'horses', 'toonify']
num_iterations
integer
5

Min: 1

Max: 10

Number of ReStyle iterations to run. It is highly recommended to run between 3 to 5 iterations.
display_intermediate_results
boolean
True
Whether to display all intermediate outputs. If unchecked, will display only the final inversion.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'properties': {'file': {'format': 'uri',
                                   'type': 'string',
                                   'x-order': 0},
                          'text': {'type': 'string', 'x-order': 1}},
           'type': 'object'},
 'type': 'array',
 'x-cog-array-type': 'iterator'}