
Use the "scale" integer min: 1 max: 4 flag in your requests to add a scale multiplier for increased resolution, as shown in the example below.
{
"template": "MvqYnLpgQwQ0DPKxye",
"formats": ["png", "jpg", "pdf", "webp"],
"scale": 2,
"modifications": {
"objects": [
{
"name": "title",
"text": "Hello World",
"color": "#FF5733"
},
{
"name": "avatar",
"background-image": "https://example.com/photo.jpg"
},
{
"name": "background",
"background-color": "#d6d0e15e"
}
]
}
}
Note: When determining credit costs, the scale value will multiple the format count (e.g. "scale": 2 x "formats": ["png","jpg"] = 4 credits)

