A synchronous handwriting API. Send text, get print-ready PDF, PNG or SVG pages—or raw (x, y) strokes in drawing order for pen plotters. No fonts, no polling queues.
Use the same layout engine as our editor for print-ready files, or pull raw single-line pen paths straight into your plotter or canvas.
POST /v1/documentsBilled per page returned
Print-ready pages & cards
Full pagination, margins, 11 papers (plain, college, wide, legal pad, 5 mm squared, dot grid, Seyès, German Lineatur), Markdown styling, tables, LaTeX maths and realism controls (ballpoint, gel, fountain ink, paper grain, crossed-out mistakes).
Vector PDF at real A4, A5, Letter or Legal size
PNG at 150 dpi, 300 dpi HD or transparent background
SVG pages (or ZIP / base64 JSON with Accept: application/json)
POST /v1/handwritingBilled per 150 words
Raw pen paths for plotters
Built for AxiDraw, Bantam NextDraw, iDraw, Cricut and custom robot-pen fleets. Receive ordered pen-down polylines or a clean single-line SVG strip—so your machines write fluid human strokes instead of repeating font shapes.
format: "strokes" returns exact (x, y) polylines in drawing order
format: "svg" returns single-line vector paths with optional ink flow
Deterministic seed per recipient guarantees unique handwriting per card
Recipes
Ship in five minutes
Plain HTTP with Bearer authentication, predictable JSON or binary responses, and an llms.txt spec your coding assistant can read directly.
POST /v1/documents
Multi-page PDF with real pen ink
Send plain text or Markdown (headings, bold, highlights, tables, maths) and get a vector PDF at exact A4 or US Letter size, ready to print or mail.
curl https://api.inkhand.app/v1/documents \
-H "Authorization: Bearer ink_live_..." \
-H "Idempotency-Key: order-8841-letter" \
-H "Content-Type: application/json" \
-d '{
"text": "Dear Maya,\n\nThank you for your order. Every card we send is written fresh.\n\nWarmly,\nSam",
"hand": "br_119",
"format": "pdf",
"paper": "plain",
"page_size": "a5",
"pen": "fountain",
"ink_flow": 0.4,
"ink_texture": 0.35
}' \
-o thank-you.pdf
Returnsapplication/pdf · vector strokes at real A5 size · billed per page returned
Why teams switch from fonts
Fonts repeat. Hands don't.
Recipients spot a font-based card the second two “e”s sit next to each other. Our model generates fresh pen trajectories on every word.
A handwriting font“banana”, written 4 times
bananabananabananabanana
All four laid on top of each other
bananabananabananabanana
One shape, stamped four times.
InkHand“banana”, written 4 times
All four laid on top of each other
Four different words, as a hand writes them.
Built for reliabilityRFC 9457 application/problem+json errors, X-Request-Id on every call and 24-hour Idempotency-Key replays.
Transparent limitsIETF RateLimit and RateLimit-Policy headers on every response, plus GET /v1/usage for remaining pages.
88 curated + 1,743 totalGET /v1/hands returns vetted print, slanted and cursive hands with preview SVGs; ?all=true unlocks every id.
Fast responsesA typical card comes back in well under a second—no cold starts and no polling loop.
API pricing
Predictable pricing, half the cost of font APIs
Start free with test keys. Subscribe for monthly pages and higher throughput, or run live keys pay-as-you-go with prepaid packs that never expire.
Test
Free
Build and verify your integration before paying a cent.
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.