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
remove-background
Night Observatory Relighting Cutout$0.0006~7s
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"
}
}Response
{
"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"
}remove-background
Couture Fascinator Virtual Try-On Cutout$0.0006~6s
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"
}
}Response
{
"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"
}remove-background
Wardian Terrarium Interior Placement Cutout$0.0006~4s
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"
}
}Response
{
"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"
}remove-background
Clear Electric Violin Product Cutout$0.0006~6s
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"
}
}Response
{
"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"
}