Inkside API

.inkside डॉक्यूमेंट्स (Markdown, LaTeX मैथ, टेबल और 408 हस्तनिर्मित डायग्राम) को GoodNotes 6, Notability 16, Samsung Notes, Noteful या वेक्टर PDF में रेंडर करें और REST से कस्टम हैंडराइटिंग इम्पोर्ट करें।

API कीज़ अनुरोध पर उपलब्ध हैं। अपने अकाउंट के ईमेल से hello@inkside.app पर लिखें और बताएँ कि आप क्या बना रहे हैं।

प्रमाणीकरण

अपनी की को Authorization: Bearer ink_… के रूप में भेजें। कीज़ अपने अकाउंट के लिए काम करती हैं; इन्हें अपने सर्वर पर सुरक्षित रखें।

उचित उपयोग

Inkside मुफ़्त है: रोज़ाना 20 फ़ाइलें और 120 पेज, हर फ़ाइल में अधिकतम 20 पेज। 20 / 60 / 60 प्रति मिनट (रेंडर / प्रीव्यू / जाँच)।

5 नेटिव एक्सपोर्ट फ़ॉर्मेट

एडिटेबल वेक्टर पेन स्ट्रोक्स के लिए POST /api/v1/render में कोई भी फ़ॉर्मेट भेजें।

  • goodnotesGoodNotes 6.goodnotes
  • notabilityNotability 16.ntb
  • samsungSamsung Notes.sdocx
  • notefulNoteful.noteful
  • pdfVector PDF.pdf

यूनिवर्सल हैंडराइटिंग इम्पोर्ट

कोई भी पुराना हस्तलिखित नोट (बिना टेम्पलेट), भरा हुआ Inkside टेम्पलेट, हैंडराइटिंग फ़ॉन्ट या JSON प्रोफ़ाइल POST /api/v1/handwritings पर भेजें (12 MB तक)।

.goodnotes.ntb.note.sdocx.noteful.pdf.ttf.otf.woff.json

एंडपॉइंट्स

  • POST/api/v1/renderRender a document into a file

    Renders an .inkside document into one of 5 native formats (`goodnotes`, `notability`, `samsung`, `noteful`, `pdf`). Counts one file and its pages against the day's fair-use limits. A document with errors is refused (422) with its diagnostics.

  • POST/api/v1/checkCheck a document

    Diagnostics with lines and fixes, the page count and missing characters. No file, not counted.

  • POST/api/v1/previewPreview a document

    Up to 6 pages (`count`, default 6) as SVG (PDF points), from page `from` (0-based, default 0). Not counted as files; limited per minute.

  • POST/api/v1/extractRead the text of a file

    The text of a PDF (at most 120 pages are read), a Word or PowerPoint file, or a plain text or Markdown file (the request body, at most 15 MB), as Markdown to write as a document. Nothing is stored. Not counted as a file; limited per minute like checks.

  • GET/api/v1/handwritingsList handwritings

    The account's own handwritings, then the presets. Name one in a document's header: `font: caveat`.

  • POST/api/v1/handwritingsImport a handwriting

    Imports a custom handwriting from raw binary bytes (`application/octet-stream`, at most 12 MB). Supports four input types: (a) Any past handwritten notebook or page with zero template needed: GoodNotes (`.goodnotes`), Notability 16 (`.ntb`), Notability classic (`.note`), Samsung Notes (`.sdocx`), Noteful (`.noteful`), or a vector handwritten PDF (`.pdf`). (b) Filled-in Inkside handwriting templates (`.goodnotes`, `.pdf`, `.ntb`, `.sdocx`, `.noteful`). Templates: https://inkside.app/templates/inkside-template-en.goodnotes, -de.goodnotes, -es.goodnotes, and -fr.goodnotes (plus matching `.pdf` files). (c) Outline handwriting font files (`.ttf`, `.otf`, `.woff`). (d) Handwriting profile JSON backups (`handschrift-sammlung` / `handschrift-profil` JSON and Inkside `InkFont` JSON). Photos and raster scans without vector pen strokes are rejected.

  • PATCH/api/v1/handwritings/{id}Rename an own handwriting

  • DELETE/api/v1/handwritings/{id}Delete an own handwriting

  • GET/api/v1/handwritings/{id}/sample.svgA specimen of a handwriting

  • GET/api/v1/componentsSearch drawing components

    Precomputed drawing components for ```draw blocks: how to use each one, never how it is drawn.

  • GET/api/v1/components/{name}Get a drawing component

  • GET/api/v1/usageToday's fair-use counters

  • GET/api/v1/formatThe .inkside format

    The format reference as Markdown: header fields, Markdown, math, tables, ```draw and the other figure blocks.

क्विकस्टार्ट उदाहरण

1. गणित और सर्किट डायग्राम के साथ स्टडी शीट रेंडर करें

# format: "goodnotes" | "notability" | "samsung" | "noteful" | "pdf"
curl https://inkside.app/api/v1/render \
  -H "Authorization: Bearer $INKSIDE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "goodnotes",
    "document": "---\nfont: caveat\ntitle: Physics Notes\n---\n# Energy\n\n$E = mc^2$\n\n```draw\nplace battery b at (20, 40)\nplace resistor r at (80, 40)\nwire b.plus to r.left\n```"
  }' \
  -o physics-notes.goodnotes

2. पुराने नोट, टेम्पलेट, फ़ॉन्ट या JSON से हैंडराइटिंग इम्पोर्ट करें

# Upload any past note (.goodnotes, .ntb, .note, .sdocx, .noteful, vector .pdf),
# filled-in template, font (.ttf, .otf, .woff), or JSON profile (max 12 MB)
curl -X POST "https://inkside.app/api/v1/handwritings?name=My%20Handwriting" \
  -H "Authorization: Bearer $INKSIDE_KEY" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @past-notes.goodnotes

3. 408 ड्रॉइंग कंपोनेंट्स के कैटलॉग में खोजें

# Search the 408-component hand-drawn STEM diagram catalog
curl "https://inkside.app/api/v1/components?q=heart" \
  -H "Authorization: Bearer $INKSIDE_KEY"

वेबसाइट सेशन और ChatGPT लिंक केवल वेबसाइट और ChatGPT में काम करते हैं। इन्हें कहीं और इस्तेमाल करने, नकली क्लाइंट बनाने या कीज़ शेयर करने पर अकाउंट सस्पेंड हो जाता है।