BGBuster
API Reference

Get Image

Get a transformed image

Get Image

Get a transformed image by its ID.

Endpoint

GET /images/{imageId}

Parameters

NameTypeInDescription
imageIdstringpathThe image ID

Response

Returns the image file in the original format (png, webp, gif, or avif).

Example

const response = await fetch("https://api.bgbuster.com/images/image-id", {
  headers: {
    "X-Api-Key": process.env.API_KEY!,
  },
});

const blob = await response.blob();

On this page