Skip to main content
HandTextAI renders a single page using a fixed page size and orientation.

Supported page sizes

Use page_size with one of these values:

ISO (A-series)

US paper

Cards

Envelopes (content sizes)

Orientation

Set orientation: "landscape" to swap width and height.

DPI scaling rule (critical)

All pixel parameters (margins, font size, spacing) are specified at a 300 DPI baseline. If you set dpi: 600, the service automatically scales these values so the output matches the same real-world physical size.