One endpoint. Send a prompt, get a high-resolution PNG. Power your platform with Figviz diagram generation, the same engine behind 70+ tools, now accessible via REST.
POST https://figviz.com/api/v1/generate · Bearer fvk_*
curl https://figviz.com/api/v1/generate \
-H "Authorization: Bearer fvk_your_api_key" \
-H "Content-Type: application/json" \
-d '{"prompt":"Labeled plant cell diagram, grade 8","quality":"4k"}'Response 200 → { "images": [{ "url": "https://cdn.figviz.com/…png", "prompt": "…" }] }
A zero-dependency Node.js client and CLI that wraps the REST API. Generate diagrams in a few lines.
npm install @figviz/figviz-sdk
Generate diagrams straight from Claude Desktop, Cursor, and other AI assistants — no code required.
npx -y @figviz/figviz-mcp
{
"prompt": string | "prompts": string[],
"quality": "1k" | "2k" | "4k",
"aspectRatio"?: string
}{
"images": [
{
"url": string,
"prompt": string
}
]
}Generate print-ready science diagrams at scale. Produce labeled and unlabeled variants of every figure in a single pipeline run.
Embed auto-generated diagrams in course modules, quizzes, and adaptive learning paths, keyed to subject and grade level.
Turn researcher prompts into journal-quality scientific figures for preprints, slide decks, and reports in seconds.
API calls draw from the same credit balance as the Figviz web app. 1 credit per diagram (1.5 credits for 4K). Credits never expire. Start with the 3 free credits on signup, no card required.
Credits shared with the Figviz web app · 1K/2K = 1 credit · 4K = 1.5 credits · See full pricing →
3 free diagrams on signup. No card required.