remove-background

Remove the background of an image

This endpoint removes the background from an image provided via a URL. The URLs in the response are temporary and valid for 5 minutes only.

Supported formats: JPG, PNG

File size limit: up to 20 MB

Output resolutions: Preview (up to 0.25 megapixels), Full resolution (up to 25 megapixels)

post/v1/ai/beta/remove-background

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/beta/remove-background
  • Auth: API key in header x-magnific-api-key

Response

Successful background removal.

originalstring uri

URL of the original image.

high_resolutionstring uri

URL of the high-resolution image with the background removed.

previewstring uri

URL of the preview version of the image.

urlstring uri

Direct URL for downloading the high-resolution image.

Example response

{
  "original": "https://api.magnific.com/v1/ai/beta/images/original/037ea4ea-e8ad84a8c7/thumbnail.jpg",
  "high_resolution": "https://api.magnific.com/v1/ai/beta/images/download/037ead-44cd8ad84a8c7/high.png",
  "preview": "https://api.magnific.com/v1/ai/beta/images/download/037ea4eacad84a8c7/preview.png",
  "url": "https://api.magnific.com/v1/ai/beta/images/download/037ea4ea-720d-411e8ad84a8c7/high.png"
}

Changes

No recorded changes to this operation across all 1 revision of this API.