Skip to main content
Use POST /api/v1/generate with output_format: "png" (default).

Minimal request

Response

The response is JSON:

Tips

  • Use max_auto_font_size to prevent overly large text for very short content.
  • If you render at dpi: 600, keep setting margins/sizes as if they were 300 DPI — the server scales them automatically.
  • The renderer outputs one page (no pagination). Choose page_size + margins accordingly.