Plus plan

Slides from a document

Turn a document into an outline for a presentation
POST
/v1/ai/content/slides

About this tool

AI reads your document and writes the outline of a slide presentation: a title, then slides with short bullet points and speaker notes. You choose how many slides, how many bullets each, and whether to include notes. It gives text, not a finished slide file. The text is written by AI, so read it before you use it.
For example, you add a report and get a ten-slide outline to build in your slide software.

How to use it

  1. Choose this tool.
  2. Add up to 5 documents, or paste the text or topic.
  3. Choose how many slides and bullets per slide, and whether you want speaker notes.
  4. Press Generate.
  5. Copy the outline or download it.

What you get back

You get the slide outline as text that you can copy or download and paste into your presentation program.
TEST IT LIVE

Try Slides from a document in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
AI
Plan
Plus
Method
POST
Endpoint
/v1/ai/content/slides
Tool ID
ai.content.slides
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Ai
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/ai/content/slides" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'on_unsupported=error' \
  -F 'quality=standard' \
  -F 'strategy=auto'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.ai.content.slides({
    "on_unsupported": "error",
    "quality": "standard",
    "strategy": "auto"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->ai()->content()->slides([
    'on_unsupported' => 'error',
    'quality' => 'standard',
    'strategy' => 'auto',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn a document into a slide outline: a title, slides with short bullets and speaker notes; code enforces the slide count and the bullet limits and builds a Markdown outline. Readiness: unbenchmarked (see GET /v1/ai/capabilities/content.slides).

Classification: hybrid. Deterministic stages: file type detection from content, native PDF text extraction / OCR for documents, image normalisation (Sharp).

Slides from a document works from text and settings, so no file is needed. Every input is optional.

Not on the Free plan: Slides from a document is available on the Plus plan and above. Free accounts can upgrade any time to use it. Each run uses credits from your monthly allowance.

Send a POST request to /v1/ai/content/slides with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.