Chart to image
Numbers in, a chart PNG out. Pick bar, line, area, pie or donut, paste comma-separated values and labels, and get a 1200×630 image at a URL you can put in an email, a README, a slide or a social card.
curl -X POST https://api.imageapis.com/v1/images -H 'X-API-Key: YOUR_KEY' -H 'Content-Type: application/json' -d '{"template":{"width":1200,"height":630,"background":"#0b1220","layers":[{"name":"chart","type":"chart","kind":"bar","x":72,"y":60,"width":1056,"height":510,"values":"120,180,150,210,260,190,174","labels":"Mon,Tue,Wed,Thu,Fri,Sat,Sun"}]}}'What this is
Charts that need to live somewhere a <canvas> cannot: an email, a README, a Slack message, a tweet, a PDF report, a dashboard screenshot for a customer. This tool draws one with the Image APIs' chart layer and gives you the PNG at a hosted URL. The chart is vector-drawn inside the renderer, so it is crisp at any scale and loads no JavaScript library.
Five kinds: bar (negative values hang below the baseline), line and area (optionally smoothed through the points), pie and donut (a legend appears beside them when you give labels, and show_values writes the percentages).
In your own templates
A chart is a layer like any other, so it sits anywhere on a card next to text, images and QR codes. The useful trick is that values and labels can be a single {{placeholder}}, which means one variable carries the whole series:
{ "name": "week", "type": "chart", "kind": "bar", "x": 72, "y": 330, "width": 700, "height": 240,
"values": "{{values}}", "labels": "{{labels}}", "fill": "#6366f1", "show_values": true }
{ "template": "tpl_…", "variables": { "values": "120,180,150,210,260,190,174", "labels": "Mon,Tue,Wed,Thu,Fri,Sat,Sun" } }
The charts in images guide walks through the weekly-report starter, the signed-URL version that re-renders when the numbers change, and every chart property. The starter is GET /v1/starters/weekly-report.