Moderation models
beta
Synchronous sexual-content moderation for text, images, and videos.
POST /v1/moderations/models/betaSynchronous moderationFixed Credit pricing
Quick start
Submit one moderation request and receive the final allow or block decision in the same HTTP response.
curl -X POST "https://api.artany.ai/v1/moderations/models/beta" \
-H "Authorization: Bearer $ARTANY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: unique-request-id" \
-d '{"model":"beta","modality":"text","text":"A neutral product description"}'Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for an Artany API key. |
| Content-Type | Yes | Must be application/json. |
| Idempotency-Key | Recommended | 8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges. |
Body
{
"model": "beta",
"modality": "text",
"text": "A neutral product description"
}Parameters
Only these fields are accepted. Defaults are applied before validation and quoting.
| Field | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
| model | string | Yes | Stable Artany public model ID. | beta | This exact public model ID. |
| modality | string | Yes | Model-specific image generation option. See its allowed values and constraints in this row. | — | Allowed: text, image, video |
| text | string | No | Model-specific image generation option. See its allowed values and constraints in this row. | — | Length: 1–4096 |
| url | string | No | Model-specific image generation option. See its allowed values and constraints in this row. | — | Format: uri |
Response
A successful request returns HTTP 200 with the final supplier-neutral decision. Provider failures and timeouts return an error and release the frozen Credits.
{
"sexual_suggest": "allow",
"category": null,
"sexual_score": 0.08,
"labels": [
{
"label": "sexual",
"score": 0.08
}
],
"billing": {
"charged_credits": "…",
"idempotent": false
}
}- allow / block: read
sexual_suggestdirectly from the response; model-specific evidence fields follow it. - error: provider failures and timeouts release frozen Credits.
Pricing
The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.
| modality | Credits |
|---|---|
| text | 1 |
| image | 2 |
| video | 5 |