async function getPlaceholderImage(width, height, color) {
const response = await fetch(`https://api.globus.studio/v2/ph_image?width=${width}&height=${height}&color=${encodeURIComponent(color)}`);
const blob = await response.blob();
const img = document.createElement('img');
img.src = URL.createObjectURL(blob);
document.body.appendChild(img);
}
getPlaceholderImage(200, 150, '#FF5733');
-or-