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

zsxkib /draggan:a5996c88

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
just_render_first_frame
boolean
False
If true, only the first frame will be rendered, providing a preview of the initial and final positions.
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, human/stylegan_human_v2_512.pkl, human/stylegan_human_v2_1024.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.
handle_y_pct
number
50

Max: 100

Set the y-coordinate percentage for the starting position. Lower values represent higher positions on the screen.
handle_x_pct
number
50

Max: 100

Set the x-coordinate percentage for the starting position. Lower values represent more leftward positions on the screen.
target_y_pct
number
40

Max: 100

Set the y-coordinate percentage for the final position. Lower values represent higher positions on the screen.
target_x_pct
number
10

Max: 100

Set the x-coordinate percentage for the final position. Lower values represent more leftward positions on the screen.
lr_box
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.
max_iters
integer
20

Min: 1

Max: 100

The maximum number of iterations allowed for the operation, limiting how long the path dragging can continue.

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