Generate PDF Documents at Scale with World-Class API
Stop spending time manually creating and updating PDFs. DuckSlide's powerful API lets developers automate document generation with ease, so you can focus on what matters most.
Code Example
import { DuckSlide } from '@duckslide/sdk';
const client = new DuckSlide({
clientId: DUCKSLIDE_CLIENT_ID,
apiKey: DUCKSLIDE_API_KEY
});
const result = await client.presentations.generate({
documentId: "document123",
fields: [
{ id: "customer-name", type: "text", value: "John Doe" },
{ id: "company-name", type: "text", value: "Acme Corp" },
{ id: "proposal-date", type: "text", value: "2025-01-15" },
{ id: "welcome-msg", type: "ai", prompt: "Generate a professional greeting" },
{ id: "logo", type: "ai", prompt: "Fetch logo from https://example.com" }
],
delivery: {
method: 'email',
recipients: ['client@example.com']
}
});
PDFs Generated So Far
34,082,
How DuckSlide Works?
Three simple steps to automate your document generation
1
Upload PDF
Upload your PDF template to DuckSlide. We support documents up to 1000+ pages with complex layouts and formatting.
2
Add Text or Image Fields
Define dynamic fields in your template. Mark areas for text, images, tables, charts, and AI-generated content.
3
Generate PDF Manually or via API
Use our SDKs to generate PDFs at scale. Call our API with your data and deliver via email, Slack, or download.
