26% OFFEnd-of-Year Special - Give value to your research budget. Use promo code YEAREND26Claim the deal

REST & Async Webhook Architecture

Renderfig Developer API

The programmatic platform for Renderfig Precision Vectorization with editable text, scientific document-to-figure synthesis, scene graph AST patching, and native PowerPoint (.pptx) transpilation.

Vectorization

Scientific Figures

SVG & Graphics

Export & Jobs

Authentication

All requests require a Bearer key header:
Authorization: Bearer rf_live_...

POST/v1/vectorizeFlagship

Vectorize Image with Editable Text

The Renderfig Precision Vector Engine runs in four distinct stages: 1) AI Vision OCR extracts all text runs and typography; 2) Text bounding boxes are inpainted with surrounding colors; 3) Geometric tracing converts artwork into smooth bezier paths; 4) Natively editable `<text>` elements are scaled and assembled into `<g id="k2s-text">`.

Cost: 200 credits / image

Request Parameters

imagestring (URL or base64 data URL) | FileREQUIRED

The raster image to vectorize.

keep_text_editablebooleanoptional

When true (default), runs AI OCR to retain text as native editable `<text>` elements. When false, traces text glyphs into geometric paths.

asyncbooleanoptional

When true, returns 202 Accepted with a job ID for background processing.

optionsobjectoptional

Vector engine fine-tuning parameters (group_by: 'layer', min_area_px, max_colors).

Rendered Vector Output Preview

100% Scalable Vector
Ingest APIRenderfig VectorLayered SVG
curl -X POST https://renderfig.com/api/v1/vectorize \
  -H "Authorization: Bearer rf_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/system-architecture.png",
    "keep_text_editable": true
  }'

Response Payload (200 OK)

application/json
{
  "id": "vec_9f83a02b",
  "object": "vectorization",
  "engine": "renderfig-precision",
  "keep_text_editable": true,
  "dimensions": {
    "width": 1200,
    "height": 800
  },
  "text_runs_preserved": 14,
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1200 800\">...</svg>",
  "credits_charged": 200
}