Style transfer an image using AI
Authorizations
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Body
Base64 Image to style transfer
Base64 Reference image for style transfer
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
Prompt for the AI model
Percentage of style strength
0 <= x <= 100
Allows to maintain the structure of the original image
0 <= x <= 100
Is the image a portrait
Portrait style
standard
, pop
, super_pop
Portrait beautifier
beautify_face
, beautify_face_max
Flavor of the transferring style
faithful
, gen_z
, psychedelia
, detaily
, clear
, donotstyle
, donotstyle_sharp
balanced
, definio
, illusio
, 3d_cartoon
, colorful_anime
, caricature
, real
, super_real
, softy
When this option is enabled, using the same settings will consistently produce the same image. Fixed generations are ideal for fine-tuning, as it allows for incremental changes to parameters (such as the prompt) to see subtle variations in the output. When disabled, expect each generation to introduce a degree of randomness, leading to more diverse outcomes.