skin-enhancer

Skin Enhancer Flexible - Enhance skin

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

post/v1/ai/skin-enhancer/flexible

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/skin-enhancer/flexible
  • Auth: API key in header x-magnific-api-key

Request body

imagestring required

Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).

sharpeninteger

Sharpening intensity

smart_graininteger

Smart grain intensity

optimized_for'enhance_skin' | 'improve_lighting' | 'enhance_everything' | 'transform_to_real' | 'no_make_up'

Optimization target for flexible skin enhancer

webhook_urlstring uri

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.

Example request

{
  "image": "https://example.com/portrait.jpg",
  "smart_grain": 2,
  "webhook_url": "https://www.example.com/webhook"
}

Response

OK - The task exists and the status is returned

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.