TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/xcoder-es/media-cleaner-pro/llms.txt
Use this file to discover all available pages before exploring further.
/api/start endpoint launches a new image processing pipeline in the background. The pipeline runs asynchronously and its progress can be monitored via GET /api/status, the real-time SSE stream at GET /api/progress, or GET /api/logs. The endpoint returns immediately with the initial job state once the pipeline task has been spawned.
MediaCleaner Pro runs one job at a time. Starting a new job while one is already running will reset the state machine and spawn a fresh pipeline task, overwriting all progress from the previous run. Check
is_running in GET /api/status before calling this endpoint if you want to avoid interrupting an active job.Request body
Absolute path to the directory containing the images you want to process. If an empty string is provided, the previously configured
source_dir value is retained unchanged.Absolute path to the output directory where organised results will be written. If an empty string is provided, the previously configured
dest_dir is retained unchanged.Perceptual similarity threshold used during dHash comparison. Two images are considered duplicates when their Hamming distance is less than or equal to this value. Accepts integers in the range
0–64. Defaults to 4 (the compiled-in default) if omitted.0— only exact pixel-level duplicates match.4— slight compression artefacts and minor resizes match (recommended default).10+ — broader similarity; may produce false positives on visually distinct images.
Response fields
UUID v4 string uniquely identifying this job, e.g.
"550e8400-e29b-41d4-a716-446655440000". Stable for the lifetime of the running process.Always
"started" on a successful response.Always
true immediately after a successful start.Always
false immediately after a successful start.Initial stage list with every stage in
"pending" status. See GET /api/status for the full StageInfo field reference.Initial statistics object with all counters at zero. See GET /api/status for the full
ProcessingStats field reference.