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

HeaderRequiredDescription
AuthorizationYesBearer token for an Artany API key.
Content-TypeYesMust be application/json.
Idempotency-KeyRecommended8–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.

FieldTypeRequiredDescriptionDefaultConstraints
modelstringYesStable Artany public model ID.betaThis exact public model ID.
modalitystringYesModel-specific image generation option. See its allowed values and constraints in this row.Allowed: text, image, video
textstringNoModel-specific image generation option. See its allowed values and constraints in this row.Length: 1–4096
urlstringNoModel-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_suggest directly 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.

modalityCredits
text1
image2
video5