API do Inkside

Renderize documentos .inkside (Markdown, fórmulas LaTeX, tabelas e 408 diagramas desenhados à mão) em escrita à mão nativa para GoodNotes 6, Notability 16, Samsung Notes, Noteful ou PDF vetorial, e importe letras próprias via REST.

As chaves de API estão disponíveis sob pedido. Escreva para hello@inkside.app do e-mail da sua conta dizendo o que você está construindo.

Autenticação

Envie sua chave como Authorization: Bearer ink_…. As chaves representam sua conta; mantenha-as no servidor.

Uso justo

O Inkside é grátis: 20 arquivos e 120 páginas por dia, até 20 páginas cada. 20 / 60 / 60 por minuto (renderização / prévia / verificação).

5 formatos nativos de exportação

Passe qualquer formato em POST /api/v1/render para receber traços vetoriais editáveis.

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

Importação universal de caligrafia

Envie qualquer anotação manuscrita antiga (sem modelo), um modelo preenchido do Inkside, uma fonte manuscrita ou um perfil JSON para POST /api/v1/handwritings (até 12 MB).

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

Endpoints

  • 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.

Exemplos rápidos

1. Renderizar um resumo com fórmulas e circuito

# 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. Importar letra de uma anotação, modelo, fonte ou 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. Pesquisar no catálogo de 408 diagramas

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

Sessões do site e conexões do ChatGPT só funcionam no site e no ChatGPT. Usá-las em outro lugar, simular clientes ou compartilhar chaves suspende a conta.