BiRefNet Massive TR DIS5K TR TES
This model is trained on multiple large-scale datasets, including DIS5K, to improve robustness across object scales, backgrounds, and visual distributions. It prioritizes generalization and consistency in real-world imagery.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples8
CODE
Ready-to-use code snippets for common workflows
Night Observatory Relighting Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/27a78b06-a579-4b79-9ac2-e5e067ed7b19.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/27a78b06-a579-4b79-9ac2-e5e067ed7b19.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": "f08b5c6c-cdb4-4a17-a6e1-27daf0a5c487",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/27a78b06-a579-4b79-9ac2-e5e067ed7b19.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/27a78b06-a579-4b79-9ac2-e5e067ed7b19.jpg{
"taskType": "removeBackground",
"taskUUID": "f08b5c6c-cdb4-4a17-a6e1-27daf0a5c487",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/27a78b06-a579-4b79-9ac2-e5e067ed7b19.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "f08b5c6c-cdb4-4a17-a6e1-27daf0a5c487",
"imageUUID": "7a1ec2b7-edae-4ce0-9ac3-afc037989fe4",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/5/ii/7a1ec2b7-edae-4ce0-9ac3-afc037989fe4.png",
"cost": 0.0006,
"inputImageUUID": "3ca30ca5-8b75-45af-b4af-0a2ca7435677"
}Clear Electric Violin Product Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/f18372b7-730f-4c82-a42b-531284cacda6.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/f18372b7-730f-4c82-a42b-531284cacda6.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": "455cd135-f462-495a-aae7-5e5b6140bfde",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/f18372b7-730f-4c82-a42b-531284cacda6.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/f18372b7-730f-4c82-a42b-531284cacda6.jpg{
"taskType": "removeBackground",
"taskUUID": "455cd135-f462-495a-aae7-5e5b6140bfde",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/f18372b7-730f-4c82-a42b-531284cacda6.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "455cd135-f462-495a-aae7-5e5b6140bfde",
"imageUUID": "ecd74936-f764-434f-b2d5-c919e87dfe57",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/5/ii/ecd74936-f764-434f-b2d5-c919e87dfe57.png",
"cost": 0.0006,
"inputImageUUID": "21b47c48-0a3e-4e0a-adb9-e1000065e20a"
}Wardian Terrarium Interior Placement Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/1ca49887-a5d2-486a-8814-c7edded087b7.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1ca49887-a5d2-486a-8814-c7edded087b7.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": "a5d94c2b-1f1b-4810-9d9c-f531285d8d05",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1ca49887-a5d2-486a-8814-c7edded087b7.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/1ca49887-a5d2-486a-8814-c7edded087b7.jpg{
"taskType": "removeBackground",
"taskUUID": "a5d94c2b-1f1b-4810-9d9c-f531285d8d05",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1ca49887-a5d2-486a-8814-c7edded087b7.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "a5d94c2b-1f1b-4810-9d9c-f531285d8d05",
"imageUUID": "7b9ccf59-1871-4ccf-95b0-735259fa7861",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/5/ii/7b9ccf59-1871-4ccf-95b0-735259fa7861.png",
"cost": 0.0006,
"inputImageUUID": "238df77e-2f84-4e44-b836-6a980aed8c5c"
}Couture Fascinator Virtual Try-On Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/7564c071-52fa-44ee-af0c-f1a278c05cf8.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7564c071-52fa-44ee-af0c-f1a278c05cf8.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": "05dfe8e4-f782-40c7-9796-fff17dc7e1f4",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7564c071-52fa-44ee-af0c-f1a278c05cf8.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/7564c071-52fa-44ee-af0c-f1a278c05cf8.jpg{
"taskType": "removeBackground",
"taskUUID": "05dfe8e4-f782-40c7-9796-fff17dc7e1f4",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7564c071-52fa-44ee-af0c-f1a278c05cf8.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "05dfe8e4-f782-40c7-9796-fff17dc7e1f4",
"imageUUID": "c5d0f185-1d8e-42d4-92b2-3a01cfb44169",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/5/ii/c5d0f185-1d8e-42d4-92b2-3a01cfb44169.png",
"cost": 0.0006,
"inputImageUUID": "336c1e36-cb6c-42ad-9fc0-ad2f5bd64fe0"
}Frayed Kitesurf Sail Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/080ff4d2-df64-483f-bf4f-8bca33928ff2.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/080ff4d2-df64-483f-bf4f-8bca33928ff2.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": "f7ffc4a5-0f38-4810-b9af-00a04d53bc58",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/080ff4d2-df64-483f-bf4f-8bca33928ff2.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/080ff4d2-df64-483f-bf4f-8bca33928ff2.jpg{
"taskType": "removeBackground",
"taskUUID": "f7ffc4a5-0f38-4810-b9af-00a04d53bc58",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/080ff4d2-df64-483f-bf4f-8bca33928ff2.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "f7ffc4a5-0f38-4810-b9af-00a04d53bc58",
"imageUUID": "64d1f0e4-343f-4334-bc7f-5ffe1af10ef1",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/5/ii/64d1f0e4-343f-4334-bc7f-5ffe1af10ef1.png",
"cost": 0.0006,
"inputImageUUID": "7a848729-b700-4963-b181-318c474cf305"
}Speckled Quail Egg Cluster

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/82d758d8-7810-40a1-828d-313d9cf976f7.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/82d758d8-7810-40a1-828d-313d9cf976f7.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": "11bd6142-5f37-4e69-9b3c-27881339e114",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/82d758d8-7810-40a1-828d-313d9cf976f7.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/82d758d8-7810-40a1-828d-313d9cf976f7.jpg{
"taskType": "removeBackground",
"taskUUID": "11bd6142-5f37-4e69-9b3c-27881339e114",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/82d758d8-7810-40a1-828d-313d9cf976f7.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "11bd6142-5f37-4e69-9b3c-27881339e114",
"imageUUID": "22362285-ddc0-430e-9f4e-13c73d9d1496",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/5/ii/22362285-ddc0-430e-9f4e-13c73d9d1496.png",
"cost": 0.0006,
"inputImageUUID": "09745bb4-cc3d-4531-8764-fdf5b6260d17"
}Vintage Toy Robot Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/e53122b5-6e36-4b5d-b36e-bb75542476a4.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/e53122b5-6e36-4b5d-b36e-bb75542476a4.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": "48f50d05-5c5e-42ab-9120-7f6faffea4b6",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/e53122b5-6e36-4b5d-b36e-bb75542476a4.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/e53122b5-6e36-4b5d-b36e-bb75542476a4.jpg{
"taskType": "removeBackground",
"taskUUID": "48f50d05-5c5e-42ab-9120-7f6faffea4b6",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/e53122b5-6e36-4b5d-b36e-bb75542476a4.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "48f50d05-5c5e-42ab-9120-7f6faffea4b6",
"imageUUID": "8b5964de-eb2f-4a4d-a511-8935b1079b58",
"imageURL": "https://im.runware.ai/image/os/a19d05/ws/4/ii/8b5964de-eb2f-4a4d-a511-8935b1079b58.png",
"cost": 0.0006,
"inputImageUUID": "f0c3d62e-2ffa-4e34-8266-5c3432a75fd4"
}Dewy Running Shoe Cutout

import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:112@8',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/460b3770-6e93-42cc-bf84-65bbf0e46aae.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({
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/460b3770-6e93-42cc-bf84-65bbf0e46aae.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": "9b16b6ce-20e1-4934-a016-b6a0dd2e09d5",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/460b3770-6e93-42cc-bf84-65bbf0e46aae.jpg"
}
}
]'runware run runware:112@8 \
inputs.image=https://assets.runware.ai/assets/inputs/460b3770-6e93-42cc-bf84-65bbf0e46aae.jpg{
"taskType": "removeBackground",
"taskUUID": "9b16b6ce-20e1-4934-a016-b6a0dd2e09d5",
"model": "runware:112@8",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/460b3770-6e93-42cc-bf84-65bbf0e46aae.jpg"
}
}{
"taskType": "imageBackgroundRemoval",
"taskUUID": "9b16b6ce-20e1-4934-a016-b6a0dd2e09d5",
"imageUUID": "aaec4d45-699f-421f-9ab4-779c709d4712",
"imageURL": "https://im.runware.ai/image/os/a18d05/ws/4/ii/aaec4d45-699f-421f-9ab4-779c709d4712.png",
"cost": 0.0006,
"inputImageUUID": "a8318fb1-4fdf-4b20-85cb-5268aef4d8d8"
}