Guide
Styles
80 handwriting styles, from neat print to loose cursive. List them, compare their scores, then pass a style's id when you write.
List styles
GET/v1/styles
Returns every style in catalog order, featured styles first. Free to call.
Request
curl https://www.deepscribble.com/api/v1/styles \
-H "Authorization: Bearer $DEEPSCRIBBLE_API_KEY"Response
{
"object": "list",
"data": [
{
"id": "9d914b41-0358-49eb-9e2c-bfdb06163b60",
"object": "style",
"name": "Style 45",
"tags": ["featured"],
"scores": {
"size": 86, "neatness": 86, "width": 1,
"slant": 73, "cursive": 36, "reliability": 100
}
}
]
}Retrieve a style
GET/v1/styles/{id}
The same fields plus preview_svg, a short sample written in that style.
Request
curl https://www.deepscribble.com/api/v1/styles/9d914b41-0358-49eb-9e2c-bfdb06163b60 \
-H "Authorization: Bearer $DEEPSCRIBBLE_API_KEY"Response
{
"id": "9d914b41-0358-49eb-9e2c-bfdb06163b60",
"object": "style",
"name": "Style 45",
"tags": ["featured"],
"scores": {
"size": 86, "neatness": 86, "width": 1,
"slant": 73, "cursive": 36, "reliability": 100
},
"preview_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" …>…</svg>"
}Scores
Each score runs from 0 to 100 and ranks the style against the rest of the library, so 90 means it outranks 90% of styles.
size0–100How tall the letters stand within a region.
neatness0–100How easy the writing is to read.
width0–100How much horizontal room each character takes.
slant0–100How far the letters lean to the right.
cursive0–100How joined-up the letters are.
reliability0–100How consistently long lines come out complete.