POST
/
v1
/
ai
/
image-style-transfer
curl --request POST \
--url https://api.freepik.com/v1/ai/image-style-transfer \
--header 'Content-Type: application/json' \
--header 'x-freepik-api-key: <api-key>' \
--data '{
"image": "iVBORw0KGgoAAAANSUhEUgAA...",
"reference_image": "iVBORw0KGgoAAAANSUhEUgAA..."
}'
{
"generated": [],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"task_status": "IN_PROGRESS"
}

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Body

application/json

Response

200
application/json

OK - The request has succeeded and the Style Transfer process has started.

The response is of type object.