Skip to content

Handwriting ​

The font, ink, and realism settings describe the handwriting. The page around it is described in Page setup.

Font and ink ​

font_id defaults to caveat. The full list is on the Fonts page. A connected font joins letters inside a word. A print font keeps them separate.

ink is a six-digit hex color. The default is #000000.

json
{
  "font_id": "dancing-script",
  "ink": "#244f9e"
}
FieldDefaultRangeMeaning
letter_spacing_mm0-0.5–3Extra space between letters
word_spacing_mm00–10Extra space between words
pen_weight10–5Stroke weight. 1 is a normal pen

Realism ​

realism selects how much the writing varies. The default is natural.

ValueWhat you getKey
offEven spacing and even strokesEvery key
subtleA light change in word spacing, line starts, and line gapsEvery key
naturalThe usual handwritten variation in placementEvery key
realisticNatural placement, plus ink that darkens and fadesEnabled per key
lifelikeRealistic ink, plus small changes in letter shapeEnabled per key

The preset values are:

Word placementLine startsLine spacingInk flowLetter shapes
off00000
subtle58800
natural10151500
realistic101515500
lifelike1015155050

Send realism_advanced to replace individual sliders. Each slider is an integer from 0 to 100. A field you omit keeps the preset value. Ink flow, ink texture, letterform variation, and per-letter tilt are enabled per key. A setting the key cannot use returns feature_not_enabled.

json
{
  "realism": "natural",
  "realism_advanced": {
    "line_starts": 25,
    "ink_flow": 40
  }
}

tilt_each_letter tilts letters and still keeps a connected word joined.

page_look adds paper texture, shading, and soft focus. It is enabled per key and is skipped for a transparent PNG.

FieldDefaultRange
paper_texture00–100
paper_texture_stylefinefine, fiber, laid
shading00–100
soft_focus00–100

Seed ​

seed is an integer from 0 through 2147483647. Send the same seed with the same text and settings to draw the same variation again. Omit it to receive a new variation. The response always includes the seed that was used, so you can store it with the download.

Keys are enabled after you request access.