Helllo
I have a workfkow with a jpeg file wants to use it in an apitemplate i created. The api call works for all properties burt doesn’t return my image (it only returns a black canvas)
See screenshot.
I am not sure where the issue lies as it seems that the image follows the specs of apitemplate.
Hi, from the documentation, I don’t see an option to send images in binary format. The recommended approach is to use a URL string. Here’s an example if you’re using JSON:
{
"overrides": [
{
"name": "background-color",
"stroke": "grey",
"backgroundColor": "#94C4D3"
},
{
"name": "circle-image_1",
"stroke": "#EFEFEF",
"src": "https://images.unsplash.com/photo-1599140458985-d80aad8b06f0?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxOTc1MDZ8MHwxfHNlYXJjaHwyOXx8c21pbGV8ZW58MHwwfHx8MTYxNzQzMzI3Mw&ixlib=rb-1.2.1&q=80&w=1080"
},
{
"name": "text_quote",
"text": "“The artist is nothing without the gift, but the gift is nothing without work”",
"fontSize": 63,
"textBackgroundColor": "rgba(255, 255, 255, 0.72)"
}
]
}