Endpoint
POST /v3/universal-ai (sync)
Model string pattern: image/explicit_content/{provider}[/{model}]
Input
| Field | Type | Required | Description |
|---|---|---|---|
| file | file_input | Yes | Image file ID from /v3/upload or direct file URL |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| nsfw_likelihood | int | Yes | An integer representing the likelihood of NSFW content. Higher values indicate a higher likelihood. |
| nsfw_likelihood_score | float | Yes | A floating-point score representing the confidence level of the NSFW likelihood assessment. This is typically a value between 0.0 and 1.0. |
| items | array[object] | No | A list of items identified as potentially explicit. Each item contains details of the explicit content detected. |
| label | string | Yes | |
| likelihood | int | Yes | |
| likelihood_score | float | Yes | |
| category | enum | Yes | The category of the detected content. Possible values include: ‘Toxic’, ‘Content’, ‘Sexual’, ‘Violence’, ‘DrugAndAlcohol’, ‘Finance’, ‘HateAndExtremism’, ‘Safe’, ‘Other’. |
| subcategory | string | Yes | The subcategory of content. Possible values: |
- Insult
- Obscene
- Derogatory
- Profanity
- Threat
- Toxic
- MiddleFinger
- PublicSafety
- Health
- Explicit
- QRCode
- Medical
- Politics
- Legal
- SexualActivity
- SexualSituations
- Nudity
- PartialNudity
- Suggestive
- AdultToys
- RevealingClothes
- Sexual
- GraphicViolenceOrGore
- PhysicalViolence
- WeaponViolence
- Violence
- DrugProducts
- DrugUse
- Tobacco
- Smoking
- Alcohol
- Drinking
- Gambling
- Finance
- MoneyContent
- Hate
- Harassment
- Threatening
- Extremist
- Racy
- Safe
- NotSafe
- Spoof
- Religion
- Offensive
- Other |
Available Providers
| Provider | Model String | Price |
|---|---|---|
| amazon | image/explicit_content/amazon | $1 per 1,000 files |
| clarifai | image/explicit_content/clarifai | $2 per 1,000 files |
image/explicit_content/google | $1.5 per 1,000 files | |
| microsoft | image/explicit_content/microsoft | $1 per 1,000 files |
| openai | image/explicit_content/openai | $24 per 1,000 files |
| openai (gpt-4o) | image/explicit_content/openai/gpt-4o | $24 per 1,000 files |
| sentisight | image/explicit_content/sentisight | $0.75 per 1,000 files |