Runflow
Back to Gallery

runflow/background-removal

Remove the background from an image and return a clean cutout with a transparent alpha channel. Built for e-commerce product shots, portraits, and batch cleanup pipelines.

$0.045/request 2026-04-21

Install

pip install requests

Run the model

import requests

response = requests.post(
    "https://api.runflow.io/v1/run/background-removal",
    headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
    json={
    "config": {},
    "image_url": "https://public.runflow.io/images/models/runflow/background-removal/examples/1..."
    },
)

data = response.json()
print(data["images"][0]["url"])

Input schema

ParameterTypeDescription
image_urlimageURL of the image to process.
configjsonOptional per-image config (aspect_ratio).

Output schema

FieldTypeDescription
image_urlsimage_listProcessed image URLs.

Related models

Start generating with Background Removal

Get API access in minutes. No GPU setup, no infrastructure to manage.