Retoucher

12 credits/call
ae_retoucher

ae_retoucher — Face enhancement Enhances and sharpens up to three faces in an image using WaveSpeed Face Enhancer. Provide an image and optionally select JPEG, PNG, or WebP output (default: JPEG). Processing is asynchronous. This tool focuses on faces; it does not provide whole-image repair or separate eye and mouth controls.

UpscalingImage
12 credits/call

Pricing

12 credits/call
ConditionCharge
Each call12 credits/call

Each call has a fixed fee of 12 credits.

Each call enhances up to three faces in one image.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.imagestringYesThe image containing the faces to enhance.—
request_body.output_formatenum (jpeg | png | webp)NoThe format of the output image.jpeg

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_retoucher' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image": "https://storage.googleapis.com/falserverless/pulid/img2.png"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "1a58e746-cb8a-4d67-b08d-0f8e9dfd0685"
}

This example shows part of the response. Copied content is valid JSON.