Skip to main content
All parameters for POST /api/v1/generate and POST /api/v1/preview.
All pixel values (margins, font sizes, spacing) are specified at 300 DPI baseline. When using dpi: 600, the API automatically scales them to maintain physical dimensions.

Required parameters


Content parameters


Page layout


Text styling


Natural effects

All effects are disabled by default. Enable each with its boolean flag.

Word rotation

Natural variation

Elastic deformation that makes letters less uniform.

Random indentation

Ink flow

Simulates ink fading/running out.

Output options


PDF options

Only applies when output_format: "pdf".

Address mode constraints

When generation_type: "address": Example:

DPI scaling

All pixel values are at 300 DPI baseline. At 600 DPI: You don’t need to change values when switching DPI — the API scales automatically.

Complete example