/generate, open to the public with no key — it powers the “Try it” widget on tipar.dev. Every result is watermarked, and it’s tightly capped. It’s for evaluating Tipar, not for production.
How it differs from /generate
/generate | /v1/playground/generate | |
|---|---|---|
| Auth | API key | none |
| Watermark | no | always |
| Rate limit | 60/min per key | 5 renders/day per IP |
| Max body | 4 MB | 256 KB |
| Quota / metering | counts against your plan | none — nothing is stored or metered |
{ "template": …, "data": … }. The response is a watermarked application/pdf.
Response
The rendered PDF, with a
tipar.dev watermark across the page.Errors
| Status | code | When |
|---|---|---|
400 | — | Malformed JSON, a missing/unknown node type, or a body that omits template. Doesn’t spend a daily render. |
413 | — | Request body exceeds 256 KB. |
422 | template.* | Template reached the renderer but couldn’t produce a document. Same codes as /generate — see errors. |
429 | rate_limit.exceeded | The 5-renders-per-day cap is reached for your IP. Carries Retry-After. |
400 request is free. The 429 message points you at signing up:
The playground accepts cross-origin requests from
tipar.dev only (a non-credentialed CORS policy). To render from your own code, use /generate with an API key.