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

ariel415el /gpdm:f23afd8e

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)
Reshuffle

Options:

Reshuffle, Retarget, Style-transfer

(Reshuffle): Start from a noisy and generates samples from the same scene in the reference image. (Retarget): Start from a stretched version of the reference and recreates the scene in another aspect ratio. (Style-transfer): Recreates a content-image with the style of the reference image
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
max_size
integer
Limit the image resolution
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'}