Zero-Shot Text Classifier with Custom Labels is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).
Classifies text into caller-supplied labels using zero-shot inference, supporting multi-label mode with calibrated confidence scores and reasoning.
Zero-shot text classifier. Caller supplies labels. Multi-label mode. Calibrated confidences + reasoning.
Returns a list of labels with calibrated confidence scores (0–1) and a reasoning string explaining why each label was or was not assigned; supports both single-label (argmax) and multi-label output modes.
POSThttps://x402-deployer.x402-deployer.workers.dev/classifyChoose this endpoint when you need to classify text into arbitrary, user-defined categories without any prior training data — especially when labels change per request or when multi-label output with confidence scores and reasoning is required. Prefer this over fine-tuned classifiers when flexibility and zero-shot generalization matter more than maximum accuracy on a fixed taxonomy.
{
"input": {
"body": {
"text": "This movie was absolutely fantastic! The cinematography was stunning and the acting was superb.",
"labels": [
"positive",
"negative",
"neutral"
],
"multi_label": false
},
"type": "http",
"method": "POST",
"bodyType": "json"
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"model": "hermes-3-llama-3.1-405b",
"labels": [
"positive",
"negative",
"neutral"
],
"source": "morpheus",
"results": [
{
"label": "positive",
"confidence": 0.95
}
],
"reasoning": "The words 'absolutely fantastic','stunning', and'superb' strongly indicate a positive sentiment towards the movie.",
"top_label": "positive",
"input_chars": 95,
"multi_label": false
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"