Font generation API · HTTP
Fonts as an API call.
Send numbers, get a font back.
For image, video and PDF pipelines, and anything else that renders on a server.
Set in Foyer
One request,
one font.
No job queue and no polling. The response is the file.
curl https://engine.typomat.app/api/v1/fonts \
-H "Authorization: Bearer $TYPOMAT_KEY" \
-H "Content-Type: application/json" \
-o acme-display.ttf \
-d '{
"name": "Acme Display",
"parameters": { "weight": 118, "contrast": 0.92, "serif": 0.5 }
}'Response: 200 OK, font/ttf
acme-display.ttf15.7 KB
glyfThe outlines- 13,988
kernKerning- 474
locaWhere each one starts- 332
hmtxLetter widths- 328
nameThe font's name- 282
cmapCharacters to letters- 204
OS/2Metrics for Windows and browsers- 96
headThe header- 54
hheaLine spacing- 36
maxpLimits- 32
postPostScript names- 32
Another knob
for your renderer.
Keep your text rendering as it is. Typomat just gives it fonts nobody else has: a few numbers per customer, and a font per customer.
Try it
for free.
Sign in with your work email and you'll have an API key in a minute. No card, and no call.
Built for pipelines.
- Reproducible
- Store the parameters, not the file. The same numbers draw the same letters next year.
- Fonts or outlines
- A .ttf for your renderer, or SVG paths with kerning when you only need the shapes.
- 64 parameters
- From weight and width to stencil cuts and swashes, each with a documented range and default.
Good to know
Sign in with your work email, tell us your company, and you get an API key straight away. It's good for 100 fonts over 14 days, with no card, and it just stops at the end. It's for testing rather than your live product.
A TrueType font file from /api/v1/fonts, or JSON with SVG outlines from /api/v1/glyphs. The catalog of parameters is public at /api/v1/parameters, with no key needed.
The same parameters always draw the same letters, on any request. So you can store a few numbers rather than a file, and make the font again whenever you need it.
No. Each font is generated, sent back and forgotten. We count how many you make for your plan, and that's all that's stored.
The API answers 429 until the next month starts, and your account shows how far along you are. Nothing is charged automatically.
Use the API from a server pipeline, when you don't want to run WebAssembly yourself. Use the SDK when your users turn controls in a browser: it answers faster than any network can.
Try it in your product.
Start with the free API trial, or write to Marco about what you're building.