Moderation models

beta

Synchronous sexual-content moderation for text, images, and videos.

Commercial useSynchronous APIfrom 1 Credits

API reference

Submit this model and receive the final moderation decision in the same response. Only the parameters below are accepted.

POST /v1/moderations/models/beta

Required headers

Authorization: Bearer $ARTANY_API_KEY
Content-Type: application/json
Idempotency-Key: unique-request-id

Use a new 8–128 character Idempotency-Key for each logical generation. Retrying the same request with the same key will not double-charge.

Request body

{
  "model": "beta",
  "modality": "text",
  "text": "A neutral product description"
}

Parameters

FieldTypeRequiredDescriptionDefaultConstraints
modelstringYesStable Artany public model ID.betaThis exact public model ID.
urlstringNoModel-specific image generation option. See its allowed values and constraints in this row.Format: uri
textstringNoModel-specific image generation option. See its allowed values and constraints in this row.Length: 1–4096
modalitystringYesModel-specific image generation option. See its allowed values and constraints in this row.Allowed: text, image, video

Accepted response

The endpoint returns HTTP 200 with the final decision. No job polling is required.

{
  "sexual_suggest": "allow",
  "category": null,
  "sexual_score": 0.08,
  "labels": [
    {
      "label": "sexual",
      "score": 0.08
    }
  ],
  "billing": {
    "charged_credits": "1",
    "idempotent": false
  }
}

Lifecycle and failures

  • allow / block — read sexual_suggest directly from the HTTP 200 response.
  • provider error / timeoutthe request fails and frozen Credits are released.
  • For a schema error, the API returns an error object and identifies the invalid field in param when applicable.

Input

Runs are billed to your Credits at the listed price — same engine as the public API.

Output

Run the model to see results here

Pricing details

Fixed catalog pricing — the listed price is exactly what a run settles for. Version 2026-07-18.picverse-parity.

ModelmodalityPrice
betatext1Credits · ~$0.0100
betaimage2Credits · ~$0.0200
betavideo5Credits · ~$0.0500

Integrate in minutes

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"}'