# InkHand Handwriting API

> Synchronous REST API for real AI handwriting: print-ready PDF, PNG and SVG pages plus raw (x, y) pen strokes for plotters and writing robots.

Synchronous REST API (~25 ms per card, no polling queue, 1,500+ hands, zero repeating font glyphs).

## Endpoints

- `POST /v1/documents`: text or Markdown -> print-ready vector PDF, PNG (150/300 dpi, transparent) or SVG pages on 11 papers. Billed per page returned.

- `POST /v1/handwriting`: text -> single-line SVG strip or raw `(x, y)` pen strokes in drawing order for AxiDraw, NextDraw, iDraw, Cricut and writing robots. Billed per 150 words.

- `GET /v1/hands`: 88 curated hands (`?all=true` for all 1,743 renderer ids).

- `GET /v1/usage`: remaining pages and limits.

OpenAPI reference: https://api.inkhand.app/reference · OpenAPI JSON: https://api.inkhand.app/openapi.json · LLM spec: https://api.inkhand.app/llms.txt

## Pricing

- Test keys: free (50 watermarked pages/month, 10 req/min).

- API plan: $49/month or $490/year (1,000 API pages/month, 120 req/min, 4 concurrent).

- Scale plan: $199/month or $1,990/year (5,000 API pages/month, 300 req/min, 12 concurrent, up to 10,000 words/request).

- Enterprise / OEM: custom ($500+/month) for 20,000+ pages, a custom handwriting style and OEM licensing.

## Pay-as-you-go packs

- 100 pages: $12 ($0.120 a page)
- 500 pages: $45 ($0.090 a page)
- 2,000 pages: $140 ($0.070 a page)
- 10,000 pages: $550 ($0.055 a page)

## Questions

### How do test keys differ from live keys?

Every account can create free test keys (ink_test_...) with 50 pages a month at 10 requests a minute. Test responses carry a small watermark and are never billed. Live keys (ink_live_...) return clean files and work on the API plan, the Scale plan, or with top-up pages.

### Can I drive a pen plotter or writing robot from the API?

Yes. Call POST /v1/handwriting with format set to "strokes" (or "svg" for a single-line vector). The model outputs real pen paths as ordered (x, y) polylines in drawing order—with natural variation on every letter, never repeating single-line font glyphs.

### Is the API synchronous or queued?

Synchronous. Every POST /v1/documents and POST /v1/handwriting call returns the finished PDF, PNG, SVG, ZIP or strokes directly in the response—no webhook setup or polling loop required.

### How are pages counted and billed?

POST /v1/documents bills one page per page returned. POST /v1/handwriting bills one page per 150 words. Failed requests are never charged. Monthly plan pages are used first (1,000 on API, 5,000 on Scale), then prepaid top-up pages that never expire. Pay-as-you-go live keys run at 60 requests/minute (2 concurrent).

### Are retries safe?

Yes. Send an Idempotency-Key header (such as a UUID) on any POST request. Retrying with the same key within 24 hours replays the original response without billing again.

### Do you offer higher volume or custom handwriting?

Yes. For 20,000+ pages a month, dedicated capacity or a handwriting style made for your brand, write to us from the contact page.
