repair

Repair a PPTX deterministically — sizes, colors, invisible junk; never your words ($0.02/repaired slide)

Applies deterministic fixes to inspect findings: shrink_to_fit (real font metrics, floor 9pt), raise_min_font (only when the box still fits), remove_off_canvas (fully-invisible parked shapes), fix_contrast (WCAG, hue-preserving). No characters are ever altered — the response carries a computed visible_text_untouched proof. Ambiguous defects are flagged, never guessed. $0.02 per repaired slide (a slide with ≥1 fix); dry_run plans the exact fixes for FREE; no_changes never bills. ≤25 MB; first 50 slides.

post/v1/repair

Request

  • Base URL: https://api.slideforge.dev
  • URL: https://api.slideforge.dev/v1/repair
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

job_idstring nullable

A prior SlideForge slide/deck job to inspect

pptx_urlstring nullable

HTTPS URL to a .pptx

pptx_base64string nullable

Base64-encoded .pptx (≤25 MB decoded)

actionsstring[] nullable

Subset of ['shrink_to_fit', 'raise_min_font', 'remove_off_canvas', 'fix_contrast'] (default: all)

dry_runboolean

Plan the fixes without mutating anything (free preview)

namestring nullable

Job name for the repaired deck

Response

complete (repaired job — download via GET /v1/jobs/{id}/pptx) | no_changes | planned (dry_run)

statusstring required
job_idstring nullable
pptx_urlstring nullable
preview_urlstring nullable
repair_reportobject required
sourcestring required
latency_msinteger required
costnumber
billedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.