Draw

Your own .pptx as pictures and as a PDF, without PowerPoint, LibreOffice or a browser: one PNG per slide and one PDF page per slide. Add inspect: true and the same answer carries the Deck Quality Report and its verdict. No model reads the file. $0.01 a page.

POST/v1/draw

Draws any .pptx as PNG pictures and a PDF, and on request returns the inspect report. Needs an API key. 30 calls an hour, max 25 MB; a deck over 50 slides is drawn to slide 50 and says so (truncated, note). The answer is a job: fetch each address in pictures and the pdf address with your key. POST /v1/draw/upload takes the same options with the file as multipart form data.

Parameters

NameTypeRequiredDescription
job_idstringoptionalDraw a deck you rendered on SlideForge (one of job_id / pptx_url / pptx_base64).
pptx_urlstringoptionalHTTPS URL of any .pptx — yours or anyone's.
pptx_base64stringoptionalInline .pptx bytes, base64. Max 25 MB.
formatsstring[]optionalWhat to draw: "png" (one picture per slide), "pdf" (one page per slide). Default: both.
inspectbooleanoptionalAlso return the Deck Quality Report of POST /v1/inspect, verdict included. Default: false.
namestringoptionalJob name.

Response

200
{
  "status": "complete",
  "job_id": "e9ae6dd5-d100-4cee-9d90-725ef0b7e083",
  "slides_total": 33,
  "slides_drawn": 33,
  "pictures": [
    "https://api.slideforge.dev/v1/jobs/e9ae6dd5-d100-4cee-9d90-725ef0b7e083/slides/0/preview",
    "https://api.slideforge.dev/v1/jobs/e9ae6dd5-d100-4cee-9d90-725ef0b7e083/slides/1/preview",
    "… one address per slide, in order"
  ],
  "pdf": "https://api.slideforge.dev/v1/jobs/e9ae6dd5-d100-4cee-9d90-725ef0b7e083/pdf",
  "report": {
    "status": "clean",
    "slides_total": 33,
    "verdict": {
      "policy": "usable-v2",
      "pass": true,
      "score": 1,
      "failed_on": [],
      "weak_on": []
    },
    "slides": "… the same report as POST /v1/inspect"
  },
  "source": "upload",
  "engine": {
    "release": "5.386.3",
    "inspect_policy": "usable-v2",
    "renderer": "56c488bb173a",
    "typefaces": "401f8ab994c9",
    "typeface_count": 423
  },
  "latency_ms": 29628,
  "latency_parts_ms": {
    "load": 84,
    "inspect": 1709,
    "pictures": 16759,
    "pdf": 10219
  },
  "cost": 0.33,
  "billed": true
}

Examples

# The file as an upload
curl -X POST https://api.slideforge.dev/v1/draw/upload \
  -H "Authorization: Bearer sf_live_YOUR_KEY" \
  -F "file=@deck.pptx" \
  -F "inspect=true"

# Fetch a picture or the PDF with the same key
curl -H "Authorization: Bearer sf_live_YOUR_KEY" \
  -o deck.pdf https://api.slideforge.dev/v1/jobs/JOB_ID/pdf

What it costs

  • $0.01 a drawn page, from your trial credit or balance. A page drawn as PNG and as PDF counts once.
  • The report from inspect: true adds nothing to the price.
  • Nothing is charged unless every page you asked for was drawn. A file that cannot be opened answers 422, free; a balance too small answers 402 before anything is drawn.
  • Only the report, no pictures? POST /v1/inspect is free.

From an agent: the draw_deck tool

On the MCP server the same call is the draw_deck tool, with the same options, price and limits. Because an agent cannot send a key to fetch a file, its pictures and pdf are signed links, valid while the files are kept (30 days). The free inspect_deck tool returns the report alone.

tools/call
{
  "name": "draw_deck",
  "arguments": {
    "pptx_url": "https://example.com/any-deck.pptx",
    "inspect": true
  }
}

Running it on your own hardware

This call is for trying the renderer on your own decks. To render inside your own containers, offline and at volume, see rendering PPTX without Office.

Comparing runs

engine names the release, the verdict policy, the drawing code and the typefaces that made the answer. Two drawings of the same deck compare only when their engines match.