## Basic model info

Model name: cjwbw/rembg
Model description: Remove images background


## Model inputs

- image (optional): Input image (string)


## Model output schema

{
  "type": "string",
  "title": "Output",
  "format": "uri"
}

If the input or output schema includes a format of URI, it is referring to a file.


## Example inputs and outputs

Use these example outputs to better understand the types of inputs the model accepts, and the types of outputs the model returns:

### Example (https://replicate.com/p/g6t5gk75n5dzdbroexxahqgs3a)

#### Input

```json
{
  "image": "https://replicate.delivery/pbxt/Ho28olmw8dnOffOz7yjuPK6UGsOPqFUfpCnq1ur8zaAKxiPH/animal-1.jpeg"
}
```

#### Output

```json
"https://replicate.delivery/pbxt/2hczaMwD9xrsIR8h3Cl8iYGbHaCdFhIOMZ0LfoYfHlKuuIBQA/out.png"
```


### Example (https://replicate.com/p/simzbeoktbfc3faehoot4ikxii)

#### Input

```json
{
  "image": "https://replicate.delivery/pbxt/Ho2DCxhF0FUFCCbW1xEdrgTQfIrbX4769tifxUdXpZET2f0y/girl-2.jpeg"
}
```

#### Output

```json
"https://replicate.delivery/pbxt/6Zj9HOeXpgyteE29mbF2zkehIsqenvZV1qffQguaO2sWkMSAE/out.png"
```


## Model readme

> # Rembg
> 
> Rembg is a tool to remove images background. That is it.
> 
> <p style="display: flex;align-items: center;justify-content: center;">
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-1.jpg"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-1.out.png" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-2.jpg" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-2.out.png"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-3.jpg" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/car-3.out.png" />
> </p>
> 
> <p style="display: flex;align-items: center;justify-content: center;">
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-1.jpg"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-1.out.png"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-2.jpg" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-2.out.png"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-3.jpg"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/animal-3.out.png"  />
> </p>
> 
> <p style="display: flex;align-items: center;justify-content: center;">
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-1.jpg"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-1.out.png"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-2.jpg" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-2.out.png"  />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-3.jpg" />
>   <img src="https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-3.out.png" />
> </p>
> 
> 
> 
> 
> ### License
> 
> Copyright (c) 2020-present [Daniel Gatis](https://github.com/danielgatis)
> 
> Licensed under [MIT License](./LICENSE.txt)

