
You can change the DPI with a "dpi" integer min: 72 max: 600 flag in your API requests, as shown in the example below .
{
"template": "MvqYnLpgQwQ0DPKxye",
"formats": ["png", "jpg", "pdf", "webp"],
"dpi": 150,
"modifications": {
"objects": [
{
"name": "title",
"text": "Hello World",
"color": "#FF5733"
},
{
"name": "avatar",
"background-image": "https://example.com/photo.jpg"
},
{
"name": "background",
"background-color": "#d6d0e15e"
}
]
}
}
Note: Changes to DPI have no visible effect on the dimensions of your images. This flag embeds the DPI in the metadata of the output image for print sizing.

