GET
/v1/schemas/stability/image/v2beta/stable-image/edit/remove-background
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace561fddf42e5906d5548520c20ffb8883d4f7ed3e40f8229cdd54295136a0b7d6{
"fetchedAt": 1786770782,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
2 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image* | string | The image whose background you wish to remove. | format: binary |
| output_format | enum | Dictates the `content-type` of the generated image. | png | webp · default: "png" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"stability","endpointId":"v2beta/stable-image/edit/remove-background","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}