CodeProject Training API

Custom YOLO dataset and model training lifecycle.

Operations 6

POST /v1/train/create_dataset Create a custom training dataset #
POST /v1/train/train_model Start YOLOv5 model training #
POST /v1/train/status Check training progress #
POST /v1/train/cancel Stop a running training job #
POST /v1/train/get_model Retrieve a trained model #
POST /v1/train/get_dataset Retrieve a training dataset #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/codeproject-training-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

codeproject-training-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CodeProject.AI Server Training API
  description: CodeProject.AI Server is a self-contained, self-hosted, free and open-source AI service that exposes computer-vision, audio, NLP, and model-training capabilities through a local HTTP REST API. It runs on Windows, macOS, Linux, Raspberry Pi, NVIDIA Jetson, OrangePi, and as a Docker container, and is most often integrated with home-automation and surveillance platforms (Blue Iris, Home Assistant, Agent DVR) for object detection, face recognition, ALPR (license-plate), and scene classification. All endpoints are POST and accept multipart/form-data uploads.
  version: '2.9'
  contact:
    name: CodeProject.AI Server
    url: https://www.codeproject.com/AI/
  license:
    name: GPL-3.0
    url: https://github.com/codeproject/CodeProject.AI-Server/blob/main/LICENSE
servers:
- url: http://localhost:32168
  description: Default local CodeProject.AI Server endpoint
tags:
- name: Training
  description: Custom YOLO dataset and model training lifecycle.
paths:
  /v1/train/create_dataset:
    post:
      operationId: createTrainingDataset
      summary: Create a custom training dataset
      tags:
      - Training
      responses:
        '200':
          description: Dataset metadata
  /v1/train/train_model:
    post:
      operationId: trainModel
      summary: Start YOLOv5 model training
      tags:
      - Training
      responses:
        '200':
          description: Training job started
  /v1/train/status:
    post:
      operationId: getTrainingStatus
      summary: Check training progress
      tags:
      - Training
      responses:
        '200':
          description: Training status
  /v1/train/cancel:
    post:
      operationId: cancelTraining
      summary: Stop a running training job
      tags:
      - Training
      responses:
        '200':
          description: Cancellation result
  /v1/train/get_model:
    post:
      operationId: getTrainedModel
      summary: Retrieve a trained model
      tags:
      - Training
      responses:
        '200':
          description: Model artifact
  /v1/train/get_dataset:
    post:
      operationId: getTrainingDataset
      summary: Retrieve a training dataset
      tags:
      - Training
      responses:
        '200':
          description: Dataset
components:
  securitySchemes:
    none:
      type: apiKey
      in: header
      name: X-Disabled
      description: CodeProject.AI Server runs locally and does not require authentication by default. Operators are expected to keep the service on a private network or behind their own reverse proxy.
externalDocs:
  description: CodeProject.AI Server documentation
  url: https://codeproject.github.io/codeproject.ai/