Skip to main content
Ends Dec 1, PT
SciFig

Public API

Scientific figure API

Generate and edit scientific illustrations, plot charts from your data and draw flowcharts over HTTP, with the same engines as the SciFig website.

Same credits as the website: buy them once on the pricing page and use them anywhere.

Your first figure
curl -X POST https://scifig.ai/api/v1/images/generations \
  -H "Authorization: Bearer $SCIFIG_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Prefer: wait=25" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Mitochondrial electron transport chain, labelled", "aspect_ratio": "4:3"}'

Getting access

  1. 1

    Sign in

    Read-only keys work on any SciFig account. A key with any write scope requires an active subscription or a credit-pack balance above zero. This issuance rule also applies to free upload, text-detection and raster-conversion operations; it does not make those calls paid.

  2. 2

    Create a key

    Choose any of eight independent scopes. None grants another scope; uploads, job reads and balance reads require their own permissions.

  3. 3

    Call and wait

    Send a request with an Idempotency-Key and Prefer: wait=25, then download the outputs or read the job until it finishes.

What the API does

Working inside an AI assistant?

Claude, ChatGPT, Claude Code, Codex and Cursor can use OAuth. Clients that support only headers can use an API key.

Set up MCP

What each call costs

OperationsCredits
Image generation50 / 75 / 100 (standard / advanced / premium)
Image edit50 / 75 / 100; region or text 100
Text detectionFree
Upscale50 / 100 / 150 (2K / 4K / 8K)
ConversionSVG 150; PNG, PDF, TIFF and PPTX free
Chart or chart edit100
Flowchart or flowchart edit100
Reading jobs, files, credits and pricesFree

Credits are reserved when a job starts, charged once when it succeeds and returned in full when it fails. All prices.

Limits

20

create requests per minute per key

40

create requests per minute per account

120

read requests per minute per key

30 s

longest bounded wait per request

200

free raster conversions per day

Running tasks and tasks per hour follow your plan and are shared with the website. A 429 carries Retry-After: wait, then retry with the same Idempotency-Key.

Questions

Do I need a paid plan?+

Read-only keys work on any SciFig account. A key with any write scope requires an active subscription or a credit-pack balance above zero. This issuance rule also applies to free upload, text-detection and raster-conversion operations; it does not make those calls paid.

Are API credits separate from website credits?+

No. The website, the API and the MCP server share one balance and one price list.

What happens when a job fails?+

Its reservation is returned in full. An illustration that timed out may still be delivered for free within 24 hours; the job says until when.

Do my results appear on the website?+

Yes. Charts and flowcharts appear as conversations in their workspaces, where you can keep editing them; their outputs carry an editor_url that opens them there. Download links in API responses last an hour; read the job again for a new one.

Is there a test mode?+

No. Read-only calls and PNG, PDF, TIFF and PPTX conversions are free, so you can wire up most of an integration without spending credits.

Can I get higher limits?+

Write to us through the contact page with your expected volume.

Start with the request above

Create a key, paste the cURL command into a terminal and your figure is ready in about a minute.

Use SciFig with code and AI assistants

Bring SciFig AI Illustration, SciFig DataChart and SciFig FlowChart into your research workflow through the public API and remote MCP server. Generate, edit and export with the same SciFig account and credit balance.