json-render + react-pdf + Deepseek AI

PDF AI Generator

Describe it. AI generates it. Download the PDF.
14 components. Motion signatures. One API call.

Try the Demo

Three steps to a PDF

Describe what you need in plain language. The AI generates a structured JSON spec constrained to our component catalog. React-PDF renders it to a downloadable file.

1

Describe

Tell the API what you need: "Create an invoice for 5 hours consulting at $200/hr for Acme Corp"

2

AI Generates

Deepseek AI produces a validated JSON spec using 14 typed components — Table, Heading, Image, Link, and more

3

Download PDF

json-render + react-pdf renders the spec server-side. You get a real PDF file — no browser, no puppeteer

14 standard PDF components

Powered by @json-render/react-pdf. Every component is type-safe with Zod schemas. The AI is constrained to this catalog — no hallucinated layouts.

Document
Root PDF wrapper with title, author, subject metadata
Page
A4, Letter, Legal with portrait or landscape
Heading
h1 through h4 with automatic sizing
Text
Body text with font size, color, weight, alignment
Table
Typed columns with headers, alignment, striping, colors
Image
From URL or base64 with sizing controls
Link
Clickable hyperlinks with text and href
List
Ordered or unordered with nested items
View
Generic container with padding, margin, background
Row
Horizontal flex layout with gap and alignment
Column
Vertical flex layout with gap and alignment
Divider
Horizontal line separator
Spacer
Empty vertical space between elements
PageNumber
Current page and total page count

Animated signatures for documents

Powered by ve-animesign-pdf — render handwritten signature animations as PNG, MP4, or GIF, then embed them into your generated PDFs.

Output Formats

Render signatures as static images for PDFs, animated loops for web previews, or shareable GIFs for messaging.

PNG MP4 GIF

Customizable

Control signature color, background, padding, fade-in frames, and dimensions. Each signature gets a unique pen-writing animation.

Runtime Integration

SignatureRuntimeClient connects to the ve-animesign-pdf service with auto-retry (2x) and configurable timeout (default 120s).

PDF Embedding

Rendered signatures become Image components in the json-render spec. Works with contracts, invoices, letters, and any document type.

Generate a PDF right now

Type a description below. The API calls Deepseek AI, generates a json-render spec, renders it with react-pdf, and returns a downloadable PDF file.

Invoice Receipt Letter Report

REST endpoints

All endpoints are available at the server root. JSON in, PDF or JSON out.

GET /api/health Health check — returns status, version, component count
GET /api/catalog View all available PDF components and their schemas
POST /api/generate Natural language → AI → PDF file (binary response)
POST /api/render JSON spec → PDF file (bring your own spec)
POST /api/complete-workflow Natural language → AI → JSON spec (no render)
POST /api/assistant/chat Chat with the AI assistant about PDF creation
# Generate a PDF from natural language
curl -X POST http://pdf-ai-generator.exe.xyz:3005/api/generate \
  -H "Content-Type: application/json" \
  -d '{"message":"Create an invoice for 5 hours at $200/hr"}' \
  -o invoice.pdf

# Render your own spec
curl -X POST http://pdf-ai-generator.exe.xyz:3005/api/render \
  -H "Content-Type: application/json" \
  -d '{"spec":{"root":"doc","elements":{"doc":{"type":"Document",...}}}}' \
  -o document.pdf