/generate/restyle

Trigger a restyle process from one sketch image (or other image) and one or more reference style images.

Query Params
string

If set to true, returns the original asset without transformation

string
Body Params
string
required

The image to restyle. Must reference an existing AssetId or be a data URL.

number
0 to 100

The higher the value the more it will look like the style image(s)

number

End step for control.

number
0 to 2147483647

Used to reproduce previous results. Default: randomly generated number.

number
5 to 50

The number of denoising steps for each image generation.

styleImages
array of strings
required

List of style images. Most of the time, only one image is enough. It must be existing AssetIds.

styleImages*
number
0 to 100

Increase the fidelity to the prompt during the restyle.

boolean
Defaults to false

Activate clustering.

boolean
Defaults to false

Activate sketch detection instead of canny.

number
0 to 100

Strength for the input image structure preservation

string

A full text prompt to guide the restyle process. Default: empty string. Example: "cute++ chibi character"

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json