Inkside API
.inkside belgelerini (Markdown, LaTeX matematik, tablolar ve 408 el çizimi diyagram) GoodNotes 6, Notability 16, Samsung Notes, Noteful veya vektörel PDF olarak el yazısıyla oluştur ve REST üzerinden özel el yazıları içe aktar.
API anahtarları istek üzerine verilir. Hesabının e-posta adresinden hello@inkside.app adresine yazıp ne geliştirdiğini anlat.
Kimlik doğrulama
Anahtarını Authorization: Bearer ink_… olarak gönder. Anahtarlar kendi hesabı adına çalışır; onları sunucunda sakla.
Adil kullanım
Inkside ücretsizdir: günde 20 dosya ve 120 sayfa, belge başına en fazla 20 sayfa. Dakikada 20 / 60 / 60 (oluşturma / önizleme / kontrol).
5 yerel dışa aktarma formatı
Düzenlenebilir vektörel kalem çizgileri almak için POST /api/v1/render isteğinde istediğin formatı belirt.
goodnotesGoodNotes 6.goodnotesnotabilityNotability 16.ntbsamsungSamsung Notes.sdocxnotefulNoteful.notefulpdfVector PDF.pdf
Evrensel el yazısı içe aktarma
Herhangi bir eski el yazısı notunu (şablonsuz), doldurulmuş Inkside şablonunu, el yazısı fontunu veya JSON profilini POST /api/v1/handwritings adresine gönder (en fazla 12 MB).
.goodnotes.ntb.note.sdocx.noteful.pdf.ttf.otf.woff.jsonUç noktalar
POST
/api/v1/renderRender a document into a fileRenders 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 documentDiagnostics with lines and fixes, the page count and missing characters. No file, not counted.
POST
/api/v1/previewPreview a documentUp 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 fileThe 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 handwritingsThe account's own handwritings, then the presets. Name one in a document's header: `font: caveat`.
POST
/api/v1/handwritingsImport a handwritingImports 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 handwritingDELETE
/api/v1/handwritings/{id}Delete an own handwritingGET
/api/v1/handwritings/{id}/sample.svgA specimen of a handwritingGET
/api/v1/componentsSearch drawing componentsPrecomputed drawing components for ```draw blocks: how to use each one, never how it is drawn.
GET
/api/v1/components/{name}Get a drawing componentGET
/api/v1/usageToday's fair-use countersGET
/api/v1/formatThe .inkside formatThe format reference as Markdown: header fields, Markdown, math, tables, ```draw and the other figure blocks.
Hızlı başlangıç örnekleri
1. Matematik ve devre şemalı çalışma kağıdı oluştur
# 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.goodnotes2. Eski not, şablon, font veya JSON'dan el yazısı içe aktar
# 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 çizimlik katalogda ara
# Search the 408-component hand-drawn STEM diagram catalog curl "https://inkside.app/api/v1/components?q=heart" \ -H "Authorization: Bearer $INKSIDE_KEY"
Web sitesi oturumları ve ChatGPT bağlantıları yalnızca web sitesinde ve ChatGPT'de çalışır. Bunları başka yerde kullanmak, istemciyi taklit etmek veya anahtar paylaşmak hesabın askıya alınmasına yol açar.