Moderation models

gamma

Synchronous explicit sexual-content checks for text only.

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/gamma

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": "gamma",
  "modality": "text",
  "text": "A neutral product description"
}

Parameters

Gamma is selected in the endpoint path. Send only modality and text in the body; do not include model. Both allow and block are billable decisions.

FieldTypeRequiredDescriptionDefaultConstraints
textstringYesText to evaluate, up to 4,096 UTF-16 code units.Length: 1–4096
modalitystringYesGamma supports text only.Allowed: text

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_explicit",
      "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 / timeoutCredits are charged before evaluation. Evaluation failures trigger a refund; CREDIT_RELEASE_FAILED or a result persistence error requires reconciliation.
  • 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
gammatext1Credits · ~$0.0100

Integrate in minutes

curl -X POST "https://api.artany.ai/v1/moderations/models/gamma" \
  -H "Authorization: Bearer $ARTANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: unique-request-id" \
  -d '{"model":"gamma","modality":"text","text":"A neutral product description"}'