Images

Remove background

Removes the background from the input image by isolating the main subject and returns a cutout with a transparent background.

post/v1/image/remove-background

Request

  • Base URL
    https://api.jasper.ai
  • URL
    https://api.jasper.ai/v1/image/remove-background
  • Auth
    • API key in header X-API-Key
    • or OAuth 2
      Authorization code: https://api.jasper.ai/oauth2/authorize
      Token URL: https://api.jasper.ai/oauth2/token scopes: user

Headers

accept'image/webp' | 'image/png' | 'image/jpeg'

The Accept request HTTP header indicates the preferred returned image content type, expressed as a MIME type

Request body multipart/form-data

image_filestring binary

Response

The image background was successfully removed.

Changes

No recorded changes to this operation across all 2 revisions of this API.