---
title: "Skin enhancer using AI (Flexible)"
method: POST
path: "/proxy/freepik/v1/ai/skin-enhancer/flexible"
tags: ["Freepik", "Proxy"]
---

# Skin enhancer using AI (Flexible)

`POST /proxy/freepik/v1/ai/skin-enhancer/flexible`

## Request

- Base URL: `https://api.comfy.org`
- URL: `https://api.comfy.org/proxy/freepik/v1/ai/skin-enhancer/flexible`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/ac/apis/comfy-api/docs/proxy/freepik/v1/ai/skin-enhancer/flexible/post.ts> (a function with typed inputs; its response is checked against the schema)

Enhance skin in images using AI with the Flexible mode. This mode allows you to choose the optimization target for the enhancement.

## Request body

- FreepikSkinEnhancerFlexibleRequest
  - `image` string, required: Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).
  - `optimized_for` 'enhance_skin' | 'improve_lighting' | 'enhance_everything' | 'transform_to_real' | 'no_make_up': Optimization target for flexible skin enhancer
  - `sharpen` integer: Sharpening intensity
  - `smart_grain` integer: Smart grain intensity
  - `webhook_url` string, uri: Optional callback URL for async notifications.

## Response `200`

OK - The skin enhancer process has started

- FreepikTaskResponse
  - `data` FreepikTaskData, required
    - `generated` string[]: URLs to the generated images.
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'
    - `task_id` string, uuid

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ac/apis/comfy-api.md) - [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ac/apis/comfy-api/revisions/c1893dffe250?raw)
