Studio99
POST /api/v1/generate

Calligraphy Generation API

Generate production-ready calligraphy in SVG and PNG formats. Supports Hindi, Marathi, Gujarati, and English with auto-transliteration.

Endpoint

How it works

POST/api/v1/generate

Send text input, receive calligraphy results in SVG or PNG format. Each call returns up to 6 variations depending on your plan tier.

Input Parameters

textstringThe text to render in calligraphy
countnumberNumber of variations (1-6, plan-dependent)
formatstring"svg" or "png" output format
transliteratebooleanAuto-transliterate English to Devanagari
Request
curl -X POST https://studio99.app/api/v1/generate \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "शुभ विवाह",
    "count": 4,
    "format": "svg",
    "transliterate": true
  }'
Response
{
  "success": true,
  "data": {
    "generatedResults": [
      {
        "id": "gen_abc123",
        "fontFamily": "Chandas",
        "source": "generated",
        "svg": {
          "svgString": "<svg>...</svg>",
          "width": 800,
          "height": 200
        }
      }
    ]
  },
  "usage": { "monthlyUsed": 4, "monthlyLimit": 100, "remaining": 96 }
}
Languages

Supported languages and scripts

Devanagari

Hindi

Hindi calligraphy — शुभ विवाह
शुभ विवाह
Devanagari

Marathi

Marathi calligraphy — हार्दिक शुभेच्छा
हार्दिक शुभेच्छा
Gujarati

Gujarati

Gujarati calligraphy — શુભ લગ્ન
શુભ લગ્ન
Latin

English

English calligraphy — Happy Wedding
Happy Wedding
Output

Production-ready formats

SVG

Scalable vector output, ideal for print, web, and design tool integrations. No quality loss at any size.

PNG

Raster output with transparent background. Resolution depends on plan tier — up to 4096px for Growth and Enterprise.

Inline Output

SVG markup and base64-encoded PNGs returned directly in the JSON response — no external hosting or extra requests needed.

Start generating calligraphy with one API call.

Get your API key, test the endpoint, and ship calligraphy generation in your product today.