İçeriğe geç

Bria RMBG 2.0

Entegre et

Model kimliği bria/background/remove
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/background/remove?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_os2qhh70dksuutdlc8yxctru/0-eDHA2VbZQilztL9CLLj56_hjNDn2TY.png"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Bu istek: $0,018 18 API kredisi Bu sayfada çalıştır

API anahtarı al
Bria AI Arka Plan Kaldırma #cutout#ecommerce#transparent

Ürünler ve insanlar için temiz, ticari açıdan güvenli arka plan kaldırma.

Örnekler

Girdi
Çıktı · ~10 s
$0,018 · 18 API kredisi

İstek oluştur

Kontroller model şemasından oluşturulur. Değerleri değiştirdikçe kod ve fiyat güncellenir.

Düz dilde isteğe bağlı kesme talimatları: 'only the chair' seçimi daraltır, 'without the lamp' içeriği kaldırır ve 'the person with the mat' korunacak içeriği ekler.

•gerekli image_url
Dosyayı bırakın veya

İçeriğin silineceği kaynak görsel.

POST /run/bria/background/remove?wait=20 fiyat → $0,018
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/background/remove?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_os2qhh70dksuutdlc8yxctru/0-eDHA2VbZQilztL9CLLj56_hjNDn2TY.png"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Bu isteği çalıştır

Anahtarınız bu tarayıcıda kalır: yalnızca Doitong API'ye gönderilir ve yalnızca Hatırla seçeneğini işaretlerseniz localStorage'a kaydedilir. API anahtarı al

Bria RMBG 2.0 hakkında

Bria'nın arka plan kaldırma modeli, lisanslı verilerle ticari kullanım için eğitilmiştir ve saç, kürk ile ince ürün ayrıntılarının çevresinde yumuşak, doğru kenarlara sahip şeffaf bir kesit döndürür. Bir görsel girer, bir kesit çıkar; görsel başına sabit ücretlendirilir.

Parametreler

Kanonik adı veya yerel adı gönderin; ikisini birden göndermeyin. Kanonik adlar

AdTür Varsayılanİzin verilen Açıklama
image_urlgerekli image
Türurl · image
İçeriğin silineceği kaynak görsel.
promptisteğe bağlı
Türstring | null
Düz dilde isteğe bağlı kesme talimatları: 'only the chair' seçimi daraltır, 'without the lamp' içeriği kaldırır ve 'the person with the mat' korunacak içeriği ekler.
gerekli Kanonik ad, bu ad da kabul edilir

Dosya parametreleri herkese açık bir https:// URL'si, 10 MB'a kadar bir data: URI'si veya yüklenen bir dosyanın file_url değerini kabul eder. Dosyalar

Çıktı

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/background/remove",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 18,
    "usd": "0.018",
    "charged": 18,
    "refunded": 0
  },
  "input": {
    "image": "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    }
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dosyalarınız, seçiminizHer outputs[].url, depolamamızdaki bir kopyadır: sonsuza kadar (GB-ay başına ücretli) veya ücretsiz olarak 7 gün boyunca, hesap ayarınızla ya da ?storage= ile saklanır.
Her modelde aynı yapıGörüntüler, video ve ses için type, url, content_type, width, height ve duration aynıdır. output, modelin kendi sonuç nesnesidir.
Çıktı alanları
image
object {url, content_type, file_name, file_size, width, height}Üretimle oluşturulan görsel.

Daha fazla model: Arka Plan Kaldırma

AI aracıları için: bu sayfanın Markdown biçimi şurada: https://doitong.com/tr/developers/models/bria/background/remove.md. Tüm modeller ve kılavuzlar: https://doitong.com/developers/llms.txt