curl --request POST \
--url https://api.comfy.org/proxy/freepik/v1/ai/skin-enhancer/flexible \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "https://example.com/portrait.jpg",
"optimized_for": "enhance_skin",
"sharpen": 0,
"smart_grain": 2,
"webhook_url": "https://www.example.com/webhook"
}
'{
"data": {
"generated": [
"<string>"
],
"status": "CREATED",
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
}Enhance skin in images using AI with the Flexible mode. This mode allows you to choose the optimization target for the enhancement.
curl --request POST \
--url https://api.comfy.org/proxy/freepik/v1/ai/skin-enhancer/flexible \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "https://example.com/portrait.jpg",
"optimized_for": "enhance_skin",
"sharpen": 0,
"smart_grain": 2,
"webhook_url": "https://www.example.com/webhook"
}
'{
"data": {
"generated": [
"<string>"
],
"status": "CREATED",
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).
"https://example.com/portrait.jpg"
Optimization target for flexible skin enhancer
enhance_skin, improve_lighting, enhance_everything, transform_to_real, no_make_up Sharpening intensity
0 <= x <= 100Smart grain intensity
0 <= x <= 100Optional callback URL for async notifications.
"https://www.example.com/webhook"
OK - The skin enhancer process has started
Show child attributes
Was this page helpful?