ai.kagurazaka.dev/v1/labels
Detects objects, scenes, activities and concepts in a JPEG or PNG at a URL with Amazon Rekognition. Returns labels with confidence, their categories and parent labels, and how many instances were located.
POST
https://ai.kagurazaka.dev/v1/labelsUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://ai.kagurazaka.dev/v1/labels", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_labels":10,"url":"https://raw.githubusercontent.com/danielgatis/rembg/main/examples/animal-1.jpg"}),
});
console.log(await res.json());Example input
{
"max_labels": 10,
"url": "https://raw.githubusercontent.com/danielgatis/rembg/main/examples/animal-1.jpg"
}More from x402 AI Tools
- ai.kagurazaka.dev/v1/entitiesFinds named entities (person, location, organization, commercial item, event, date, quantity, title, other) in a text with Amazon Comprehend, with their offsets and scores. Supports en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW; the language is detected when not given.0.008
- ai.kagurazaka.dev/v1/image-textDetects words and lines of text in a photo or screenshot (JPEG or PNG at a URL) with Amazon Rekognition, up to 100 words. Suited to signs, product labels and UI text; for documents use /v1/ocr.0.003
- ai.kagurazaka.dev/v1/key-phrasesExtracts the key noun phrases of a text with Amazon Comprehend, with their offsets and scores. Supports en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW; the language is detected when not given.0.008
- ai.kagurazaka.dev/v1/languageDetects the dominant language of a text (over 100 languages) with Amazon Comprehend, from its first 1000 characters. Returns the most likely language codes with scores.0.002
- ai.kagurazaka.dev/v1/moderationDetects explicit, suggestive, violent, drug, hate and other unsafe content in a JPEG or PNG at a URL with Amazon Rekognition. Returns safe (no label at or above min_confidence) and the labels found.0.003
- ai.kagurazaka.dev/v1/ocrReads printed and handwritten text from a JPEG, PNG, TIFF or single-page PDF at a URL with Amazon Textract. Returns the full text and every line with its confidence and position.0.005
- ai.kagurazaka.dev/v1/piiFinds personally identifiable information (names, addresses, emails, phone numbers, credit card and bank numbers, SSNs, passwords, IP addresses and more) in English or Spanish text with Amazon Comprehend. Returns each entity's type, offsets and score, and the text with each one replaced by [TYPE].0.008
- ai.kagurazaka.dev/v1/sentimentClassifies the sentiment of a text with Amazon Comprehend and returns the score of each class. Supports en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW; the language is detected when not given.0.008
- ai.kagurazaka.dev/v1/speechTurns text into speech with Amazon Polly and returns a signed URL of the audio, valid for an hour. Up to 3000 characters with standard voices or 1000 with neural ones. Voices include Joanna, Matthew (English), Mizuki, Takumi (Japanese), Lucia (Spanish), Lea (French), Vicki (German) and about 60 more.0.02
- ai.kagurazaka.dev/v1/translateTranslates up to 1500 characters with Amazon Translate between any of its 75 languages, detecting the source language when not given. Optional formal or informal tone for the languages that support it.0.03
