# RMBG

## Try it in the Widget Center

Click this [url](https://app.myshell.ai/robot-workshop/widget/1781992261456158720) to try this widget and copy the Pro Config template.

## Usage

Remove the background of the given image

**Input Parameters**

<table><thead><tr><th>Name</th><th>Type</th><th width="149">Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>image</td><td><code>string</code></td><td>HTTP URL. Input image for RMBG. We will earse the background from the image. We hope this is an image with both foreground and background.</td><td><a href="https://hips.hearstapps.com/goodhousekeeping/assets/16/15/neapolitan-mastiff.jpg">default_url</a></td><td>true</td></tr></tbody></table>

**Output Parameters**

| Name | Type     | Description                                                                                                              | File Type |
| ---- | -------- | ------------------------------------------------------------------------------------------------------------------------ | --------- |
| url  | `string` | The image that was generated has been saved as an online URL. This link is temporary, so please save it for your own use | `image`   |

**Output Example**

{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}

```json
{
  "url": "https://image.myshell.ai/image/chat/embed_obj/38145/20240423/147c7f35f67049f4b849cc93d7a968ff.png"
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Detailed Guidelines
