Quality

Fix flagged images with AI

POST
/jobs/{job_id}/ai-fix

The AI retoucher fixes what the quality check flagged on each image, and the fixed image becomes the image's latest version. Costs AI retouch's per-image price, charged only for images that were fixed.

Authorization

token_auth
headerAuthorizationBearer <token>

Token-based authentication using access tokens.

Path Parameters

job_id*string

Request Body

application/json
  1. body
images*array<>

The images to fix (their latest version). One entry from an image's own action, every available image from the job-level action.

Response Body

Successful Response

application/json
  1. response
started?array<>
Default[]
refused?array<>
Default[]
curl -X POST "https://example.com/jobs/string/ai-fix" \  -H "Content-Type: application/json" \  -d '{    "images": [      {        "image_index": 0      }    ]  }'
{  "started": [],  "refused": []}