Turn PDF pages into fully editable PowerPoint decks with selectable text, vector shapes, images, and page-level layout preserved.
curl 'https://api.codia.ai/v1/open/tasks' \
-H 'Authorization: Bearer {codia_api_key}' \
-H 'Idempotency-Key: ppt-job-2026-05-28-001' \
-H 'Content-Type: application/json' \
--data '{
"operation": "pdf_to_ppt",
"input": {
"upload_id": "upl_550e8400-e29b-41d4-a716-446655440000",
"page_no": [0, 1, 2],
"title": "Quarterly report"
},
"callback_url": "https://your-server.com/webhook/codia-task"
}'{
"code": 0,
"message": "ok",
"data": {
"task_id": "550e8400-e29b-41d4-a716-446655440000",
"operation": "pdf_to_ppt",
"status": "pending",
"created_at": 1764000000
}
}Each Codia Open API shares the same authentication, billing, and operational model, so teams can add new visual conversion capabilities without new infrastructure.
Text blocks stay selectable and reusable instead of being flattened into screenshots.
Lines, paths, shapes, and embedded images are reconstructed as deck objects.
Submit tasks, poll status, or receive signed webhooks when the PPTX is ready.
The fields below are the pieces most teams need before wiring the API into a real product flow.
| Field | Type | Required | Notes |
|---|---|---|---|
| operation* | pdf_to_ppt | Yes | Task operation. Use pdf_to_ppt for editable PowerPoint generation. |
| input.upload_id* | string | Yes | Opaque ID returned by POST /v1/open/uploads. Codia-managed uploads do not expose public file URLs. |
| input.page_no* | number[] | Yes | 0-indexed page numbers to convert. Supports up to 20 pages per task. |
| input.title | string | No | Output PPTX title. Defaults to the source file name when omitted. |
| callback_url | string URL | No | HTTPS webhook called when the conversion completes or fails. |
| Field | Type | Required | Notes |
|---|---|---|---|
| task_id* | uuid | Yes | Store this ID and use it with GET /v1/open/tasks/{task_id}. |
| operation* | pdf_to_ppt | Yes | Operation associated with this task. |
| status* | pending | processing | succeeded | failed | canceled | Yes | Task lifecycle state returned by the status endpoint. |
| result.ppt_url | string URL | No | Generated PPTX download URL. Present when status is succeeded. |
| error | string | No | Failure reason. Present when status is failed. |
Build the happy path first, then add polling, retry, and terminal error handling around it. Async APIs should store the returned task or record ID before the user leaves the current screen.
Create a pdf_to_ppt task with a public PDF URL and the 0-indexed pages you want converted.
Poll GET /v1/open/tasks/{task_id} every few seconds or listen for your callback webhook.
Fetch the generated PPTX from the temporary download URL and persist it in your system.
Start with curl, then adapt the TypeScript or Python flow for your backend worker.
curl 'https://api.codia.ai/v1/open/tasks' \
-H 'Authorization: Bearer {codia_api_key}' \
-H 'Idempotency-Key: ppt-job-2026-05-28-001' \
-H 'Content-Type: application/json' \
--data '{
"operation": "pdf_to_ppt",
"input": {
"upload_id": "upl_550e8400-e29b-41d4-a716-446655440000",
"page_no": [0, 1, 2],
"title": "Quarterly report"
},
"callback_url": "https://your-server.com/webhook/codia-task"
}'| Code | Meaning | What to do |
|---|---|---|
| 400 | Invalid request body, missing required fields, unsupported file, or malformed URL. | Validate input client-side and log the API response message for the failed request. |
| 401 | Missing or invalid API key. | Send Authorization: Bearer {codia_api_key}; rotate the key if validation keeps failing. |
| 402 | Insufficient Open API credits. | Stop retrying automatically and ask the workspace owner to top up or upgrade. |
| 429 | Rate limit or concurrency limit reached. | Retry with exponential backoff and a small amount of jitter. |
| 500 | Temporary server-side failure. | Retry idempotent polling calls; for submit calls, store your client request ID and avoid duplicate work. |
Task accepted and waiting for processing.
Conversion is running.
PPTX is ready and result.ppt_url is available.
Conversion failed; inspect error and decide whether to retry.
Task was canceled. For PDF to PPT, only unconverted pages are refunded; for example, canceling a 15-page task after 10 pages finished refunds 65 credits.
Codia APIs are designed for applications that need visual understanding, asset conversion, and editable outputs at scale.
Rebuild slide decks that only exist as exported PDFs.
Let AI agents create editable presentations from source reports.
Batch-convert customer PDFs into reviewable PowerPoint drafts.
Move PDF-based sales, education, and training content into editable workflows.
Similar visual APIs solve different integration problems. Use this table to route users to the right endpoint.
| API | Best for | Not for |
|---|---|---|
| PDF to Editable PPT | Turning PDF decks, reports, and training documents into editable PowerPoint files. | Extracting UI layout JSON or Figma-style design structure from a PDF. |
| PDF to Visual Schema | Understanding PDF page layout, components, and styling as structured design data. | Generating a downloadable .pptx presentation. |
| Image to DSL | Converting screenshots into editable UI/design structure. | Working with multi-page PDF documents or PowerPoint output. |
Klare Preise für jedes Produkt. Starte kostenlos und wachse in deinem Tempo.
Common implementation questions for PDF to Editable PPT API.
No. The API reconstructs text, images, and vector shapes as PowerPoint objects so the result can be edited after download.
Submit up to the documented page limit per task and split larger documents into multiple jobs. Each job returns a task ID that can be tracked independently.
Yes. Provide a callback URL at submission time and verify the Codia signature header before trusting the callback payload.
Yes. Upload the local PDF to POST /v1/open/uploads first, then pass the returned upload_id to POST /v1/open/tasks. Use input.pdf_url only for files hosted by your own storage.
All three APIs use the unified Codia Open API balance. You can subscribe to an Open API plan or buy add-on credits: 100 credits for $19.99, 200 credits for $29.99, or 500 credits for $49.99.
Use one Codia Open API balance across visual structure, presentation conversion, vectorization, background removal, and image processing workflows.