orpatashnik/styleclip

Text-Driven Manipulation of StyleGAN Imagery

  • Public
  • 1M runs

Run styleclip with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
Input image
neutral
string
a face
Neutral image description
target
string
a face with a bowlcut
Target image description
manipulation_strength
number
4.1

Min: -10

Max: 10

The higher the manipulation strength, the closer the generated image becomes to the target description. Negative values moves the generated image further from the target description
disentanglement_threshold
number
0.15

Min: 0.08

Max: 0.3

The higher the disentanglement threshold, the more specific the changes are to the target attribute. Lower values mean that broader changes are made to the input image

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