Browse/Hugging Face/Inference API: Image Classification
Inference API: Image Classification
Hugging Face
$19 · Pro
Classify an image using a hosted model via the Inference API.
image-classifier.ts
`https://router.huggingface.co/hf-inference/models/${modelId}`,
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Inference API: Image Classification — Hugging Face Example (TypeScript, Node, Python, Go, PHP, Ruby) | apiexamples