
Signature Generator API
Design
Create a handwritten signature from your name in 20 styles, draw one, or clean up a photo of yours. Download a transparent PNG with matching initials.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
20 requests per minute
Endpoints
1 endpoint available
Overview
Draws a typed name as a handwritten signature in one of 20 signature fonts, with ink colour, lean, pen weight and an optional underline or swoosh, and returns a PNG trimmed to the ink. It can also return matching initials. It uses the same drawing code as the web page's Type tab; drawing by hand and cleaning up a photo of a signature are only on the web page.
Fonts
mr-dafoe(Confident),herr-von-muellerhoff(Executive),mrs-saint-delafield(Flowing),monsieur-la-doulaise(Flourished),great-vibes(Elegant),allura(Graceful),alex-brush(Brush),pinyon-script(Formal),parisienne(Parisian),sacramento(Thin line),whisper(Light),birthstone(Modern),yellowtail(Retro),dancing-script(Friendly),meddon(Old-fashioned),la-belle-aurore(Natural),cedarville-cursive(Everyday),zeyada(Quick),kristi(Sweeping),caveat(Casual).
Limits and behavior
- Names up to 60 characters. The signature is drawn at a 260 px font size, about 1,500 px wide for a full name, then trimmed to the ink with a small margin.
output=initialstakes the first letter of each word or hyphenated part (e.g. "Mary-Jane Smith" gives "MJS") and never adds a flourish.- The response body is the PNG itself (
image/png), namedsignature-<name>.pngorsignature-<name>-initials.png. Errors are JSON:{"success": false, "error": "..."}.
Endpoints
POST
https://opentools.ca/api/v1/tools/signature-generatorDraw a typed signature or initials as a PNG
Request Body
Content-Type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Required | The name to sign, up to 60 characters. |
| font | string Enum: mr-dafoe, herr-von-muellerhoff, mrs-saint-delafield, monsieur-la-doulaise, great-vibes, allura, alex-brush, pinyon-script, parisienne, sacramento, whisper, birthstone, yellowtail, dancing-script, meddon, la-belle-aurore, cedarville-cursive, zeyada, kristi, caveat | Optional | Signature style. See Fonts.Default: mr-dafoe |
| colour | string | Optional | Hex ink colour. The page offers #111827 (black), #1d4ed8 (blue), #1e3a8a (navy) and #7f1d1d (maroon).Default: #111827 |
| slant | number | Optional | Lean in degrees, -12 to 24. Positive leans right.Default: 0 |
| weight | number | Optional | Extra pen thickness, 0 (as designed) to 3 (heavy).Default: 0 |
| flourish | string Enum: none, underline, swoosh, double | Optional | Stroke under the signature.Default: none |
| background | string Enum: transparent, white | Optional | Transparent PNG, or on white.Default: transparent |
| output | string Enum: signature, initials | Optional | The full signature, or matching initials.Default: signature |
Response Example
The body is the signature image (Content-Type: image/png), sent as an attachment named "signature-<name>.png". Errors return JSON, for example:
{
"success": false,
"error": "Invalid request.",
"details": [
{
"field": "name",
"message": "String must contain at most 60 character(s)"
}
]
}Error Codes
400
Bad Request - Missing name or an invalid option401
Unauthorized - Invalid or missing API key403
Forbidden - API key inactive, expired, or not allowed from this IP422
Unprocessable - Nothing could be drawn for that name in this style429
Too Many Requests - Rate limit exceeded500
Internal Server ErrorCode Examples
curl -X POST https://opentools.ca/api/v1/tools/signature-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Appleseed",
"font": "great-vibes",
"colour": "#1d4ed8",
"slant": 6,
"flourish": "swoosh"
}' \
-o signature.pngRather use it in your browser? Open the Signature Generator