media_labeling
Analyze images or videos for risk and scene attributes such as masks, hats, coercion, and environment labels for compliance checks and anti-fraud triage.
Instructions
Analyze an image/video for risk and scene attributes. Supports portrait labels such as mask, hat, sunglasses, coercion, unconscious/asleep, phone use, headphones, tattoo, nudity, critical patient, facial mask; and environment labels such as multiple people, inside car, hotel room, car dealership. Best for compliance scene checks, loan/insurance evidence review, and anti-fraud triage. Async upstream job is submitted and polled automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Image/video: local file path, HTTPS URL, data URL, or base64. | |
| type | No | image or video. Default: image. | image |
| doLive | No | Enable video liveness check: 1=yes, 0=no. Default: 1. | 1 |
| labels | Yes | Comma-separated label codes, max 5 per request. Portrait: A01 facial mask, A02 medical mask, A04 headphones, A05 nudity, A06 sunglasses, A09 coercion, A10 unconscious/asleep, A11 phone, A13 tattoo, A14 hat, A15 critical patient. Environment: B02 multiple people, B03 inside car, B06 hotel room, B07 car dealership. Example: A02,A14,B03. | |
| doCompare | No | Enable video face-consistency check: 1=yes, 0=no. Default: 1. | 1 |