---
title: "Convert slides to images"
method: POST
path: "/pptx/to-images"
tags: ["PowerPoint"]
---

# Convert slides to images

`POST /pptx/to-images`

## Request

- Base URL: `https://api.filegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.filegraph.ai/pptx/to-images`
- Auth: API key in header `X-API-Key`

Convert PowerPoint slides to images.

Each slide becomes one image. Returns a ZIP file containing all images.

## Options
- **format**: Output image format (png, jpeg)
- **dpi**: Resolution in dots per inch (default: 150)

## Query parameters

- `format` string
- `dpi` integer

## Response `200`

Successful Response

- FileResponse: Response containing a file.
  - `filename` string, required: Output filename
  - `content_type` string, required: MIME type of the file
  - `size_bytes` integer, required: File size in bytes
  - `content_base64` string, required: Base64-encoded file content

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/filegraph/apis/docconvert-api.md) · [All operations](https://skmtc.dev/filegraph/apis/docconvert-api/llms.txt) · [OpenAPI document](https://skmtc.dev/filegraph/apis/docconvert-api/revisions/436255c85bd4?raw)
