Background Removal

image/background_removal/stabilityai by Stability AI
Background Removal+ more tasksProvider defaultAsyncSyncPDF inputImage inputAudio inputVideo inputText inputURL inputEU hosting
Price from
$0.02 / request
Tasks
1
Background Removal
Regions
United States
Mode
sync
Input
Image
Output
image_b64, image_resource_url

About Stability AI Background Removal

Background removal is a digital image processing technique designed to seamlessly eliminate the backdrop of a photo, leaving behind only the main subject.

Stability AI Background Removal is Stability AI's default model for Background Removal available on Eden AI for Background Removal, from $0.02 / request. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in the United States.

Learn more about Background Removal APIs on Eden AI

Tasks and prices

Stability AI Background Removal is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Background Removalimage/background_removal/stabilityai
$0.02 / request
sync

Parameters

What you send and what you get back when you call Stability AI Background Removal through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • file (required): file (images). Image file ID from /v3/upload or direct file URL

Response

  • image_b64
  • image_resource_url

Estimate your monthly cost

Enter your monthly volume for Background Removal to compare Stability AI Background Removal with its cheapest alternatives.

Call Stability AI Background Removal with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "input": {},
    },
)
print(response.json())

Questions about Stability AI Background Removal

On Eden AI, Stability AI Background Removal costs $0.02 / request for Background Removal. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Stability AI Background Removal is available for: Background Removal. Input: Image. Output: image_b64, image_resource_url.

Yes. Stability AI Background Removal is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.

Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.

Eden AI offers Background Removal from 6 providers, all callable with the same API key. The cheapest models are compared just below.

More from Stability AI

Other Stability AI models on Eden AI, for every task.

No items found.