figviz
API Docs

Overview

Figviz API documentation, generate educational diagrams programmatically

The Figviz API turns plain-text descriptions into clean, labeled science and math diagrams. It is the same generation engine that powers the Figviz web app, exposed as a single REST endpoint so you can build diagram creation into your own product, worksheet pipeline, or LMS integration.

Who this is for

Teams that need diagrams produced at scale without a designer in the loop: edtech platforms generating per-lesson visuals, publishers building figure sets, and internal tools that turn a teacher's prompt into a printable image.

Three steps to your first image

  1. Sign up at figviz.com and add a pay-as-you-go credit pack.
  2. Open Settings > API and mint a key. It is shown once and starts with fvk_.
  3. Send a POST to /api/v1/generate. The full contract is in the API Reference.
curl -X POST https://figviz.com/api/v1/generate \
  -H "Authorization: Bearer fvk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "labeled neuron with axon, dendrites, and synapse", "quality": "2k"}'

The call is synchronous: the response carries the finished image URLs, so there is no task queue to poll.

What you get

  • One endpoint, one round trip. No polling, no webhooks to wire up.
  • Subjects across the STEM curriculum plus charts, flowcharts, and concept maps.
  • Resolutions up to 4K, sharp enough for poster and print output.
  • Up to four diagrams per request for batch jobs.
  • Labels in English and several other languages, driven by the prompt.
  • One shared credit balance with the web app. You are billed only for images that succeed.