77trust / 100

Media Wcag Checklist

by ton.halowerk.com in AI models & inference

x402 APIPassing, checked 9 h ago

Checks a video or audio file against WCAG 2.2 success criteria 1.2.1–1.2.9 (and 1.4.2, 2.2.2, 2.3.1 notes) with evidence from the file: tracks and dispositions, detected speech, caption coverage of speech, description tracks; maps each to EN 301 549.

POST
https://ton.halowerk.com/v1/media-wcag-checklist
Price
$0.02
per call in USDC
Uptime
98.2%
last 30 days
Response time
130 ms
221 ms slowest 5%
Last check
Passed
9 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://ton.halowerk.com/v1/media-wcag-checklist

Each call costs $0.02 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://ton.halowerk.com/v1/media-wcag-checklist
content-type: application/json

{
  "media_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
  "transcript_available": true
}

Parameters

ParameterTypeRequiredDescription
audio_description_availablebooleanNo Default: false.
captionsstringNo
captions_formatstringNo One of: auto, srt, vtt. Default: "auto".
detectorstringNo One of: silero, energy. Default: "silero".
livebooleanNo Default: false.
media_alternative_for_textbooleanNo Default: false.
media_base64stringNo
media_urlstring (uri)No
sign_language_availablebooleanNo Default: false.
transcript_availablebooleanNo Default: false.

Example response

The provider's example. We can't check it without paying.

Example response, 133 lines
{
  "limitations": [
    "Caption accuracy, synchronisation and speaker identification are not judged; coverage only shows that cues exist while people speak.",
    "Whether visual information needs audio description depends on the content; without a declared or embedded description track this is needs_review, not fail.",
    "Player features (caption and description controls, EN 301 549 clause 7) and automatic playback (1.4.2) cannot be seen in a file and are needs_review."
  ],
  "result": {
    "criteria": [
      {
        "criterion": "1.2.1",
        "level": "A",
        "name": "Audio-only and Video-only (Prerecorded)",
        "reason": "Video-only media has a text alternative or an audio track describing it.",
        "status": "pass"
      },
      {
        "criterion": "1.2.2",
        "level": "A",
        "name": "Captions (Prerecorded)",
        "reason": "Media type video-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.3",
        "level": "A",
        "name": "Audio Description or Media Alternative (Prerecorded)",
        "reason": "Media type video-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.4",
        "level": "AA",
        "name": "Captions (Live)",
        "reason": "Not live audio-video.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.5",
        "level": "AA",
        "name": "Audio Description (Prerecorded)",
        "reason": "Media type video-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.6",
        "level": "AAA",
        "name": "Sign Language (Prerecorded)",
        "reason": "Media type video-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.7",
        "level": "AAA",
        "name": "Extended Audio Description (Prerecorded)",
        "reason": "Media type video-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.2.8",
        "level": "AAA",
        "name": "Media Alternative (Prerecorded)",
        "reason": "Full text alternative declared.",
        "status": "pass"
      },
      {
        "criterion": "1.2.9",
        "level": "AAA",
        "name": "Audio-only (Live)",
        "reason": "Not live audio-only.",
        "status": "not_applicable"
      },
      {
        "criterion": "1.4.2",
        "level": "A",
        "name": "Audio Control",
        "reason": "No audible audio longer than 3 s.",
        "status": "not_applicable"
      },
      {
        "criterion": "2.2.2",
        "level": "A",
        "name": "Pause, Stop, Hide",
        "reason": "No video longer than 5 s.",
        "status": "not_applicable"
      },
      {
        "criterion": "2.3.1",
        "level": "A",
        "name": "Three Flashes or Below Threshold",
        "reason": "Not evaluated here; use the flash-safety service.",
        "status": "needs_review"
      }
    ],
    "en_301_549": {
      "documents": "10.1.2.1–10.1.2.9",
      "player": "7.1.1 captioning playback, 7.1.2 synchronisation, 7.2.1 audio description playback (needs_review: player features)",
      "software": "11.1.2.1–11.1.2.9",
      "web": "9.1.2.1–9.1.2.9"
    },
    "evidence": {
      "audio_peak_dbfs": null,
      "audio_streams": [],
      "captions": null,
      "detector": null,
      "pauses_2s": 1,
      "speech_s": 0,
      "speech_segments": 0,
      "subtitle_streams": [],
      "video_streams": 1
    },
    "media": {
      "duration_s": 3.96,
      "fps": 11.111,
      "has_audio": false,
      "has_video": true,
      "height": 400,
      "sha256": "b0acdc9a01f91f6123dbff38d4bee59d0d6e4b26071b5c83937b242b6b202378",
      "width": 400
    },
    "media_type": "video-only",
    "summary": {
      "fail": 0,
      "level_A": "not_determined",
      "level_AA": "not_determined",
      "level_AAA": "not_determined",
      "needs_review": 1,
      "not_applicable": 9,
      "pass": 2
    }
  },
  "service": "media-wcag-checklist",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ton.halowerk.com/v1/media-wcag-checklist' \
  -H 'content-type: application/json' \
  --data-raw '{"media_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","transcript_available":true}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://ton.halowerk.com/v1/media-wcag-checklist' \
  -H 'content-type: application/json' \
  --data-raw '{"media_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","transcript_available":true}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fton.halowerk.com%2Fv1%2Fmedia-wcag-checklist&method=POST
const res = await pay("https://ton.halowerk.com/v1/media-wcag-checklist", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "media_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
    "transcript_available": true
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://ton.halowerk.com/v1/media-wcag-checklist",
        json={
            "media_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
            "transcript_available": True,
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
9 h agoPassed40243 ms$0.02
22 h agoPassed402144 ms$0.02
3 days agoTimed out---
4 days agoPassed402129 ms$0.02
5 days agoPassed402130 ms$0.02
Show 10 older checks
5 days agoPassed402129 ms$0.02
5 days agoPassed402124 ms$0.02
6 days agoPassed402123 ms$0.02
6 days agoPassed402139 ms$0.02
7 days agoPassed402165 ms$0.02
7 days agoPassed402120 ms$0.02
7 days agoPassed402169 ms$0.02
7 days agoPassed402137 ms$0.02
8 days agoPassed40244 ms$0.02
8 days agoPassed402140 ms$0.02