- Add the layers in the table and give each one its name, as in Name your layers.
- Save the template and copy its id with Copy Template ID on its card.
- Send the request. Replace
YOUR_API_KEYwith a key from the API Keys page, and replace the template id with yours.
Social card
A social card shows a headline and an author on a picture of a fixed size. It suits blog posts and link previews. For the canvas, choose Open Graph (1200 by 630 pixels) under the social presets.title box tall enough for the longest one. Set Max lines in the Text fit section if you want a hard limit. To use the card in an Open Graph tag, build a signed URL for the same template and modifications.
Product banner
A product banner shows a photo, a name, and a price, and it can show a sale badge. For the canvas, choose Square (1080 by 1080 pixels).
Write
Sale in the sale-badge layer, add a background to it in the Background section so that it looks like a badge, and hide the layer with its eye in the Layers list. The request below shows the badge. For a product without a sale, leave sale-badge out of the request or set "visible": false.
url with the product so that you do not render the banner again. For a whole catalog, send one request for each product. Quota and limits lists how many requests a key can send.
Certificate
A certificate is a PDF with the name of a recipient, a course, a signer, and a QR code that links to a page where someone can check it. A PDF page has the size of the canvas in points, so set Size to 842 by 595 for an A4 page that is wider than it is tall.Invoice
An invoice is a PDF with a number, a customer, a table of line items, totals, and a payment note. Set Size to 595 by 842 for an A4 portrait page.Shipping label
A shipping label shows an address, a service, and a barcode of the tracking number. A 4 by 6 inch label at 300 dpi is 1200 by 1800 pixels, so set Size to that and print the PNG at 300 dpi.text starts a new line on the label, so ship-to can hold the whole address. The barcode prints its value under the bars, so the label needs no separate text layer for the number.
Ticket
A ticket shows an attendee, an event, and a QR code that a door scanner reads. Send the address or the code that your scanner expects as the QR code content.url of the saved image, which you can put in an email.
Related pages
- Modifications lists every field that a request can set.
- Generate images and Generate PDFs explain the options of each request.
- Layer types describes the layers used here.