-
Notifications
You must be signed in to change notification settings - Fork 0
Python Media and Metadata Functions
Akshay B edited this page Mar 16, 2026
·
1 revision
This document details media processing and metadata extraction routes in PluckIt.Processor.
- Audience: external contributors
- Last reviewed: 2026-03-16
- Scope: media + metadata contract only
-
POST /api/process-image- Runs image processing workflow for user-provided media.
- Input images are processed through the service media pipeline and produce segmentation/metadata-ready payloads.
-
POST /api/extract-clothing-metadata- Extracts metadata for a clothing image payload.
- Supports API-key and Azure AD validation modes depending on
METADATA_EXTRACT_AUTH_MODE.
-
/api/process-imageis one of the core runtime-heavy routes and is used by the .NET worker for upload enrichment. -
extract-clothing-metadatacan operate either with explicit API-key auth or Azure AD bearer auth.
-
METADATA_EXTRACT_AUTH_MODE=api-key- Requires
x-api-keyheader and configuredMETADATA_EXTRACT_API_KEY
- Requires
-
METADATA_EXTRACT_AUTH_MODE=azuread- Requires
Authorization: Bearer <token> - Validates token against:
METADATA_EXTRACT_AZURE_AD_AUDIENCEMETADATA_EXTRACT_AZURE_AD_ISSUER
- Requires