Studio99 Generate API

Styled calligraphy variants from a phrase.

GitHub OpenAPI

Operations 1

POST /generate Generate calligraphy variants #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/studio99-app:studio99-app-generate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

studio99-app-generate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Studio99 Indic Typography Generate API
  version: '1.2'
  summary: The typography engine for Indian scripts.
  description: 'Studio99 is the typography engine for Indian scripts. It lets creative apps, designers and AI generate exact, beautiful Hindi, Marathi, Gujarati and English text as editable artwork.


    The API returns exact, editable Hindi, Marathi, Gujarati and English text as SVG and PNG. Two write paths:


    - **POST /generate**: hand it a phrase, get back several styled calligraphy variants (the engine picks fonts and composition).

    - **POST /render**: hand it a phrase and a `fontId`, get back that exact rendering.


    Read paths (`/fonts`, `/library/search`, `/capabilities`, `/health`) are free. Metered calls cost 1 credit per variant or output.


    Plans: Free 100 credits/month · Basic ₹999 for 500 · Starter ₹2,999 for 5,000 · Growth ₹9,999 for 25,000 · Enterprise custom.


    Rate limits: Free: 5/min · Basic: 20/min · Starter: 20/min · Growth: 60/min · Enterprise: 120/min.


    Text can be typed in the target script (Unicode) or in Latin letters ("shubh vivah"); the API transliterates when a language is given or detected.'
  termsOfService: https://studio99.app/terms
  contact:
    name: ArtoMania Studio (Studio99)
    email: reach@studio99.app
    url: https://studio99.app/developers
  x-logo:
    url: https://studio99.app/ICON.png
    altText: Studio99
servers:
- url: https://studio99.app/api/v1
  description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Generate
  description: Styled calligraphy variants from a phrase.
paths:
  /generate:
    post:
      tags:
      - Generate
      operationId: generate
      summary: Generate calligraphy variants
      description: Returns up to `count` styled variants of the phrase, each as an editable SVG (plus PNG if requested). Costs 1 credit per variant returned. Text length up to 150 characters on paid plans; `count` is capped at 6. Omit `language` to auto-detect. Use `use_case` and `mood` to steer font selection semantically. Free-plan calls return a watermarked JPG `preview` instead of SVG/PNG.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateRequest'
            examples:
              wedding:
                summary: Hindi wedding phrase, typed in Latin letters
                value:
                  text: shubh vivah
                  language: hindi
                  use_case: wedding
                  count: 4
              gujaratiPng:
                summary: Gujarati, with a PNG alongside the SVG
                value:
                  text: શુભ લગ્ન
                  format: png
                  pngWidth: 1600
                  count: 2
              reproducible:
                summary: Two-line layout with a fixed seed
                value:
                  text: हार्दिक शुभेच्छा
                  lines: 2
                  seed: 42
                  recipe: flagship
      responses:
        '200':
          description: Variants generated.
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
              description: Requests allowed per minute on your plan.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: Requests left in the current minute.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: Unix time (seconds) when the minute window resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/GenerateResponse'
                  usage:
                    $ref: '#/components/schemas/Usage'
                required:
                - success
                - data
        '400':
          description: 'Invalid body: missing text, unsupported language/format/engine/align, or text too long (TEXT_TOO_LONG).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, revoked or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The given fontId does not exist (FONT_NOT_FOUND).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Per-minute rate limit hit (RATE_LIMIT_EXCEEDED) or monthly allowance exhausted (INSUFFICIENT_CREDITS).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
              description: Requests allowed per minute on your plan.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: Requests left in the current minute.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: Unix time (seconds) when the minute window resets.
        '500':
          description: The engine failed (GENERATION_FAILED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - false
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - AUTHENTICATION_REQUIRED
              - INVALID_INPUT
              - TEXT_TOO_LONG
              - FONT_NOT_FOUND
              - INVALID_FORMAT
              - FORMAT_NOT_AVAILABLE
              - LIBRARY_COMING_SOON
              - RATE_LIMIT_EXCEEDED
              - INSUFFICIENT_CREDITS
              - GENERATION_FAILED
            message:
              type: string
          required:
          - code
          - message
      required:
      - success
      - error
    PreviewJpg:
      type: object
      description: 'Free-plan preview: a small watermarked JPG with no commercial licence. Upgrade for clean SVG/PNG.'
      properties:
        base64:
          type: string
          contentEncoding: base64
          contentMediaType: image/jpeg
        width:
          type: integer
        height:
          type: integer
        format:
          type: string
          enum:
          - jpg
        watermarked:
          type: boolean
          enum:
          - true
        commercialLicense:
          type: boolean
          enum:
          - false
      required:
      - base64
      - width
      - height
      - format
      - watermarked
      - commercialLicense
    GeneratedResult:
      type: object
      properties:
        id:
          type: string
        fontId:
          type: string
        fontFamily:
          type: string
        originalText:
          type: string
          description: What you sent.
        resultText:
          type: string
          description: The Unicode text actually rendered (after transliteration).
        fontTier:
          type: string
          enum:
          - FREE
          - PRO
        source:
          type: string
          enum:
          - generated
          - curated
        svg:
          type:
          - object
          - 'null'
          properties:
            path:
              type: string
              description: The glyph outlines as a single SVG path `d` string.
            width:
              type: number
            height:
              type: number
            svgString:
              type: string
              description: A complete, editable SVG document.
        png:
          $ref: '#/components/schemas/PngOutput'
        preview:
          $ref: '#/components/schemas/PreviewJpg'
        commercialLicense:
          type: boolean
        label:
          type: string
          description: Slate slot label, e.g. "Flagship" (typogen-x).
        archetype:
          type: string
          description: 'Recipe used: plain | flagship | duo | free (typogen-x).'
        lineCount:
          type: integer
          description: Lines in the composed layout (typogen-x).
      required:
      - id
      - fontId
      - fontFamily
      - originalText
      - resultText
      - fontTier
      - source
    GenerateRequest:
      type: object
      required:
      - text
      properties:
        text:
          type: string
          maxLength: 150
          description: The phrase, in the target script or in Latin letters.
        language:
          type: string
          enum:
          - hindi
          - marathi
          - gujarati
          - english
          - hi
          - mr
          - gu
          - en
          description: Omit to auto-detect.
        count:
          type: integer
          minimum: 1
          maximum: 6
          default: 4
          description: Variants to return; 1 credit each.
        format:
          type: string
          enum:
          - svg
          - png
          default: svg
          description: '"png" adds a `png` object to each variant alongside the SVG.'
        pngWidth:
          type: integer
          description: Target PNG width in px (clamped to your plan's ceiling).
        fontId:
          type: string
          description: Pin every variant to one font (from GET /fonts).
        use_case:
          type: string
          enum:
          - certificates
          - greetings
          - invitations
          - logos
          - names
          - occasions
          - posters
          - quotes
          - birthday
          - casual
          - festive
          - formal
          - memorial
          - religious
          - wedding
          description: Semantic font steer.
        mood:
          type: string
          enum:
          - elegant
          - festive
          - playful
          - romantic
          - serious
          - spiritual
          description: Semantic font steer.
        style:
          type: string
          description: 'Classic engine only: style hint.'
        weight:
          type: string
          description: 'Classic engine only: weight hint.'
        engine:
          type: string
          enum:
          - typogen-x
          - classic
          description: Overrides the per-key default engine.
        align:
          type: string
          enum:
          - center
          - left
          - right
          default: center
          description: Multi-line alignment (typogen-x).
        lines:
          oneOf:
          - type: string
            enum:
            - auto
          - type: integer
            minimum: 0
            maximum: 6
          description: '"auto" (default), 0/1 for a single line, or 2–6 to force that many lines (typogen-x).'
        lineGap:
          type: number
          description: Extra vertical gap for left/right aligned layouts (typogen-x).
        recipe:
          oneOf:
          - type: string
          - type: array
            items:
              type: string
          description: 'Treatment(s): plain | flagship | duo | free (typogen-x).'
        seed:
          type: integer
          description: Same seed + same input = same output (typogen-x).
    PngOutput:
      type: object
      description: 'Transparent PNG, base64-encoded (no data: prefix).'
      properties:
        base64:
          type: string
          contentEncoding: base64
          contentMediaType: image/png
        width:
          type: integer
        height:
          type: integer
      required:
      - base64
      - width
      - height
    GenerateResponse:
      type: object
      properties:
        generatedResults:
          type: array
          items:
            $ref: '#/components/schemas/GeneratedResult'
        libraryResults:
          type: array
          items:
            $ref: '#/components/schemas/LibraryItem'
          description: Matching Inkora artworks. Only returned to first-party channel keys.
        metadata:
          type: object
          properties:
            engine:
              type: string
              enum:
              - typogen-x
              - classic
            language:
              type: string
            align:
              type: string
            lines:
              type: array
              items:
                type: string
              description: The line split used (typogen-x).
            seedBase:
              type: integer
            transliteration:
              type: object
              additionalProperties: true
            fontSelection:
              type: object
              additionalProperties: true
              description: Classic engine only.
            processingTimeMs:
              type: integer
      required:
      - generatedResults
      - metadata
    Usage:
      type: object
      description: 'Monthly allowance meter, returned on metered calls. Consumers of this API are billed in credits: 1 credit per variant returned by /generate, 1 credit per output from /render, 1 credit per library download.'
      properties:
        monthlyUsed:
          type: integer
          description: Credits used so far this billing month.
        monthlyLimit:
          type: integer
          description: Monthly credit allowance. -1 means uncapped (Enterprise contract or internal channel).
        remaining:
          type: integer
          description: Credits left this month. -1 means uncapped.
        unit:
          type: string
          enum:
          - credits
          description: Present when the credits model is enforced.
        creditsCharged:
          type: integer
          description: Credits debited by this call (credits model only).
        license:
          type: string
          enum:
          - commercial
          - preview-non-commercial
          description: Licence that applies to the returned assets. Free-plan output is a watermarked preview with no commercial licence.
      required:
      - monthlyUsed
      - monthlyLimit
      - remaining
    LibraryItem:
      type: object
      description: An Inkora library artwork (ready-made text art).
      properties:
        id:
          type: string
        shortId:
          type: string
        slug:
          type: string
        displayName:
          type: string
        textEnglish:
          type:
          - string
          - 'null'
        textDevanagari:
          type:
          - string
          - 'null'
        thumbnailUrl:
          type: string
          format: uri
        previewUrl:
          type:
          - string
          - 'null'
          format: uri
        pricingTier:
          type: string
          enum:
          - FREE
          - PRO
        category:
          type:
          - object
          - 'null'
          properties:
            id:
              type: string
            name:
              type: string
            slug:
              type: string
        language:
          type:
          - object
          - 'null'
          properties:
            id:
              type: string
            name:
              type: string
            code:
              type: string
      required:
      - id
      - shortId
      - slug
      - displayName
      - thumbnailUrl
      - pricingTier
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Create keys at https://accounts.studio99.app/dashboard/products/studio99-api
    BearerAuth:
      type: http
      scheme: bearer
      description: The same API key, sent as a Bearer token.
externalDocs:
  description: Developer documentation
  url: https://studio99.app/developers/docs
x-studio99:
  creditsModelEnforced: true
  mcp: https://mcp.studio99.app/api/mcp
  benchmark: https://studio99.app/developers/benchmark
  pricing: https://studio99.app/developers/pricing