உள்ளடக்கத்திற்குச் செல்க

Bria Guided Remove Background

ஒருங்கிணை

மாடல் id bria/guided-remove-background
# 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/guided-remove-background?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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.03 30 API கிரெடிட்கள் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Bria AI பின்னணி அகற்றம் #background-removal#guided-segmentation#prompt-based-cutout#alpha-matte

கட்-அவுட்டில் பொருட்களைச் சேர்க்கும், அகற்றும் அல்லது தனிமைப்படுத்தும் ப்ராம்ப்ட்டால் வழிநடத்தப்படும் பின்னணி அகற்றல்

Bria AI · படம்

உங்கள் முதல் முடிவு இங்கே வரும்

கீழே ஒரு கோரிக்கையை உருவாக்கி, உங்கள் API விசையுடன் இயக்குங்கள். வெளியீடுகள் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்பட்டு, நிரந்தரமாக அல்லது இலவசமாக 7 நாட்கள் வைக்கப்படும்.

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

இயல்புநிலை cutout-க்கான விருப்பமான இயல்புமொழி மாற்றம்: 'the person with the mat and the plant' மூலம் தேர்வை விரிவுபடுத்தவும், 'the woman at her desk without the lamp' மூலம் பொருட்களை விலக்கவும், அல்லது 'only the chair' மூலம் கட்டுப்படுத்தவும். காலியான மதிப்பு மாற்றமின்றி படத்தின் தெளிவான பாடத்தைத் தேர்ந்தெடுக்கும். தக்கவைக்கப்பட்ட பிக்சல்கள் மாற்றமின்றி இருக்கும்; புதிய alpha channel மட்டுமே சேர்க்கப்படும்.

மேம்பட்டவை image · autocrop
image_url இயல்புநிலை https://labs-assets.b...
கோப்பை விடுங்கள் அல்லது

பொது URL, raw base64-encoded பட bytes அல்லது data:image/png;base64,... போன்ற base64 data URI மூலம் வழங்கப்படும் மூலப் படம்.

POST /run/bria/guided-remove-background?wait=20 விலை → $0.03
# 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/guided-remove-background?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

Bria Guided Remove Background பற்றி

`image_url`-இல் உள்ள முக்கிய பொருளின் இயல்புநிலை கட்அவுட்டிலிருந்து தொடங்கி, விருப்பமான எளிய மொழி `prompt` மூலம் அதைச் சரிசெய்கிறது; உதாரணமாக, கூடுதல் பொருளை வைத்திருப்பது அல்லது ஒன்றை மட்டும் தனிமைப்படுத்துவது. அசல் பிக்சல்கள் பாதுகாக்கப்பட்டு, ஆல்பா சேனல் சேர்க்கப்படுகிறது; முடிவு RGBA PNG ஆக வழங்கப்படும். `autocrop` வைத்திருக்கும் உள்ளடக்கத்துக்கு ஏற்ப கேன்வாஸை இறுக்கமாக்குகிறது.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
image_urlவிருப்பத்தேர்வு image
வகைurl · image
இயல்புநிலைhttps://labs-assets.bria.ai/api-examples/guided-remove-background/yoga_studio_input.jpg
பொது URL, raw base64-encoded பட bytes அல்லது data:image/png;base64,... போன்ற base64 data URI மூலம் வழங்கப்படும் மூலப் படம்.
promptவிருப்பத்தேர்வு
வகைstring | null
இயல்புநிலை cutout-க்கான விருப்பமான இயல்புமொழி மாற்றம்: 'the person with the mat and the plant' மூலம் தேர்வை விரிவுபடுத்தவும், 'the woman at her desk without the lamp' மூலம் பொருட்களை விலக்கவும், அல்லது 'only the chair' மூலம் கட்டுப்படுத்தவும். காலியான மதிப்பு மாற்றமின்றி படத்தின் தெளிவான பாடத்தைத் தேர்ந்தெடுக்கும். தக்கவைக்கப்பட்ட பிக்சல்கள் மாற்றமின்றி இருக்கும்; புதிய alpha channel மட்டுமே சேர்க்கப்படும்.
autocropவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைfalse
தக்கவைக்கப்பட்ட உள்ளடக்கத்தைச் சுற்றி வெளியீட்டு கேன்வாஸை இறுக்கமாகக் கத்தரிக்கவும்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/guided-remove-background",
  "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": 30,
    "usd": "0.03",
    "charged": 30,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
image
object {url, content_type, file_name, file_size, width, height}புதிய alpha channel உடன் மூலப் புகைப்படத்தைத் தக்கவைக்கும் RGBA PNG; இந்த alpha channel தெளிவாகத் தெரியும் முதன்மைப் பாடத்தைத் தேர்ந்தெடுத்து, ப்ராம்ப்ட்டின்படி செம்மைப்படுத்துகிறது.

மேலும் மாதிரிகள்: பின்னணி அகற்றம்

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/bria/guided-remove-background.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt