live
MODEL IDrunware:109@1

RemBG v1.4

RemBG v1.4 is an optimized image background removal model focused on rapid and accurate separation of foreground subjects from background. It uses lightweight segmentation to produce clean alpha masks for visual assets, product photos, and portraits without manual editing.

RemBG v1.4

remove-background

Archival Dusting Brush Product Cutout$0.0006~6s
Archival Dusting Brush Product Cutout
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  outputFormat: 'PNG',
  model: 'runware:109@1',
  settings: {
    alphaMatting: true,
    postProcessMask: true,
    returnOnlyMask: false,
    rgba: [
      255,
      255,
      255,
      0
    ]
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/2a2c5120-a79b-47bb-806e-ee7d788efe74.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "outputFormat": "PNG",
            "model": "runware:109@1",
            "settings": {
                "alphaMatting": True,
                "postProcessMask": True,
                "returnOnlyMask": False,
                "rgba": [
                    255,
                    255,
                    255,
                    0
                ]
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/2a2c5120-a79b-47bb-806e-ee7d788efe74.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "removeBackground",
      "taskUUID": "bcd6119a-e3df-421a-9a61-e419ccd6b3e3",
      "outputFormat": "PNG",
      "model": "runware:109@1",
      "settings": {
        "alphaMatting": true,
        "postProcessMask": true,
        "returnOnlyMask": false,
        "rgba": [
          255,
          255,
          255,
          0
        ]
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/2a2c5120-a79b-47bb-806e-ee7d788efe74.jpg"
      }
    }
  ]'
runware run runware:109@1 \
  outputFormat=PNG \
  settings.alphaMatting=true \
  settings.postProcessMask=true \
  settings.returnOnlyMask=false \
  settings.rgba.0=255 \
  settings.rgba.1=255 \
  settings.rgba.2=255 \
  settings.rgba.3=0 \
  inputs.image=https://assets.runware.ai/assets/inputs/2a2c5120-a79b-47bb-806e-ee7d788efe74.jpg
{
  "taskType": "removeBackground",
  "taskUUID": "bcd6119a-e3df-421a-9a61-e419ccd6b3e3",
  "outputFormat": "PNG",
  "model": "runware:109@1",
  "settings": {
    "alphaMatting": true,
    "postProcessMask": true,
    "returnOnlyMask": false,
    "rgba": [
      255,
      255,
      255,
      0
    ]
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/2a2c5120-a79b-47bb-806e-ee7d788efe74.jpg"
  }
}
Response
{
  "taskType": "imageBackgroundRemoval",
  "taskUUID": "bcd6119a-e3df-421a-9a61-e419ccd6b3e3",
  "imageUUID": "7c8f0937-0d3f-406b-b9c0-d038c8f6ffe7",
  "imageURL": "https://im.runware.ai/image/os/a01d21/ws/5/ii/7c8f0937-0d3f-406b-b9c0-d038c8f6ffe7.png",
  "cost": 0.0006,
  "inputImageUUID": "40c65c73-1cab-4f60-b6c0-f27813201a7b"
}

remove-background

Sled Dog Arctic Scene Cutout$0.0006~6s
Sled Dog Arctic Scene Cutout
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  outputFormat: 'PNG',
  model: 'runware:109@1',
  settings: {
    alphaMatting: true,
    postProcessMask: true,
    returnOnlyMask: false,
    rgba: [
      255,
      255,
      255,
      0
    ]
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/ba23a7ad-8754-47fc-85c4-eb18e6edd2ee.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "outputFormat": "PNG",
            "model": "runware:109@1",
            "settings": {
                "alphaMatting": True,
                "postProcessMask": True,
                "returnOnlyMask": False,
                "rgba": [
                    255,
                    255,
                    255,
                    0
                ]
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/ba23a7ad-8754-47fc-85c4-eb18e6edd2ee.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "removeBackground",
      "taskUUID": "20f75586-842a-41ae-913c-769d05a63f53",
      "outputFormat": "PNG",
      "model": "runware:109@1",
      "settings": {
        "alphaMatting": true,
        "postProcessMask": true,
        "returnOnlyMask": false,
        "rgba": [
          255,
          255,
          255,
          0
        ]
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/ba23a7ad-8754-47fc-85c4-eb18e6edd2ee.jpg"
      }
    }
  ]'
runware run runware:109@1 \
  outputFormat=PNG \
  settings.alphaMatting=true \
  settings.postProcessMask=true \
  settings.returnOnlyMask=false \
  settings.rgba.0=255 \
  settings.rgba.1=255 \
  settings.rgba.2=255 \
  settings.rgba.3=0 \
  inputs.image=https://assets.runware.ai/assets/inputs/ba23a7ad-8754-47fc-85c4-eb18e6edd2ee.jpg
{
  "taskType": "removeBackground",
  "taskUUID": "20f75586-842a-41ae-913c-769d05a63f53",
  "outputFormat": "PNG",
  "model": "runware:109@1",
  "settings": {
    "alphaMatting": true,
    "postProcessMask": true,
    "returnOnlyMask": false,
    "rgba": [
      255,
      255,
      255,
      0
    ]
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/ba23a7ad-8754-47fc-85c4-eb18e6edd2ee.jpg"
  }
}
Response
{
  "taskType": "imageBackgroundRemoval",
  "taskUUID": "20f75586-842a-41ae-913c-769d05a63f53",
  "imageUUID": "04c64a5d-b820-409d-81e5-f1685cdd3179",
  "imageURL": "https://im.runware.ai/image/os/a01d21/ws/5/ii/04c64a5d-b820-409d-81e5-f1685cdd3179.png",
  "cost": 0.0006,
  "inputImageUUID": "ba6479c0-f051-453c-bcc5-7e6acf8f7452"
}

foreground-mask

Rare-Book Conservator Press Headshot$0.0013~5s
Rare-Book Conservator Press Headshot
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  outputFormat: 'PNG',
  model: 'runware:109@1',
  settings: {
    alphaMatting: true,
    postProcessMask: true,
    returnOnlyMask: true
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/98eb448a-7243-40ac-bde2-686387a6e84f.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "outputFormat": "PNG",
            "model": "runware:109@1",
            "settings": {
                "alphaMatting": True,
                "postProcessMask": True,
                "returnOnlyMask": True
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/98eb448a-7243-40ac-bde2-686387a6e84f.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "removeBackground",
      "taskUUID": "72a7aca9-1b0c-4990-8150-44ecdf6633ed",
      "outputFormat": "PNG",
      "model": "runware:109@1",
      "settings": {
        "alphaMatting": true,
        "postProcessMask": true,
        "returnOnlyMask": true
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/98eb448a-7243-40ac-bde2-686387a6e84f.jpg"
      }
    }
  ]'
runware run runware:109@1 \
  outputFormat=PNG \
  settings.alphaMatting=true \
  settings.postProcessMask=true \
  settings.returnOnlyMask=true \
  inputs.image=https://assets.runware.ai/assets/inputs/98eb448a-7243-40ac-bde2-686387a6e84f.jpg
{
  "taskType": "removeBackground",
  "taskUUID": "72a7aca9-1b0c-4990-8150-44ecdf6633ed",
  "outputFormat": "PNG",
  "model": "runware:109@1",
  "settings": {
    "alphaMatting": true,
    "postProcessMask": true,
    "returnOnlyMask": true
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/98eb448a-7243-40ac-bde2-686387a6e84f.jpg"
  }
}
Response
{
  "taskType": "imageBackgroundRemoval",
  "taskUUID": "72a7aca9-1b0c-4990-8150-44ecdf6633ed",
  "imageUUID": "d4dee9a4-4c6f-45cd-bc5e-00ff201f076e",
  "imageURL": "https://im.runware.ai/image/os/a05d22/ws/4/ii/d4dee9a4-4c6f-45cd-bc5e-00ff201f076e.png",
  "cost": 0.0013,
  "inputImageUUID": "8dc44e4f-314f-4aa9-9290-cafcfef46642"
}

foreground-mask

Airport Wildlife Team Portrait Cutout$0.0006~4s
Airport Wildlife Team Portrait Cutout
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  outputFormat: 'PNG',
  model: 'runware:109@1',
  settings: {
    alphaMatting: true,
    postProcessMask: true,
    returnOnlyMask: true
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/9c8b20d0-74b4-4276-a944-246e849b3479.jpg'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "outputFormat": "PNG",
            "model": "runware:109@1",
            "settings": {
                "alphaMatting": True,
                "postProcessMask": True,
                "returnOnlyMask": True
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/9c8b20d0-74b4-4276-a944-246e849b3479.jpg"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "removeBackground",
      "taskUUID": "08b73e3e-3de1-489d-b645-e7437765a4b7",
      "outputFormat": "PNG",
      "model": "runware:109@1",
      "settings": {
        "alphaMatting": true,
        "postProcessMask": true,
        "returnOnlyMask": true
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/9c8b20d0-74b4-4276-a944-246e849b3479.jpg"
      }
    }
  ]'
runware run runware:109@1 \
  outputFormat=PNG \
  settings.alphaMatting=true \
  settings.postProcessMask=true \
  settings.returnOnlyMask=true \
  inputs.image=https://assets.runware.ai/assets/inputs/9c8b20d0-74b4-4276-a944-246e849b3479.jpg
{
  "taskType": "removeBackground",
  "taskUUID": "08b73e3e-3de1-489d-b645-e7437765a4b7",
  "outputFormat": "PNG",
  "model": "runware:109@1",
  "settings": {
    "alphaMatting": true,
    "postProcessMask": true,
    "returnOnlyMask": true
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/9c8b20d0-74b4-4276-a944-246e849b3479.jpg"
  }
}
Response
{
  "taskType": "imageBackgroundRemoval",
  "taskUUID": "08b73e3e-3de1-489d-b645-e7437765a4b7",
  "imageUUID": "46788326-391f-49dd-8ba0-df7dca85e8ff",
  "imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/4/ii/46788326-391f-49dd-8ba0-df7dca85e8ff.png",
  "cost": 0.0006,
  "inputImageUUID": "a6cb4a2c-cdcc-4b64-bbfb-05fb1838cecc"
}