{"uid":"cap_U6Q7OaqR_aj5mwR2ak7_e","slug":"fastapi-online-image-classification-cccc8b90","name":"fastapi.online Image Classification","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/image-classify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Image file (PNG/JPEG/WebP)"},"labels":{"type":"string","description":"optional comma-separated labels for zero-shot classification"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_taW8T3XW1bCmtxfL0GxhG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies an uploaded image into categories, supporting zero-shot classification with custom labels via self-hosted AI inference","exampleAgentPrompt":"Can you classify this product photo and tell me whether it falls under 'electronics', 'clothing', or 'furniture'? Here's the image file.","exampleUseCases":[{"title":"E-commerce product photo categorization","prompt":"I have a JPEG of a new product we just listed — can you classify it as either 'electronics', 'clothing', 'home goods', or 'sporting equipment' so I can route it to the right catalog section?"},{"title":"Content moderation image screening","prompt":"Run this uploaded image through classification with the labels 'safe', 'adult content', 'violence', and 'spam' — I need to know which category it falls into before we allow it to be posted."},{"title":"Wildlife photo identification","prompt":"I've got this nature photo — can you classify it using the labels 'bird', 'mammal', 'reptile', 'insect', and 'plant' to help me sort my field research images?"}],"resultDescription":"Returns predicted class label(s) and associated confidence scores indicating which category the image belongs to, based on either default model categories or the custom zero-shot labels provided.","failureModes":["Unsupported image format returns an error (only PNG/JPEG/WebP accepted)","Image file too large may time out or be rejected","Ambiguous or conflicting custom labels can reduce classification accuracy","Low-resolution or heavily distorted images may yield low-confidence or incorrect predictions","Network or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, per-call image classification without committing to a monthly API subscription — especially useful for pay-as-you-go workflows, crypto-native pipelines, or when zero-shot classification with custom label sets is needed without fine-tuning a model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:28:07.226Z","isFirstParty":false}