Image API · Image generation API
Generate branded images from a template and your data.
Design a template in the visual canvas editor, then render it to PNG or WebP with your data — tickets, passes, gift vouchers, badges, social cards — at any size you ask for.
No account or card for the example. PixlDocs is free for 1 year.
Real output

Event ticket

Conference badge

Gift voucher
Rendered through the production pipeline from published templates with sample data.
The request
POST /v1/render
curl -X POST https://api.pixldocs.com/v1/render \
-H "Authorization: Bearer pxd_YOUR_KEY" \
-H "Content-Type: application/json" \
--output ticket.png \
-d '{
"template_id": "YOUR_IMAGE_TEMPLATE_ID",
"format": "png",
"width": 1200,
"height": 630,
"data": { "event": "Launch Night", "attendee": "Sam Lee", "seat": "B-14" }
}'Replace pxd_YOUR_KEY with a key from your dashboard. The response body is the file.
- Visual canvas templates
- Text, images, QR codes and barcodes bound to fields.
- Any output size
- Pass width and height, or a saved size; layout reflows.
- PNG, WebP or PDF
- One template, every format.
- Agents can render too
- The MCP server exposes the same render as a tool.
Questions
How is this different from the PDF API?
Same endpoint, different template type. Canvas templates are designed visually and suit images; HTML templates suit text-heavy paginated documents.
What sizes can I render?
Custom width and height from 16 to 8000 px, or any size saved on the template.
Can I include QR codes and barcodes?
Yes, as smart elements bound to your data.
Is it free?
Yes. PixlDocs is free for 1 year from 3 October 2026 while we work with early users. You can try a real example with no account; a free account starts with 100 credits, and you can ask us for more free credits when you run out.
Try it on sample data, then bring your own document.
Start with the free example. If your document or data source is different, send us one sample and tell us where the data lives — we set up the first template with you, free. Business and enterprise teams can contact us separately.