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

fofr /style-transfer:f1023890

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
style_image
string
Copy the style from this image
structure_image
string
An optional image to copy structure from. Output images will use the same aspect ratio.
prompt
string
An astronaut riding a unicorn
Prompt for the image
negative_prompt
string
Things you do not want to see in your image
width
integer
1024
Width of the output image (ignored if structure image given)
height
integer
1024
Height of the output image (ignored if structure image given)
model
string (enum)
fast

Options:

fast, high-quality, realistic, cinematic, animated

Model to use for the generation
number_of_images
integer
1

Min: 1

Max: 10

Number of images to generate
structure_depth_strength
number
1

Max: 2

Strength of the depth controlnet
structure_denoising_strength
number
0.65

Max: 1

How much of the original image (and colors) to preserve (0 is all, 1 is none, 0.65 is a good balance)
output_format
string (enum)
webp

Options:

webp, jpg, png

Format of the output images
output_quality
integer
80

Max: 100

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
seed
integer
Set a seed for reproducibility. Random by default.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}