Home
Nanonets
Nanonets Image Classification API — Predict
Nanonets Image Classification API — Predict
Sync prediction against a Nanonets image classification model via uploaded files or public URLs.
Nanonets Image Classification API — Predict is a Naftiko capability published by Nanonets , one of 5 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST method rooted at /v1/image.
The capability includes 2 state-changing operations. Lead operation: Classify uploaded image file . Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko .
Tagged areas include Nanonets and Image Classification.
What You Can Do
POST
Classifyfile
— Classify uploaded image file.
/v1/image/classify-file
POST
Classifyurls
— Classify public image URLs.
/v1/image/classify-urls
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Nanonets Image Classification API — Predict
description: Sync prediction against a Nanonets image classification model via uploaded files or public URLs.
tags: [Nanonets, Image Classification]
created: '2026-05-25'
modified: '2026-05-25'
binds:
- namespace: env
keys: { NANONETS_API_KEY: NANONETS_API_KEY }
capability:
consumes:
- type: http
namespace: image-classification
baseUri: https://app.nanonets.com/api/v2
description: Nanonets image classification surface.
resources:
- name: label-file
path: /ImageCategorization/LabelFile/
operations:
- { name: classifyFile, method: POST, description: 'Classify uploaded image file.',
outputRawFormat: json, outputParameters: [ { name: result, type: object, value: $. } ],
inputParameters: [ { name: body, in: body, type: object, required: true } ] }
- name: label-urls
path: /ImageCategorization/LabelUrls/
operations:
- { name: classifyUrls, method: POST, description: 'Classify one or more public image URLs.',
outputRawFormat: json, outputParameters: [ { name: result, type: object, value: $. } ],
inputParameters: [ { name: body, in: body, type: object, required: true } ] }
authentication:
type: basic
username: '{{env.NANONETS_API_KEY}}'
password: ''
exposes:
- type: rest
namespace: image-classification-rest
port: 8080
description: REST adapter for image classification.
resources:
- path: /v1/image/classify-file
name: classify-file
operations:
- { method: POST, name: classifyFile, description: 'Classify uploaded image file.', call: image-classification.classifyFile,
with: { body: rest.body } }
- path: /v1/image/classify-urls
name: classify-urls
operations:
- { method: POST, name: classifyUrls, description: 'Classify public image URLs.', call: image-classification.classifyUrls,
with: { body: rest.body } }
- type: mcp
namespace: image-classification-mcp
port: 9090
transport: http
description: MCP adapter for image classification.
tools:
- { name: nanonets-classify-file, description: 'Classify uploaded image file.', hints: { readOnly: false,
destructive: false, idempotent: true }, call: image-classification.classifyFile, with: { body: tools.body } }
- { name: nanonets-classify-urls, description: 'Classify public image URLs.', hints: { readOnly: false,
destructive: false, idempotent: true }, call: image-classification.classifyUrls, with: { body: tools.body } }