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

ariel415el /gpdm:3d7dc651

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
task
string (enum)

Options:

Reshuffle, Retarget, Style-transfer

An enumeration.
num_outputs
integer
4
How many output images to generate, Generating multiple images at once improves the quality and diversity of the results
num_projections
integer
64
Number of ramdom projections for SWD. More is better results but is slower and memory inefficient
patch_size
integer
8
Size of the extracted a patches, I found 11 to work better for style transfer
min_height
integer
32
Height of the initial level (width is determined by reference image and desired aspect ratio). -1 means working on original sacle only
step
integer
16
How much to increase the resolution between successive scales
height_factor
integer
1
Change the output's aspect ratio (Retargeting)
width_factor
integer
1
Change the output's aspect ratio (Retargeting)
reference_image
string
The main input image - Style image in style-transfer.
content_image
string
Only relevant for style-transfer

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