Vanguard AI

Introduction

The Vanguard AI API is a Computer Vision & AI platform built for Lao documents. It extracts structured data from images (OCR), transcribes and synthesises speech (STT / TTS), and exposes a multi‑model LLM chat — all behind a single API key.

Base URLs

EnvironmentBase URL
Productionhttps://api-ocr.vanguardinitiative.com
Local developmenthttp://localhost:8000

What you can do

  • OCR — read passports, ID cards, driving licenses, bank cards and enterprise registrations into clean JSON.
  • Speech‑to‑Text — transcribe Lao and other languages from audio.
  • Text‑to‑Speech — synthesise natural speech from text.
  • Chat — stream responses from multiple LLM providers with tool use.

How the API is organised

  • Control‑plane calls (auth, account, billing) use JSON.
  • Document scans upload multipart/form-data.
  • Long‑running work (STT, TTS) runs as asynchronous jobs you poll for completion.
  • Every response uses the same envelope: { "status": "success" | "error", ... }.

Next steps

  1. Follow the Quickstart to make your first call in minutes.
  2. Learn how Authentication and API keys work.
  3. Browse the API Reference for every endpoint.