MARKETPLACE
PLUGINS
AI PDF GENERATOR - PROMPT TO PDF
AI PDF Generator - Prompt to PDF logo

AI PDF Generator - Prompt to PDF

Published March 2026
   β€’    Updated this week

Plugin details

AI PDF Generator is the most advanced PDF plugin for Bubble. Generate beautiful, professionally styled PDF documents in two powerful ways β€” using AI or your own HTML.
No external API subscription. No monthly fees. Just pure PDF generation power inside your Bubble app.

TWO MODES IN ONE PLUGIN:

πŸ€– AI Mode
Describe what you want and AI generates the entire PDF for you. Just write a prompt like "Create a professional invoice for John Smith, $1500 for web development, due March 25" and the plugin handles everything β€” AI writes the HTML, styles it beautifully, and downloads the PDF instantly.

✏️ Manual Mode
Pass your own custom HTML content and convert it to a pixel-perfect PDF. Full support for colors, gradients, tables, typography, and complex layouts β€” rendered exactly as designed.

Features:
- AI-powered document generation from plain text prompts
- Full HTML to PDF conversion with styling
- Supports colors, gradients, tables, and layouts
- Multiple page sizes β€” A4, A3, A5, Letter, Legal
- Auto multi-page β€” long content splits automatically
- Custom filename β€” name PDFs dynamically
- Custom margins β€” full layout control
- Auto download β€” PDF downloads instantly in browser
- Works with any OpenRouter compatible AI model
- 100+ AI models supported including Claude, GPT-4, Gemini

Perfect for:
- AI-generated invoices and receipts
- Contract and proposal generation
- Automated report creation
- Certificate and letter generation
- Order confirmation PDFs
- Any document requiring professional PDF output

Use Cases:
- SaaS apps that need document generation
- Agencies generating client proposals
- E-commerce order confirmations
- HR tools generating offer letters
- Legal platforms creating contracts

$50

One time  β€’  Or  $15/mo

stars   β€’   0 ratings
0 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

Bubble Guru logo
Bubble Guru
Joined 2021   β€’   4 Plugins
View contributor profile

Instructions

SETUP: 1. Install AI PDF Generator plugin
2. Add action: Plugins > Generate PDF to any workflow

AI MODE (Recommended):
Fill in these fields:
- ai_prompt (required for AI mode)
 Describe your document in plain English
 Example: "Create a professional invoice for John Smith,
 Bubble development $1500, due March 25 2026,
 use dark navy and gold color scheme"

- openrouter_api_key (required for AI mode)
 Get your free key at openrouter.ai
 Sign up free β€” no credit card required for free models

- ai_model (optional)
 Any OpenRouter model ID
 Default: qwen/qwen-2.5-7b-instruct:free
 Free models: visit openrouter.ai/models and filter by Free
 Premium: anthropic/claude-3-haiku, openai/gpt-4o

- filename (optional)
 Default: document.pdf

- page_size (optional)
 A4, A3, A5, Letter, Legal. Default: A4

- margin (optional)
 Page margin in mm. Default: 0

MANUAL MODE:
- content (required for manual mode)
 Pass complete HTML string
 Use inline CSS for best results
 Example: "<h1 style='color:navy'>Invoice</h1><p>$500</p>"

TIPS:
- Be specific in your AI prompt for best results
- Include colors, style preferences in your prompt
- For invoices mention: client name, items, amounts, dates
- For reports mention: topic, sections, data to include
- Free AI models work great for most documents
- Use premium models for more complex layouts

RETURNED VALUES:
- status: returns "success" when PDF is generated

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:
PDF   β€’   AI

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble