
Use the "quality" integer min: 1 max: 100 flag in your requests to change the quality for JPG/WebP outputs, as shown in the example below.
{
"template": "MvqYnLpgQwQ0DPKxye",
"formats": ["jpg"],
"quality": 85,
"modifications": {
"objects": [
{
"name": "title",
"text": "Hello World",
"color": "#FF5733"
},
{
"name": "avatar",
"background-image": "https://example.com/photo.jpg"
},
{
"name": "background",
"background-color": "#d6d0e15e"
}
]
}
}

