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
Examples4
CODE
Ready-to-use code snippets for common workflows
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"
}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"
}