# Vibesprings PDF Document Generation Engine

> Vibesprings PDF Document Generation Engine is a paid API for AI agents from vibesprings.net, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Generates publication-grade, multi-page PDFs from structured JSON payloads using 11 professional pre-designed templates including Invoice, Resume, Contract, NDA, Certificate, and more.

## Facts

- Endpoint: POST https://vibesprings.net/api/generate-pdf
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibesprings-net-f0383b35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ppUkmrRY47tNPZcObS_Zj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vibesprings-net-f0383b35 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Example request

```json
{
 "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"
}
```

## Request schema (JSON Schema)

```json
{
 "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "message": "PDF returned directly as binary stream response"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibesprings-net-f0383b35/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibesprings.net](https://www.zero.xyz/host/vibesprings.net/llms.txt)
