ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Bria RMBG 2.0

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id 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"

ਇਹ ਬੇਨਤੀ: $0.018 18 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Bria AI ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣਾ #cutout#ecommerce#transparent

ਉਤਪਾਦਾਂ ਅਤੇ ਲੋਕਾਂ ਲਈ ਸਾਫ਼, ਵਪਾਰਕ ਵਰਤੋਂ ਲਈ ਸੁਰੱਖਿਅਤ ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣਾ।

ਉਦਾਹਰਨਾਂ

ਇਨਪੁੱਟ
ਆਉਟਪੁੱਟ · ~10 s
$0.018 · 18 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

ਸਧਾਰਣ ਭਾਸ਼ਾ ਵਿੱਚ ਵਿਕਲਪਿਕ ਕਟਆਉਟ ਹਦਾਇਤਾਂ: 'only the chair' ਚੋਣ ਨੂੰ ਸੀਮਿਤ ਕਰਦਾ ਹੈ, 'without the lamp' ਸਮੱਗਰੀ ਹਟਾਉਂਦਾ ਹੈ, ਅਤੇ 'the person with the mat' ਰੱਖਣ ਲਈ ਸਮੱਗਰੀ ਜੋੜਦਾ ਹੈ।

•ਲੋੜੀਂਦਾ image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਉਹ ਸਰੋਤ ਚਿੱਤਰ ਜਿਸ ਵਿੱਚੋਂ ਸਮੱਗਰੀ ਮਿਟਾਈ ਜਾਵੇਗੀ।

POST /run/bria/background/remove?wait=20 ਕੋਟ → $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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Bria RMBG 2.0 ਬਾਰੇ

Bria ਦਾ ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣ ਵਾਲਾ ਮਾਡਲ ਵਾਲਾਂ, ਫਰ ਅਤੇ ਉਤਪਾਦ ਦੇ ਬਾਰੀਕ ਵੇਰਵਿਆਂ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਨਰਮ, ਸਹੀ ਕਿਨਾਰਿਆਂ ਵਾਲਾ ਪਾਰਦਰਸ਼ੀ ਕੱਟਆਉਟ ਵਾਪਸ ਕਰਦਾ ਹੈ। ਇਹ ਵਪਾਰਕ ਵਰਤੋਂ ਲਈ ਲਾਇਸੰਸਸ਼ੁਦਾ ਡੇਟਾ 'ਤੇ ਸਿਖਲਾਈ ਪ੍ਰਾਪਤ ਹੈ। ਇੱਕ ਚਿੱਤਰ ਅੰਦਰ, ਇੱਕ ਕੱਟਆਉਟ ਬਾਹਰ, ਪ੍ਰਤੀ ਚਿੱਤਰ ਨਿਰਧਾਰਤ ਕੀਮਤ 'ਤੇ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਉਹ ਸਰੋਤ ਚਿੱਤਰ ਜਿਸ ਵਿੱਚੋਂ ਸਮੱਗਰੀ ਮਿਟਾਈ ਜਾਵੇਗੀ।
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਸਧਾਰਣ ਭਾਸ਼ਾ ਵਿੱਚ ਵਿਕਲਪਿਕ ਕਟਆਉਟ ਹਦਾਇਤਾਂ: 'only the chair' ਚੋਣ ਨੂੰ ਸੀਮਿਤ ਕਰਦਾ ਹੈ, 'without the lamp' ਸਮੱਗਰੀ ਹਟਾਉਂਦਾ ਹੈ, ਅਤੇ 'the person with the mat' ਰੱਖਣ ਲਈ ਸਮੱਗਰੀ ਜੋੜਦਾ ਹੈ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
image
object {url, content_type, file_name, file_size, width, height}ਸਿਰਜਣਾ ਰਾਹੀਂ ਤਿਆਰ ਕੀਤਾ ਚਿੱਤਰ।

ਹੋਰ ਮਾਡਲ: ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣਾ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/bria/background/remove.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt