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

zsxkib /draggan:69c80b34

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
only_render_first_frame
boolean
False
If true, only the first frame will be rendered, providing a preview of the initial and final positions. Remember to check `show_points_and_arrows`!
stylegan2_model
string (enum)
ada/afhqcat.pkl

Options:

stylegan2/stylegan2-ffhq-config-f.pkl, stylegan2/stylegan2-cat-config-f.pkl, stylegan2/stylegan2-church-config-f.pkl, stylegan2/stylegan2-horse-config-f.pkl, ada/ffhq.pkl, ada/afhqcat.pkl, ada/afhqdog.pkl, ada/afhqwild.pkl, ada/brecahad.pkl, ada/metfaces.pkl, self_distill/bicycles_256_pytorch.pkl, self_distill/dogs_1024_pytorch.pkl, self_distill/elephants_512_pytorch.pkl, self_distill/giraffes_512_pytorch.pkl, self_distill/horses_256_pytorch.pkl, self_distill/lions_512_pytorch.pkl, self_distill/parrots_512_pytorch.pkl

The chosen StyleGAN2 model to perform the operation.
source_x_percentage
number
50

Max: 100

Percentage defining the starting x-coordinate from the left. Higher values mean further to the right on the screen.
source_y_percentage
number
50

Max: 100

Percentage defining the starting y-coordinate from the bottom. Higher values mean higher up on the screen.
target_x_percentage
number
10

Max: 100

Percentage defining the final x-coordinate from the left. Higher values mean further to the right on the screen.
target_y_percentage
number
40

Max: 100

Percentage defining the final y-coordinate from the bottom. Higher values mean higher up on the screen.
learning_rate
number
0.003

Min: 0.0001

Max: 1

Set the learning rate for the operation, which controls how quickly the model learns to drag the path from the initial to the final position.
maximum_n_iterations
integer
20

Min: 1

Max: 100

The maximum number of iterations allowed for the operation, limiting how long the path dragging can continue.
show_points_and_arrows
boolean
True
Toggles the display of arrows and points denoting the interpolation path in the generated video.

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