Skip to main content
Version: V2

Remove background

POST 

/v2/artworks/remove-background

Remove the background from an image and return a new artwork with a transparent background. Handy for product shots, portraits, or any prep work before compositing.

Request

Body

required

    imageUrl urirequired

    URL of the image to remove the background from.

    imageFormat string

    Possible values: [png, webp]

    Output image format. Defaults to "png". Supported values: "png", "webp".

    webhook uri

    Optional webhook URL. When provided, the server will POST the final artwork result to this URL upon completion.

Responses

Artwork accepted; webhook fires on completion.

Schema

    id uuidrequired
    artworkType stringrequired

    Possible values: [remove_background]

    parameters

    object

    required

    imageUrl uri

    URL of the image to remove the background from.

    imageFormat string

    Possible values: [png, webp]

    Output image format. Defaults to "png". Supported values: "png", "webp".

    webhook uri

    Optional webhook URL. When provided, the server will POST the final artwork result to this URL upon completion.

    duration numberrequired
    results string[]required
    status stringrequired

    Possible values: [starting, processing, succeeded, failed, canceled]

    createdAt date-timerequired
Loading...