sandbox
Execute python-pptx code in sandbox
Run arbitrary python-pptx code in a secure sandbox and get a PPTX file + PNG preview. The code is a python-pptx script (the presentation it saves is the output), or a build(prs) function (build(prs, slide) when chrome is provided). All python-pptx helpers (add_text_box, add_box, add_icon, etc.) are available. Dangerous imports are blocked. 30-second timeout.
Use this for custom layouts, novel visualizations, or any slide that needs full layout control. $0.05 per render. ~2 seconds.
post/v1/render/code
Request
- Base URL: https://api.slideforge.dev
- URL: https://api.slideforge.dev/v1/render/code
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Request body
Response
Render complete with signed URLs
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.