# GlianaAI Image Moderation

> GlianaAI Image Moderation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Analyzes an image for unsafe or policy-violating content categories and returns flagged scores per category.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/moderate-image?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-image-moderation-de024429
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oo-Hf-bJ934YNd_rOQ5K_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glianaai-image-moderation-de024429
```

Example prompt: Can you check if this image is safe — here's the URL: https://example.com/photo.jpg — flag anything above a 0.7 threshold?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call image content moderation check without account setup — ideal for agents that process occasional user-uploaded images, need USDC micropayment billing, or want to avoid committing to a full-featured moderation platform subscription. It suits lightweight trust-and-safety pipelines where per-request billing is preferable to monthly plans.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Image format not supported (non-JPEG/PNG/WebP) may cause a failure
- Threshold value outside (0, 1] range is rejected
- Missing both image_url and image_base64 causes a validation error
- Payment not provided or insufficient USDC balance returns HTTP 402
- Very large images may time out or exceed size limits

## How this service works

One endpoint for 120+ generative AI models plus market data, SEC filings and identity APIs. Pay per request in USDC, no signup, or top up a balance in rupiah.

## Output

Returns a JSON object with per-category moderation scores (e.g. adult, violence, hate) and which categories are flagged based on the supplied threshold. The tool name is echoed back in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_url": {
   "type": "string",
   "description": "https URL of a JPEG, PNG or WebP image. Give this OR image_base64."
  },
  "threshold": {
   "type": "number",
   "description": "Optional score from which a category counts as flagged, above 0 and at most 1. Default 0.5."
  },
  "image_base64": {
   "type": "string",
   "description": "The image as base64 (a data: URL prefix is accepted). Give this OR image_url. Nothing is stored."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/moderate-image"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-image-moderation-de024429/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
