Bản lưu ngày / Snapshot of 2026-12-04 · Xem bản mới nhất / See the latest version
WanduraDocsBeta
BetaThese docs are in beta and change often. Something wrong, unclear or missing? Tell us.
Image and video API (v2)

BiRefNet V2 (image-edit)

Markdown
On this page

TL;DR: POST /v2/jobs with "model": "nankai/birefnet/2/image-edit". A new account pays from $0.0033 per image (list $0.004125 per image, −20%). One job makes one image.

Model

What Value
Name BiRefNet V2
Vendor nankai
Model id nankai/birefnet/2/image-edit
Task image-edit
Group B4: Edit image, background & removal
Output image
Priced per Image

Price

resolution List price Discount You pay
(any) $0.004125 per image −20% $0.0033 per image
  • One job costs its units × the price per unit: one image = $0.0033.
  • These are the prices a new account pays (its default discount). With your key, GET /v2/models/nankai/birefnet/2/image-edit shows your own: price is what a job is charged, list_price and discount are there when your org has a discount.
  • The price is held when the job is accepted and charged when it succeeds. A job that fails on Wandura's side is free. A job blocked by content safety, or with an input the model cannot use, is charged only what had already been spent on it, with no margin. Test keys (wdr_test_…) cost nothing.

Inputs

Field Required What to send
image_urls Yes Exactly 1 public https URL (images), in order.
preset No One of remove-background: a ready-made use of this model (a page of the Wandura app). With a preset the job takes that preset's fields (Presets). Same price per unit.

Send these fields at the top level of the body: no style and no inputs object. Every job also takes webhook_url, end_user_id, client_reference_id, lane and timeout_seconds / deadline_at (see Jobs API).

Presets

Send one of these as "preset" to use it, or leave it out to run the model with the fields above. With a preset, the job takes the fields of that preset instead.

Preset Its fields
remove-background image_urls: exactly 1

Limits

What Limit
Reference images Exactly 1
Outputs One image per job
Maximum job time 900 s from when the job starts. Past it the job ends timeout, free.

Example

curl -X POST https://api.wandura.ai/v2/jobs \
  -H "Authorization: Bearer $WANDURA_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: job-2026-001" \
  -d '{
    "model": "nankai/birefnet/2/image-edit",
    "image_urls": [
      "https://your-bucket.example.com/ref-1.jpg"
    ],
    "webhook_url": "https://your-backend.example.com/hooks/wandura",
    "end_user_id": "user_123"
  }'
# HTTP 202
# {"job_id":"run_…","status":"queued","model":"nankai/birefnet/2/image-edit","created_at":"…"}

The answer is 202 with a job_id. Get the result from GET /v2/jobs/{job_id} or your signed webhook, as for every job (see Jobs API). Every raw model: Raw models.

Updated 12 Nov 2026 · Change history (5)

↑↓ selectEnter openEsc close

Send feedback

Your message goes straight to the Wandura team. It includes the address of this page.

0 / 4000