Bản lưu ngày / Snapshot of 2026-11-17 · 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.
Change history

History: Background Change (image-edit)

Every change to this page, newest first. Expand an entry to see what changed.

← Background Change (image-edit)

  1. 12 Nov 2026 · +2 −2 lines
    Show changes
    ⋯
      | Field | Required | What to send |
      |---|---|---|
    - | `prompt` | No | Text, sent to the model word for word. Up to 4000 characters. |
    + | `prompt` | No | Text, sent to the model word for word. Up to 50000 characters. |
      | `image_urls` | Yes | Exactly 1 public https URL (images), in order. |
      | `preset` | Yes | Required: one of `background`. This model has no run of its own: each preset writes its own instructions for the model, so a job without `preset` is refused with `422 INVALID_INPUT`. Same price per unit. |
    ⋯
      |---|---|
      | Reference images | Exactly 1 |
    - | Text | Up to 4000 characters |
    + | Text | Up to 50000 characters |
      | Outputs | One image per job |
      | Maximum job time | 900 s from when the job starts. Past it the job ends `timeout`, free. |
    ⋯
  2. 3 Nov 2026 · +12 −4 lines
    Show changes
      # Background Change (image-edit)
      
    - > **Rolling out:** raw models are built but not switched on yet on api.wandura.ai. Until they are, `POST /v2/jobs` refuses this id with `422 INVALID_INPUT` and `GET /v2/models` does not list it. The prices below come from the catalog of 2026-11-02 and may change before launch.
    - 
    - **TL;DR**: `POST /v2/jobs` with `"model": "wandura/bg-change/standard/image-edit"`. A new account pays from **$0.044 per image** (list $0.055 per image, −20%). One job makes one image.
    + **TL;DR**: `POST /v2/jobs` with `"model": "wandura/bg-change/standard/image-edit"` and one of its [presets](#presets) as `"preset"` (required). A new account pays from **$0.044 per image** (list $0.055 per image, −20%). One job makes one image.
      
      ## Model {#model}
    ⋯
      | Model id | `wandura/bg-change/standard/image-edit` |
      | Task | image-edit |
    + | Group | `B4`: Edit image, background & removal |
      | Output | image |
      | Priced per | Image |
    ⋯
      | `prompt` | No | Text, sent to the model word for word. Up to 4000 characters. |
      | `image_urls` | Yes | Exactly 1 public https URL (images), in order. |
    - | `preset` | No | One of `background`: a ready-made use of this model (a page of the Wandura app). It takes its own fields: `GET /v2/models/{id}` → `presets`. Same price. |
    + | `preset` | Yes | Required: one of `background`. This model has no run of its own: each preset writes its own instructions for the model, so a job without `preset` is refused with `422 INVALID_INPUT`. 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](../../../../jobs.md)).
      
    + ## Presets {#presets}
    + 
    + Send one of these as `"preset"`. The job then takes the fields of that preset.
    + 
    + | Preset | Its fields |
    + |---|---|
    + | `background` | `prompt` (optional); `image_urls`: exactly 1 |
    + 
      ## Limits {#limits}
      
    ⋯
        -d '{
          "model": "wandura/bg-change/standard/image-edit",
    +     "preset": "background",
          "prompt": "A ceramic coffee mug on a wooden table, soft morning light.",
          "image_urls": [
    ⋯
  3. 2 Nov 2026 · +8 −7 lines
    Show changes
    - # Background Change (background-changer)
    + # Background Change (image-edit)
      
      > **Rolling out:** raw models are built but not switched on yet on api.wandura.ai. Until they are, `POST /v2/jobs` refuses this id with `422 INVALID_INPUT` and `GET /v2/models` does not list it. The prices below come from the catalog of 2026-11-02 and may change before launch.
      
    - **TL;DR**: `POST /v2/jobs` with `"model": "wandura/bg-change/standard/background-changer"`. A new account pays from **$0.044 per image** (list $0.055 per image, −20%). One job makes one image.
    + **TL;DR**: `POST /v2/jobs` with `"model": "wandura/bg-change/standard/image-edit"`. A new account pays from **$0.044 per image** (list $0.055 per image, −20%). One job makes one image.
      
      ## Model {#model}
    ⋯
      | Name | Background Change |
      | Vendor | wandura |
    - | Model id | `wandura/bg-change/standard/background-changer` |
    - | Task | background-changer |
    + | Model id | `wandura/bg-change/standard/image-edit` |
    + | Task | image-edit |
      | Output | image |
      | Priced per | Image |
    ⋯
      
      - One job costs its units × the price per unit: one image = $0.044.
    - - These are the prices a new account pays (its default discount). With your key, `GET /v2/models/wandura/bg-change/standard/background-changer` shows your own: `price` is what a job is charged, `list_price` and `discount` are there when your org has a discount.
    + - These are the prices a new account pays (its default discount). With your key, `GET /v2/models/wandura/bg-change/standard/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.
      
    ⋯
      | `prompt` | No | Text, sent to the model word for word. Up to 4000 characters. |
      | `image_urls` | Yes | Exactly 1 public https URL (images), in order. |
    + | `preset` | No | One of `background`: a ready-made use of this model (a page of the Wandura app). It takes its own fields: `GET /v2/models/{id}` → `presets`. Same price. |
      
      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](../../../../jobs.md)).
    ⋯
        -H "Idempotency-Key: job-2026-001" \
        -d '{
    -     "model": "wandura/bg-change/standard/background-changer",
    +     "model": "wandura/bg-change/standard/image-edit",
          "prompt": "A ceramic coffee mug on a wooden table, soft morning light.",
          "image_urls": [
    ⋯
        }'
      # HTTP 202
    - # {"job_id":"run_…","status":"queued","model":"wandura/bg-change/standard/background-changer","created_at":"…"}
    + # {"job_id":"run_…","status":"queued","model":"wandura/bg-change/standard/image-edit","created_at":"…"}
      ```
      
    ⋯
  4. 2 Nov 2026 · +17 −20 lines
    Show changes
    - # Nano Banana 2 (text-to-image)
    + # Background Change (background-changer)
      
      > **Rolling out:** raw models are built but not switched on yet on api.wandura.ai. Until they are, `POST /v2/jobs` refuses this id with `422 INVALID_INPUT` and `GET /v2/models` does not list it. The prices below come from the catalog of 2026-11-02 and may change before launch.
      
    - **TL;DR**: `POST /v2/jobs` with `"model": "google/nano-banana/2/text-to-image"`. A new account pays from **$0.088 per image** (list $0.11 per image, −20%). One job makes one image.
    + **TL;DR**: `POST /v2/jobs` with `"model": "wandura/bg-change/standard/background-changer"`. A new account pays from **$0.044 per image** (list $0.055 per image, −20%). One job makes one image.
      
      ## Model {#model}
    ⋯
      | What | Value |
      |---|---|
    - | Name | Nano Banana 2 |
    - | Vendor | google |
    - | Model id | `google/nano-banana/2/text-to-image` |
    - | Task | text-to-image |
    + | Name | Background Change |
    + | Vendor | wandura |
    + | Model id | `wandura/bg-change/standard/background-changer` |
    + | Task | background-changer |
      | Output | image |
      | Priced per | Image |
    ⋯
      | `resolution` | List price | Discount | You pay |
      |---|---|---|---|
    - | `1K` | $0.11 per image | −20% | $0.088 per image |
    - | `2K` | $0.165 per image | −20% | $0.132 per image |
    - | `4K` | $0.165 per image | −20% | $0.132 per image |
    + | (any) | $0.055 per image | −20% | $0.044 per image |
      
    - - One job costs its units × the price per unit: one image at `1K` = $0.088.
    - - These are the prices a new account pays (its default discount). With your key, `GET /v2/models/google/nano-banana/2/text-to-image` shows your own: `price` is what a job is charged, `list_price` and `discount` are there when your org has a discount.
    + - One job costs its units × the price per unit: one image = $0.044.
    + - These are the prices a new account pays (its default discount). With your key, `GET /v2/models/wandura/bg-change/standard/background-changer` 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.
      
    ⋯
      | Field | Required | What to send |
      |---|---|---|
    - | `prompt` | Yes | Text, sent to the model word for word. Up to 4000 characters. |
    - | `resolution` | No | `1K`, `2K` or `4K`. Default `1K`. |
    - | `aspect_ratio` | No | `1:1`, `16:9`, `9:16`, `4:3` or `3:4`. Default `1:1`. |
    + | `prompt` | No | Text, sent to the model word for word. Up to 4000 characters. |
    + | `image_urls` | Yes | Exactly 1 public https URL (images), in order. |
      
      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](../../../../jobs.md)).
    ⋯
      | What | Limit |
      |---|---|
    - | Resolutions | `1K`, `2K`, `4K` |
    - | Aspect ratios | `1:1`, `16:9`, `9:16`, `4:3`, `3:4` |
    + | Reference images | Exactly 1 |
      | Text | Up to 4000 characters |
      | Outputs | One image per job |
    ⋯
        -H "Idempotency-Key: job-2026-001" \
        -d '{
    -     "model": "google/nano-banana/2/text-to-image",
    +     "model": "wandura/bg-change/standard/background-changer",
          "prompt": "A ceramic coffee mug on a wooden table, soft morning light.",
    -     "resolution": "1K",
    -     "aspect_ratio": "1:1",
    +     "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":"google/nano-banana/2/text-to-image","created_at":"…"}
    + # {"job_id":"run_…","status":"queued","model":"wandura/bg-change/standard/background-changer","created_at":"…"}
      ```
      
    ⋯
  5. 2 Nov 2026 · Page created
↑↓ selectEnter openEsc close

Send feedback

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

0 / 4000