Skip to main content

Prerequisites

  • Python 3.10+
  • A Gemini API key (for photo generation and verification)

Installation

Install Playwright browsers (required for PDF/PNG rendering):

Set Your API Key

Run the Demo

This will:
  1. Generate a demo dispatch guide (guia de despacho) with 7 line items
  2. Render it to HTML, PNG, and PDF in output/
  3. Generate 8 photo variations (full picture, folded, blurry, cropped, stained, etc.)
Output structure:

Generate from Your Own Data

Create a doc.json file:
Generate the PDF:
Generate photos from any image:

Next Steps

Core Concepts

Understand the document model, photo variations, and verification pipeline.

API Reference

Use the REST API for programmatic access.

MCP Server

Connect penquify to Claude Desktop or Cursor.

Create Datasets

Generate benchmark datasets at scale.