Skip to main content
POST
Render Slides
Renders an array of slide definitions to PNG images via Satori + Resvg, uploads them to R2, and returns the public URLs through the job result. This endpoint is always async — it returns a job_id immediately and the actual rendering happens on a background queue. Poll GET /jobs/:id until status is completed, then read result.slides.

Authentication

string
Bearer token. Bearer <api-key-or-jwt>.

Body

object[]
required
Array of slide definitions. Each slide has a name and background.
object[]
Array of text layers to place on slides. Each entry has slide_index and a text object with full styling (see Generate Slides for the full text schema).
object[]
Optional array of background image overrides. Each entry has slide_index and image_url. When provided, the slide’s background type is set to image.

Polling pattern