API Playground
Call the APIs. Right here.
Every ZenithAI capability is also an API. Paste your API key below and test five of them against the live endpoint, straight from this page: image to structured JSON, OCR on scanned documents, PDF text extraction, audio transcription and document summaries. Nothing you upload is retained — files are processed and discarded immediately.
Verify your key to unlock the playground. Don’t have one? Request a demonstration and we’ll set you up.
The playground unlocks after your API key is verified. Paste your key above and press Verify key.
Send an image with a JSON Schema and get back structured data that conforms to it — extraction, description or classification, decided by your prompt and schema.
The same call as curl
Recognises text in scanned, image-only documents. A PDF starts an OCR job which this page polls until it finishes; a photo or screenshot is read directly by the vision model via /generate.
PDFs that already contain selectable text don’t need OCR — the PDF → Text tab reads those instantly, without a model.
The same call as curl
Deterministic extraction of text and tables from PDFs that have a text layer — statements, invoices, reports. No model involved, so it answers in milliseconds.
The same call as curl
Attach an audio clip and ask for a transcript — or minutes, action items, a summary. Meeting recordings and voice notes become text your systems can use.
The same call as curl
Attach a Word document, text file or PDF and instruct the model: summarise it, pull out decisions and dates, or answer a question about it. The text is extracted server-side.
The same call as curl
How every call works
One shape, five capabilities.
- 01Authenticate with a header —
X-API-Key: YOUR_API_KEY— on every request. - 02Files travel as base64 inside the JSON body: images in
images, documents and audio inattachments. - 03Fast calls answer in the response itself; heavy OCR returns a
job_idyou poll until it’s done.
The same key drives all endpoints, with per-key usage visible to your administrator. Model tiers — Instant, Fast, Smart, Genius — are selected per call with the "model" field.
curl -X POST https://llm.dil.in/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "Smart",
"prompt": "Describe this image.",
"images": ["BASE64_IMAGE_DATA"],
"format": {
"type": "object",
"additionalProperties": false,
"required": ["description"],
"properties": {"description": {"type": "string"}}
}
}'Bring it inside your boundary
The same APIs, on your infrastructure.
Everything on this page runs identically on a ZenithAI deployment inside your own data centre — your documents, your models, your keys, with no token billing on your own deployment.