{"uid":"cap_ppUkmrRY47tNPZcObS_Zj","slug":"vibesprings-net-f0383b35","name":"Vibesprings PDF Document Generation Engine","description":"Premium document generation engine. Synthesizes publication-grade, multi-page PDFs from structured JSON payloads. Provides 11 professional pre-designed templates: Invoice, Resume, business Report, business Contract, Receipt, generic Document, NDA, Shipping-Label, Certificate, x402-Receipt, and business Proposal. Saves 2,000+ LLM context tokens vs HTML-to-PDF conversion alternatives by eliminating code generation.","url":"https://vibesprings.net/api/generate-pdf","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Template-specific structured data (e.g. clientName, items, total, sections, effectiveDate)"},"options":{"type":"object","description":"PDF options and page settings (e.g. { pageSize: 'A4' | 'Letter', watermark: 'Draft' })"},"template":{"type":"string","description":"Target document template name (invoice, resume, report, contract, receipt, document, nda, shipping-label, certificate, x402-receipt, proposal)"}}},"responseSchema":{"type":"json","example":{"message":"PDF returned directly as binary stream response"}},"example":{"request":{"data":{"tax":0,"notes":"Thank you for your business","total":1050,"billTo":{"zip":"10001","city":"New York","name":"John Smith","state":"NY","address":"123 Business Ave, Suite 100","company":"Acme Corp"},"dueDate":"2025-06-30","subtotal":1050,"issueDate":"2025-01-15","lineItems":[{"amount":1000,"quantity":2,"unitPrice":500,"description":"Web Design"},{"amount":50,"quantity":1,"unitPrice":50,"description":"Hosting"}],"invoiceNumber":"INV-2025-001"},"template":"invoice"},"response":{"_nonJson":true,"_preview":"%PDF-1.3\n%����\n7 0 obj\n<<\n/Type /Page\n/Parent 1 0 R\n/MediaBox [0 0 595.28 841.89]\n/Contents 5 0 R\n/Resources 6 0 R\n/UserUnit 1\n>>\nendobj\n6 0 obj\n<<\n/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n/Font <<\n/F1 8 0 R\n>>\n/ColorSpace <<\n>>\n>>\nendobj\n5 0 obj\n<<\n/Length 326\n/Filter /FlateDecode\n>>\nstream\nx����J\u00031\u0010���\u0014�\u0002��d&�\u0001�E�\u000fx!h�N���\u0016\u0004+HA_��v�G�x%˷ɞ�d��AH�����1�A�\b���k�=܌�]�\u00141��T�3�J�\u0006)\u0012U�d��\u0011J�\u0002��-���\u0011��%�f�\u0011H,\u0016T�\u0002���8W��\u000b��E�f\u001e\u001e/RJ萓GPc&&4�uv�)N\u001dAz��6\\5���\t�A�}�Y�\u0018�\u0016�ITW�Ѷ�����G\u0010T�QČh�\u0003q�C\u001dsf}�γ�:/","_contentType":"application/pdf"}},"exampleRequest":{"data":{"tax":0,"notes":"Thank you for your business","total":1050,"billTo":{"zip":"10001","city":"New York","name":"John Smith","state":"NY","address":"123 Business Ave, Suite 100","company":"Acme Corp"},"dueDate":"2025-06-30","subtotal":1050,"issueDate":"2025-01-15","lineItems":[{"amount":1000,"quantity":2,"unitPrice":500,"description":"Web Design"},{"amount":50,"quantity":1,"unitPrice":50,"description":"Hosting"}],"invoiceNumber":"INV-2025-001"},"template":"invoice"},"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ATNnZuA_VEa4rAHijyuiz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates publication-grade, multi-page PDFs from structured JSON payloads using 11 professional pre-designed templates including Invoice, Resume, Contract, NDA, Certificate, and more.","exampleAgentPrompt":"Generate a professional PDF invoice using the Invoice template with these line items: 2x Web Design at $500 each and 1x Hosting at $50, billed to Acme Corp, total due $1050, due date June 30 2025.","exampleUseCases":[{"title":"Automated invoice generation for SaaS billing","prompt":"Create a professional PDF invoice for our customer with 3 monthly subscriptions at $99 each, a setup fee of $150, and a 10% discount applied. Make it ready to send to TechStart Inc. today."},{"title":"Resume building from candidate profile data","prompt":"Generate a polished resume PDF from my work history: 5 years as a Senior Developer at Google, 3 years as a Junior Developer at StartupXYZ, plus my education from MIT. Use the professional template."},{"title":"Batch certificate generation for training completion","prompt":"Create 50 completion certificates as PDFs for our online course graduates. Each should include their name, course title 'Advanced Python Fundamentals', completion date, and our company logo."}],"resultDescription":"Returns a publication-grade, multi-page PDF binary or download link corresponding to the chosen template, fully populated with the structured data provided in the JSON payload. The document is ready for professional use without any further formatting.","failureModes":["Invalid or missing template type returns a 400 error","Malformed JSON payload causes a validation error","Missing required fields for the chosen template returns an error indicating which fields are absent","Payment failure via x402 protocol returns a 402 Payment Required response","Unsupported template name returns an error listing valid options"],"whenToPreferThis":"Choose this endpoint when you need to generate a professional, publication-grade PDF document (invoice, resume, contract, NDA, certificate, receipt, proposal, etc.) from structured JSON data without writing HTML, CSS, or PDF generation code. It saves 2,000+ LLM context tokens compared to HTML-to-PDF alternatives and offers 11 pre-designed professional templates, making it ideal for AI agents that need to produce business documents as part of automated workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:24.691Z","isFirstParty":false}